I’m reaching out to share and seek advice on some significant issues we’ve encountered regarding data storage on GitLab servers for our Pavlovia jsPsych experiments. Despite having the “Save incomplete results” feature turned off, we are noticing discrepancies in data storage across several experiments. I’m detailing the issues below in hopes of gaining insights or solutions from the community.
Experiment: Int_study1
Pavlovia Data: 40 sessions; Coins - Assigned: 63, Reserved: 11 (fluctuating), Consumed: 1; Various states of completion.
GitLab: Only the repository with 2 regularly stored data sets by participants.
Has anyone else experienced similar issues? Any insights into why these discrepancies are occurring or how to resolve them would be greatly appreciated.
Additionally, if there is a way to recover the missing data or ensure more consistent data storage, please share your advice or suggestions.
Response to Suggestions and Insights on Pavlovia jsPsych Experiment Issues
Thank you for your valuable input on the challenges we’ve been facing with our Pavlovia jsPsych experiments. After careful review of the points you mentioned, here are the updates and considerations based on our current setup:
Use of jsPsych-pavlovia Plugin
Status: Implemented
Details: We are utilizing the jsPsych-pavlovia plugin, specifically lib/jspsych-7-pavlovia-2022.1.1.js, which is compatible with our jsPsych version (7.1.2).
Data Saving Method (CSV or Database)
Status: Implemented
Details: We use CSV only.
Variable Definitions
Status: Checked and Confirmed
Details: Our code does not suffer from the issue of redefining the variable var timeline = []. It appears to be defined correctly without duplication.
The only variable which is defined multiple times is the local variable curr_progress_bar_value to update the progress bar.
on_finish: function () {
var curr_progress_bar_value = jsPsych.getProgressBarCompleted();
jsPsych.setProgressBar(curr_progress_bar_value + update);
},
Could this still cause the problem? This is the way how the update of the progress bar by the jsPsych community.
Placement of pavlovia_init and pavlovia_finish
Status: Correctly Implemented
Details: The pavlovia_init command is correctly placed at the start of our timeline, and pavlovia_finish is at the end, adhering to the recommended practices.
Interruption During Data Saving
Status: No Interruption
Details: Our experiment’s code does not include operations that could interrupt the data saving process, such as triggering another experiment.
Any additional advice or insights from the community would be greatly appreciated.