Selecting stimuli without replacement over multiple blocks

As a rule of thumb in computer programming (and under the hood, that is what you are doing): the moment you start duplicating things, you know you’re on the wrong path.

You only need one loop here and one stimulus and question routine. After them, insert a third routine in that loop called “break”. In that routine, insert a code component. On the “begin routine” tab of that code component, put something like this:

# only run this routine on every 12th trial from the 12th onwards:
# (counting from 0):
if trials.thisN not in [11, 23, 35, 47]:
    continueRoutine = False 

Put some component (e.g. a text component saying “Pause” or something) set to last for two minutes to actually implement the break period.

1 Like