PennController for IBEX › Forums › Support › Randomizing Instruction+Task pairs › Reply To: Randomizing Instruction+Task pairs
December 14, 2023 at 12:16 pm
#10980
Jeremy
Keymaster
Hi,
This will accomplish what you want:
tasks = [ ["synonym_instruction", randomize("synonym")], ["string_match_instruction", randomize("string")], ["colour_match_instruction", randomize("colour")], ["size_match_instruction", randomize("size")] ] fisherYates(tasks) Sequence( // items before ...tasks.flat(), // items after )
Jeremy