jsPsych code for executive functioning battery
- Combination of four executive functioning tasks:
- Expected variables from the URL:
- subject ID:
subid
- SONA ID:
sonaid
- subject ID:
- 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
andcredit_token
in thecommon-functions.js
file in the following folder:/tasks/common/
- 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
- set anticipatory responses (RT < 200 ms) to missing for RT
The tasks can be run from the following link:
Or, alternatively:
Here are the links to the individual tasks:
For briefer, test versions of the tasks (for troubleshooting), you can run these versions: