-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add initial sdmt task to scripts * feat: finished sdmt task
- Loading branch information
Showing
2 changed files
with
79 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
|
||
-- Iowa Gambling Task | ||
UPDATE tasks SET | ||
from_platform = "PSHARPLAB", | ||
task_type = "EXPERIMENTAL", | ||
name = "SDMT", | ||
description = "Symbol Digit Modalities Task. The participant needs to use a key that maps images to numbers. They must look at a grid of images, and input the associated numbers", | ||
config = '{ | ||
"taskConfig": {}, | ||
"metadata": [ | ||
{ | ||
"componentName": "SDMTCOMPONENT", | ||
"componentConfig": { | ||
"isPractice": true, | ||
"maxResponseTime": 180000, | ||
"numRows": 1, | ||
"numnCols": 9, | ||
"stimuliConfig": { | ||
"type": "generated", | ||
"stimuli": null | ||
} | ||
} | ||
}, | ||
{ | ||
"componentName": "SDMTCOMPONENT", | ||
"componentConfig": { | ||
"isPractice": false, | ||
"maxResponseTime": 120000, | ||
"numRows": 9, | ||
"numnCols": 16, | ||
"stimuliConfig": { | ||
"type": "generated", | ||
"stimuli": null | ||
} | ||
} | ||
}, | ||
{ | ||
"componentName": "DISPLAYCOMPONENT", | ||
"componentConfig": { | ||
"title": { | ||
"en": "Congratulations!", | ||
"fr": "Félicitations!" | ||
}, | ||
"sections": [ | ||
{ | ||
"sectionType": "text", | ||
"textContent": { | ||
"en": "You finished the game successfully", | ||
"fr": "Vous avez terminé le jeu avec succès" | ||
} | ||
}, | ||
{ | ||
"sectionType": "text", | ||
"textContent": { | ||
"en": "Thank you for your participation", | ||
"fr": "Merci pour votre participation" | ||
} | ||
}, | ||
{ | ||
"sectionType": "text", | ||
"textContent": { | ||
"en": "Click \\"NEXT\\" to continue", | ||
"fr": "Cliquez sur \\"NEXT\\" pour continuer" | ||
} | ||
} | ||
], | ||
"buttons": { | ||
"isStart": false, | ||
"previousDisabled": true, | ||
"nextDisabled": false | ||
} | ||
} | ||
} | ||
] | ||
}' | ||
WHERE id = 93; |