cd /data/work/Experiments/tasks/nback && npx vitest run pm-placement-sim.test.ts --reporter=verbose
cd /data/work/Experiments & npm run build -w @experiments/web && rsync -av --delete /data/work/Experiments/apps/web/dist/ /data/work/jatos/study_assets_root/annikaHons/ For JATOS deployment, make a single component, add the repo directory with the above commands, set the html to index.html and the component json to:
{
"taskId": "nback",
"variantId": "annikaHons",
"auto": true,
"overrides": {
"data": {
"localSave": false
}
}
}
Replacing the values as required. Disabling local save ensures no csv is downloaded on the participant side.
pm2 start node --name autoresponder-jatos-once --no-autorestart --
scripts/run-autoresponder-url.mjs
--url "http://127.0.0.1:9000/publix/jcyRMNUWs2u?auto=true&auto_mode=data-only"
--max-minutes 130
--done-text "Thank you very much for participating"
pm2 status autoresponder-jatos-once
pm2 logs autoresponder-jatos-once --lines 10 --nostream
npm run difficulty -w @experiments/task-bricks --config evanderHons --trials 10000 --seed 123456 --no-by-trial-type --no-by-block-trial-type
python scripts/jatos_to_long_csv.py temp/annikaHons_jatos_example.txt temp/annikaHons_jatos_example_long.csv
python scripts/validate_stimuli_rules.py temp/test_stimuli.csv --max-print 10
Unified experiment framework with a shared TypeScript core and task adapters.