What are you trying to achieve?:
I am running a two-alternative forced choice task where participants make judgements about a set of images. It begins with practice task of 8 stimuli, where participants need to answer 100% correctly twice around (i.e., 16 total trials), to continue to the main task. If they respond incorrectly to one or more of the 16 trials, all practice trials are repeated until all are answered correctly.
What did you try to make it work?:
I created an outer loop (with the routine loop nested within it) that repeats the practice trials if less than 100% of them were answered correctly within the first round, as per these instructions: Repeat trial if answers are incorrect
What specifically went wrong when you tried that?:
This worked well. I would now like to make it so that there are no consecutive stimulus repeats. I believe the consecutive repetition is only possible if the last stimulus in the first round of 8 happens to be the same as the first stimulus in the second round of 8. Or if the stimulus on the first 16 practice trials (that the participant did not get completely correct) matched the first stimulus on the second sixteen trials.
I hope this makes sense! And I really appreciate the assistance offered by this forum.