====== Slips Task ====== "Slips of action" is a psiturk+javascript (behavior) and python+psychopy (MR pilot, unused) port of Simplified Fabulous Fruit Game, Sanne de Wit, 2019. It's served locally to be run from a web browser in the [[:tools:loeff_rooms|loeffler behavioral room]]. ^ ^ link ^ | active| http://rhea.wpic.upmc.edu:22362 | | code | https://github.com/LabNeuroCogDevel/slipstask | | demo | https://labneurocogdevel.github.io/slipstask/ | ===== Serving ===== Slips was served on heroku's free tier (amazon turk compatible) until it was discontinued. Now the slips task is served by rhea for use within the lab (UPMC intranet). http://rhea.wpic.upmc.edu:22362 The service is managed by systemctl but it can break with changes to python or extreme memory usage on rhea. see [[https://github.com/LabNeuroCogDevel/slipstask/blob/master/slips_psiturk.service|slips_psiturk.service]] * On 2023-11-02, python 3.7 did not have working ''python-pip''. Switched to 3.10.12 and rerunning with ''gunicorn'' in tmux. * In 2024-11, a memory intensive matlab batch job on rhea forced the kernel to kill applications, including the slips sever. systemctl --user restart slips_psiturk.service * 2025-08-13: oac domain bound. user ''foranw'' became ''w''. re-enabled service cd /opt/ni_tools/tasks/slipstask; sudo chmod g+w -R .; systemctl enable --user --now slips_psiturk.service # now handled by foranw: systemctl --user restart slips_psiturk.service cd /opt/ni_tools/tasks/slipstask pyenv local 3.10.12 pyenv exec python3 -m pip install psiturk pip install cryptography==38.0.4 gunicorn herokuapp.py --preload -b 0.0.0.0:22362 ===== Data ===== The rhea-local sqlite database and parsed ''task.tsv'' are copied to OAC managed (with point-in-time tape backup) storage. ''foranw@rhea'' [[admin:it:cron]] writes ''/Volumes/L/bea_res/Data/Tasks/SlipsOfAction/task.tsv'' at 3:10am like 10 3 * * * /opt/ni_tools/tasks/slipstask/00_loef_backup.bash ===== Task survey questions ===== At the end of the task, we prompt for perceived comprehension and strategy. Prompts include * fruit+side and confidence level * fruit+fruit pairing and confidence level * free from questions. See https://labneurocogdevel.github.io/slipstask/'s "survey" link to jump directly to the questions. From [[https://github.com/LabNeuroCogDevel/slipstask/blob/c1bfc45af97933ed80d2e8e81108158083067b90/static/js/utils.ts#L530|utils.ts]], the questions are - How well do you feel like you understood the task (0=not at all, 5=fully)? - What stategy or strategies did you use to remember the correct way to open boxes? - How did you remember the inside-outside fruit pairs of each box? - Were you able to concentrate while playing the game? Did you have to take any breaks? - Do you have any other comments on the game? 2026-11-06: participant skipped questions. Reprompted out of band. (TODO: db update)