princessamygdala Claude Sonnet 5 commited on
Commit
c72006e
·
1 Parent(s): 4c42592

Instruction rewrite, parent/child role, post-game questionnaire, and bug fixes

Browse files

- Reword confusing/redundant instructions; split HOW_TO_PLAY into 3 shorter
screens; clarify that chest identity (not side) matters and stays
consistent all game but isn't 100% deterministic per trial.
- Add parent/child role selection at ID entry (URL param, storage, and
CSV/GitLab logging); "young person" wording now only applies to child
participants.
- Add post-game questionnaire (strategy, motivation, effort, task rating,
belief check, hypothetical parent/child battery), ported from the sibling
PE task's pattern.
- Sound: replace the on/off toggle with a No sound/Chimes/Retro picker.
- Add persistent Fullscreen button so participants can re-enter fullscreen
after exiting it.
- Fix: chest lids could stay visually open after an error in the per-step
overlay-clear hook; a held arrow key on house entry could auto-select a
chest (now requires an explicit SPACE press); mashing SPACE during the
outcome screen could wipe the coin feedback before the minimum view time;
the pause button stayed visible on the final screen.
- Add a lightweight "error" event channel to the data export for diagnosing
future stuck-game reports.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

6 files changed +537 -60
Files changed (6)
CODEBOOK.md+2
INSTRUCTION_CHANGES_LOG.mdAdded+123
experiment_structure.py+116-28
export_csv.py+21-1
questionnaires.pyAdded+189
web_app.py+86-31