nReps not working in Staircase - Endless loop when run/pilot

OS: macOS Sonoma 14.5
PsychoPy version: PsychoPy v2024.1.5
Standard Standalone?: Yes
What are you trying to achieve?: We are trying just to make a simple staircase. It worked perfectly in two separate experiments (changing size in a Visual Acuity and changing tilt in a Subjective Visual Vertical). Now, immediately after re-opening the files check everything, neither staircase will terminate and instead is stuck in an endless loop.

What did you try to make it work?:
We have tried the following:

  1. Restart development from scratch.

  2. Changing the nReps value several times (to numbers 5 through 10 instead of 25).

  3. Looking at Coder (we think the code looks normal, but we are not well-versed in Python and could be wrong)

I would like to note that the staircase in all of these troubleshooting things we have tried still is endless, even when we started from scratch on an entirely blank file. Each troubleshooting task has been done by myself (the computer described above) and my mentor (on a Macbook so I believe the same OS and it is definitely the same PsychoPy version) on our separate computers, so it is not isolated to my computer. No error messages pop up, we are just perpetually in our trials.

Any help or guidance from anyone who may know how to possbily fix this would be greatly appreciated. Thanks!

I’d like to chime in that I’m having the same issue. I first tried interleaved staircase option with multiple Quest staircases and it would only pick the first staircase. So I then tried a single quest staircase and the loop just goes on endlessly, even when I’ve specified only 10 trials.

I think something is wrong with the loop implementation online. I do not have this issue when I run it locally. In the javascript I can see “nTrials: 10.0” for the MultiStairHandler.

I think I have to start from scratch. Can I ask you if you whether you are also using a Quest staircase, or is this also happening for Loop type: Staircase?

I’m trying to figure out whether or not just to abandon working on Pavlovia and return to jsPsych, where at least I have control over the staircase handler.

A quick update, I moved the ntrials down to 3 and it exited properly. Trying to see if I can come up with a reproducible and simplified example to assist development.