Removes all 353 em dashes across the task, the quiz prefixes becoming
"Correct:" and "Not quite:". Also untracks the study documents a git add -A
swept into main, and adds the script that built this commit.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Deploy: 16-trial redesign, chest/counterbalancing fixes, pilot bug fixes
Squashed deploy snapshot of main (items 23-30 in PROJECT_LOG.md), built
without the tracked reviewer-instructions .docx: Hugging Face's git
endpoint rejects pushes containing binary files (Git LFS/Xet only), and
this history carried two .docx blobs. The doc isn't needed by the running
app -- it stays tracked on `main` and backed up via `origin`, just left
out of what's pushed here. See PROJECT_LOG.md on `main` for the full,
unsquashed commit history and rationale.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Rename display to TreasureHuntForTwo (no spaces) + fresh session on participant change
- display name 'Treasure Hunt for Two' -> 'TreasureHuntForTwo' everywhere it's shown
- index(): if ?pid=X differs from the stored pid (same browser reused for a new kid), wipe
per-user storage (new seed -> new data file) and clear saved stage state, so two
participants on one computer never get merged into one file
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add dev/pilot mode, data provenance (git commit), and Prolific capture
- ?dev=1&start=practice|quiz|main skips the front matter; ?trials=N shrinks trials/house;
dev sessions get a red DEV MODE banner and dev_mode=1 in the data (flagged by quality_flags)
- every session records git_commit (exact code version) in the data provenance
- capture ?PROLIFIC_PID/STUDY_ID/SESSION_ID; optional PROLIFIC_COMPLETION_URL -> return button
- export + CODEBOOK carry git_commit/dev_mode/prolific fields; README documents the shortcuts
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Attention check (21st trial in 2 random houses) + post-hoc quality flags
- new M_ATTENTION env mode: after the 20 trials, 2 deterministically-chosen houses show
'Press the LEFT arrow key to show you're paying attention'; any key advances (no trap),
the key + RT are recorded
- orders: 2 random attention houses per pid (none in practice)
- export: 'attention' rows (block, key, correct, rt) + summary attention_passed/total
- quality_flags.py: flags incomplete / fast-RT / side-bias / failed-attention participants
(surfaces for review, does not auto-exclude)
- CODEBOOK documents the attention rows + summary fields
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>