jsPsych code for executive functioning battery
- Combination of three executive functioning tasks:
- Spatial Recall
- Go/No-Go
- Hearts and Flowers
- Expected variables from the URL:
- subject ID:
subid
- SONA ID:
sonaid
- End Spatial Recall task when get two wrong in a row
- On finish, redirect to SONA URL to give SONA participants credit, but only if
sonaid
!= 0
- Update the SONA
experiment_id
and credit_token
in the init.js
and init-test.js
files in the following folder: /hearts-flowers/
- set anticipatory responses (RT < 200 ms) to missing for both accuracy and RT
- examine RT in correct go trials only
- set anticipatory responses (RT < 200 ms) to missing for both accuracy and RT
- examine RT in correct trials only
The tasks can be run from the following link:
https://devpsylab.psychology.uiowa.edu/Tasks/EF-battery/experiment-spatial-recall.html?src=sona&subid=9999&sonaid=99999
Or, alternatively:
https://devpsylab.psychology.uiowa.edu/Tasks/EF-battery/experiment-spatial-recall?src=sona&subid=9999&sonaid=99999
Here are the links to the individual tasks:
https://devpsylab.psychology.uiowa.edu/Tasks/EF-battery/experiment-spatial-recall.html?src=sona&subid=9999&sonaid=99999&chain=false
https://devpsylab.psychology.uiowa.edu/Tasks/EF-battery/experiment-go-no-go.html?src=sona&subid=9999&sonaid=99999&chain=false
https://devpsylab.psychology.uiowa.edu/Tasks/EF-battery/experiment-hearts-flowers.html?src=sona&subid=9999&sonaid=99999&chain=false
For briefer, test versions of the tasks (for troubleshooting), you can run these versions:
https://devpsylab.psychology.uiowa.edu/Tasks/EF-battery/experiment-spatial-recall-test.html?src=sona&subid=9999&sonaid=99999
https://devpsylab.psychology.uiowa.edu/Tasks/EF-battery/experiment-go-no-go-test.html?src=sona&subid=9999&sonaid=99999
https://devpsylab.psychology.uiowa.edu/Tasks/EF-battery/experiment-hearts-flowers-test.html?src=sona&subid=9999&sonaid=99999