psychopy.org | Reference | Downloads | Github

How to repeat incorrectly answered trials only after all trials have been completed within block of trials

OS (e.g. Win10): macOS catalina
PsychoPy version (e.g. 1.84.x): 1.85.2

What are you trying to achieve?:

Hello, I am building an IAT experiment and I would like participants to repeat all incorrectly answered trials only after they have completed every trial within that specific block.

What did you try to make it work?:

I have a nested loop structure - outer loop for blocks and inner loop for trials.

I tried following the steps in other topics but none have worked for me thus far. I thought maybe I could adapt the following code to my needs but Iā€™m not quite sure how to go about it?

    trial_loop.finished = False
else:
    trial_loop.finished = True 

I would gladly appreciate some advice. Thanks!

@te19135
Hi, I think, in order to be of any help, more information on what you are working with is needed.

What do your trials look like, do you use an excel file in the inner loop, how is it structured?
Is the block finished after ā€˜nā€™ trials or do you have a timer?
Do you already use code to keep track of or create a list of the incorrectly answered trials, so you can recall them?

Let me know! Cheers! :slight_smile:

1 Like