Repeat trial in QUEST staircase if no response

Hello everyone.
I am trying to run a QUEST staircase implemented within the builder in Pavlovia. It works, but there is still an outstanding issue: the QUEST staircase always considers an incorrect response any response that is not the indicated as “correct answer” as well as any missed response. This leads to stimulus intensity to increase, even when people do not respond. What I want to do instead is forcing the staircase to repeat the same trial that is missed by the participant - ie present the stimulus at the same intensity level as in the missed trial a second time. Has anyone managed to achieve this within a QUEST staircase?
This is particularly challenging to do online considering that we need to indicate maxTrials == N to avoid the staircase going on forever, and it always ends once it has reached that number (which is a problem if one wants to repeat the missed trials). Has anyone attempted to do the same or found a solution around this issue?
Many thanks to anyone who can help with this!

I would probably add a counter that only ticks up when a response (correct or incorrect or whatever you choose). Then link the intensity increase to that variable.

If it is a 2AFC task you could do something like:

counter = 0
if part_ans == "L" or "R":
             #correct_resp or incorrect_resp
     counter += 1

Hopefully this gives you some ideas on where to go?

Issac

Hello @gjd8009

shouldn’t it be?

Best wishes Jens

Yea your if statement with or is correct. I was just working on some excel at the time at had that logic in my head.
Issac