Repeat loop if less than 75% correct

I want to repeat LuoGood_Loop if the respondent doesn't get over 75%acc until they get over 75%acc, and then I want to do the same thing for LuoBad_Loop.
Is there some way to add a repeat_cycle?

I want to repeat LuoGood_Loop if the respondent doesn't get over 75%acc until they get over 75%acc, and then I want to do the same thing for LuoBad_Loop.
Is there some way to add a repeat_cycle?
Comments
Hi,
The best way to achieve this is by setting the repeat value very high, so that the loop is de facto infinite. And then you can use the following break-if statement:
You'll probably also want to disable 'Evaluate on first cycle', so that at least one cycle is executed.
This will break the loop as soon as the participant reaches more than 75% accuracy. If you also want to specify a minimum number of cycles, then you can make use of the
live_rowvariable, which indicates the current row from the loop table. For example:Does that clear things up?
See also:
Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
I am still confused. I want the cycle to repeat 1.5 times randomly anyways. Then if out of those 1.5 times if there is less than 75% accuracy, I want it to repeat the whole loop over again.
Right, I see. In that case, you can add another
loop+sequenceabove theloopthat you want to repeat. Here I've called these repeat_loop and repeat_sequence. Their only function is to repeat the inner loop (block_loop), using arepeat_cycleitem, until accuracy is 75% or higher.Does that make sense? I've attached a simple demonstration experiment.
Check out SigmundAI.eu for our OpenSesame AI assistant!