Reply To: Partial randomization of trial sequence

PennController for IBEX Forums Support Partial randomization of trial sequence Reply To: Partial randomization of trial sequence

#5140
asdf
Participant

Hi,

I’ve added a .js file named as “PartialRandom.js” to controllers folder, and also modified the Sequence command to:
Sequence("intro", subsequence( repeat(randomize("a_trials"),2) ,randomize("b_trials") ), "exit")
The “a_trials” and “b_trials” are implemented using Templates separately.

However, when I test the experiment, an error message will pop up: You must define the ‘items’ variable.

Is it because I need to refer to the .js file that I’ve added to the controller fold somewhere in my code?