Reply To: Presentation order after randomization

PennController for IBEX Forums Support Presentation order after randomization Reply To: Presentation order after randomization

#6028
Jeremy
Keymaster

Hi August,

You cannot really keep track of the post-randomization order in your script (at least not with some advanced coding). However the lines in your results file will appear in the order in which the events and the trials were run. Moreover, comparing the timestamps reported for the trials’ _Start_ events will also tell you in which order they were run.

If you want to add the running order information more directly to your results file, you can add this to your script:

Header(
  // ... code to be run before every single trial
  newVar("runningOrder", 0).global().set( v=>v+1 )
)
.log( "runningOrder" , getVar("runningOrder") )

Every line in your results file will then report a number that should increment with each new trial

Let me know if you need more in-depth access to the running order in your script

Jeremy