| Reference | Downloads | Github

NaN instead of a total score count on Pavlovia

URL of experiment: Sign in · GitLab

Description of the problem:

Hi everyone! I am moving an experiment that works fine locally (on psychopy, builder mode with custom code for feedback) onto pavlovia. The experiment is a go/no-go task where the participants are presented with stimuli and have to either respond (by pressing space) or not to win or lose points. The points are updated and flash on the screen on a trial-by-trial basis, followed by a page showing a running count of their total score so far. The page with the total score works fine on Psychopy, but on Pavlovia shows up as NaN (not a number). Does anyone have any suggestions on how to fix this? I have included screenshots of my custom code if that helps.

Thanks very much,

These are the errors on the console after the experiment runs through. Thanks!