Experiment Development Tips
CSV Viewer
Download the VSCode extension Excel Viewer to be able open your CSV result files in a more legible table format.
Once installed, you can right click a CSV file, choose Open With > CSV Editor
After installing the plugin, open your settings and search for csv-preview.capitalizeHeaders
and disable the setting Csv-preview: Capitalize Headers.
Comment out trials you’re not actively testing
Imagine you've completed the code for Tasks 1 and 2 in your experiment, and now you’re focussing on the IAT or EST task. Every time you go to test your IAT/EST, you’ll have to run through the welcome screen followed by Task 1 and Task 2 just to get to the IAT/EST portion of the experiment.
To expedite the development process, you can temporarily comment out trials you are not actively working on. E.g.:
// [code here for welcome trial]
// timeline.push(welcomeTrial);
// code here for task1
// timeline.push(task1);
// code here for task 2
// timeline.push(task2);
Now, when you run your experiment, you’ll start at the IAT or EST. (Just don’t forget to uncomment those trials when you’re done!)