Description of the problem:
Hi, thanks for making Pavlovia so awesome! We’re having issues with data being saved of our study. We have had two participants complete the study through Prolific. However, data does not seem to be saved to the GitLab “data/” folder as usual. Oddly, credits are also not being decremented. Yet, participants are still able to use the link. Do you have any tips or insights on why this is happening? Thanks!
How are you ending your experiment? How does your final routine end? I know that some people ask their participants to press escape on the final routine, which will stop the experiment ending and data being saved.
Thanks! Unfortunately the code doesn’t seem to be the impact factor, I think. I’ve used the same code for other projects where I’ve had no issues with data saving. Even if I just click on the link, no credit usage is triggered (in contrast to other projects, where credits are used - and data saved - any time I click on the link). Reading some other forum posts over the past day seems to suggest this problem is somewhat general at the moment? Thanks for any other tips!
Thank you @Becca ! I have tried changing the visibilty but can’t seem to switch it to public? I’ve disabled many of the access restrictions so hopefully that may help. I’ve also added you directly to the GitLab for the project. Thanks for any tips!
OK, this looks like the problem is that var timeline =  is defined twice, and the second time is after the initialisation of pavlovia_init, which means that pavlovia_init is cleared from your timeline before the task.
To fix the problem I removed the second initialisation of var timeline =  on line 36 of your code.