But, in general it will be faster, less bug prone and easier to share with non-coders if you use Builder.
Once we have our experiment written in JS, we need a way to “host” it online. Pavlovia is:
A secure server for running experiments and storing data.
A gitbased version control system.
A huge open access library of experiments (that you can add to!)
If the task that you need doesn’t already exist - push your own! Before you get started try to make sure you:
Have a fresh folder that contains only one .psyexp file and the resources needed by that file.
It can also be helpful to make sure your folder is not in a location already under git version control.
Once you have made your experiment and made sure that your local folders are organised neatly ( with one .psyexp file in this location) you’re ready to sync your project to pavlovia!.
Once you have synced your study you will find it in your Dashboard on pavlovia.org under “Experiments”.
Piloting versus running - piloting will produce a token that lets you run your study for free for one hour, a data file will automatically download so that you can inspect it. Running will generate a URL to share with participants - no data will be downloaded locally using that link.
CSV or DATABASE - cav will generate a csv file per participant that will be sent to your gitlab repository (so it will be public if you make the repo public). Database will append all participants data to a single file (it will not be sent to gitlab).
Inside the experiment settings of PsychoPy you can configure the online settings of your experiment.
Pavlovia uses a powerful git-based system for storage and version control. Some of the benefits of using this include:
Fork existing projects
Easy sharing of your task (open science)
Add lab members to projects
Pavlovia uses a git based system for version conrol called “gitlab”. You can see when the last changes were made to the task by looking at the commit history.
If you click on the change you can see deletions and insertions. You can browse the repository at that point in history to retrieve past files!
To add members to your own project, you can use the settings>members option where you can search and invite collaborators.
You can change the visibility of your task at any time under permissions. Remember Once you make your project “public” the data file stored there will also be public.
Let’s get some practice using pavlovia.org!
try forking a task you like (hint: those in the ‘demos’ group can be useful)
try searching that project from your local psychopy
make a small edit
upload and see if the change shows on gitlab!
add someone else in your breakout room as a team member
NB. don’t forget to give stars to the projects you like! this could help future researchers picking tasks!