Skip to content
Lina128 edited this page Jan 6, 2017 · 19 revisions

Trial is the basic unit in an experiment. The basic information of a trial is stored as an element in Store's structure array. The more detailed information of a trial is stored as an element in Store's entities array.

The following table summarizes the basic information of a trial.

Variable Type Description
id Number id is an increasing unique index that represents the trial.
level String level is always 'trial'.
selected Boolean selected stores whether the trial is currently selected, default value is false.
condition Array condition stores the hex codes of the conditions that the trial belongs to, e.g. '#ffffff'.

The following table summarizes the more detailed information of a trial.

Variable Type Description
id Number id is an increasing unique index that represents the trial.
type String each module has a type, e.g. text, image, iat, etc.
setting JS Object each module has its own setting.
Clone this wiki locally