interrupt after 5 consecutive incorrect responses
Hi, I want my experiment to interrupt after 5 consecutive incorrect responses.
Is there an easy way to implement this?
Hi, I want my experiment to interrupt after 5 consecutive incorrect responses.
Is there an easy way to implement this?
Comments
I think so, one of the variables that opensesame logs normally is "counts" -- I normally don't have incorrect responses so I don't know the exact variable but I would assume that it counts the incorrect responses and what you would need to implement somehow is to say if count_incorrect = 5 --> quit.
Easiest way to find the variable you're looking for is to run a quick experiment and then check the logger
Eva is right. To make it a little concrete, you can put an inline_script in your block sequence and put the following code in its run phase:
This part of the documentation might also help: http://osdoc.cogsci.nl/3.1/manual/python/responses/
Hope this helps,
Eduard
Thanks for the suggestion! I'll work on it and let you know.