Reply To: Comprehension question and rshuffle in self-paced reading

PennController for IBEX Forums Support Comprehension question and rshuffle in self-paced reading Reply To: Comprehension question and rshuffle in self-paced reading

#7532
Jeremy
Keymaster

Hi,

1. You could do newScale("answer", ...[row.Answer1,row.Answer2].sort(v=>0.5-Math.random())

2. You can reuse the exact same code in Sequence that you use in seq. If your question is about labeling your trials so they start by “Target_” or “Filler_” like they do when you manually list them in an array (following the native-Ibex syntax) the answer is simply pass the labels you want as the first argument of newTrial. If your two types of trials are listed in the same CSV table, it’s a good idea to include a column (named Type, for example) that reports the trial’s type, so you can do this:

Template("demo_data.csv", row =>
    newTrial( row.Type+"_trial" ,

Jeremy