Skip to content

Latest commit

 

History

History
124 lines (70 loc) · 2.5 KB

the_experiment_class.rst

File metadata and controls

124 lines (70 loc) · 2.5 KB

The Experiment Class

Experiments are designed in Dallinger by creating a custom subclass of the base Experiment class. The code for the Experiment class is in experiments.py. Unlike the other classes <classes>, each experiment involves only a single Experiment object and it is not stored as an entry in a corresponding table, rather each Experiment is a set of instructions that tell the server what to do with the database when the server receives requests from outside.

dallinger.experiment

Experiment

verbose

task

session

practice_repeats

experiment_repeats

recruiter

initial_recruitment_size

known_classes

public_properties

__init__

add_node_to_network

assignment_abandoned

assignment_reassigned

assignment_returned

attention_check

attention_check_failed

bonus

bonus_reason

collect

create_network

create_node

data_check

data_check_failed

events_for_replay

fail_participant

get_network_for_participant

info_get_request

info_post_request

is_complete

is_overrecruited

log

log_summary

make_uuid

networks

node_get_request

node_post_request

recruit

replay_event

replay_start

replay_finish

replay_started

run

save

setup

submission_successful

transformation_get_request

transformation_post_request

transmission_get_request

transmission_post_request

vector_get_request

vector_post_request