Organised Randomization of 4 photos

OK. So stick with the experimental routine as described but then create two additional routines to follow it: one for error feedback and the other for your ratings and so on. You can select which one will be executed on each trial by inserting a code component and in the Begin Routine tab, putting some code to not continue with the routine, depending on the decision made. You then also need to wrap all three routines in another loop (i.e. nested inside your main loop). This loop isn’t linked to a conditions file. Just give it a large number of repetitions. i.e. this just makes the trial repeat until the correct selection is made. In the begin routine tabs, put something like this:

# for the error feedback routine:
if image_chosen == CorrectAns:
    continueRoutine = False # don't give error feedback for a correct trial
# for the rating routine:
if image_chosen != CorrectAns:
    continueRoutine = False # don't do the rating
else: # will do the rating,
    your_inner_loop_name.finished = True # and end the cycle of repeating this trial