Description of the problem:
Whenever I try to run the experiment, I receive the error message
when converting an object to its numerical form
unable to convert undefined to a number
Try to run the experiment again. If the error persists, contact the experiment designer.
I’ve tried ensuring no variables anywhere are left undefined, paring back the experiment to its minimal components, everything I can think of to get it to work in some minimal version, but I still see the bug each time.
I think it might have something to do with the sliders? That being said, I’ve disabled collecting any data from them and I still see the bug.
For what it’s worth, the experiment works just fine in its Python version locally on my computer.
I’ve seen two previous versions of this issue here and here, but their problems don’t seem to apply here.
If the code sometimes works and sometimes doesn’t, it might be a blank row in your spreadsheet. Use the developer console in your browser to identify which line is giving the error.
I just had a look at your psyexp file and your screen_info code component appears to have JS code pasted into the Python side of an Auto code component instead of as a JS code component. it therefore won’t be showing up online.