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>
Frame this task's own partner too, not just the one it serves out
The belief and liking screen shows the farmer and the explorer on one
page. The picture served to the other app went through the frame; the one
rendered locally for this app's own screen did not, so on this side the
farmer filled its slot and the explorer sat at about a third of it.
The framing moved to sprites.draw_partner_avatar_framed and all three
callers use it: the /static/partner_face route, the deferred end-of-study
screen, and the standalone session's own row. The matching reveal keeps
the raw render, since it shows this task's partner alone with nothing
beside it to be mismatched against.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Squashed deploy snapshot of main (item 31 in PROJECT_LOG.md), same
docx-free pattern as the previous deploy commit -- see that commit's
message for why the doc is excluded.
Co-Authored-By: Claude Sonnet 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>
Split chest-pattern slide back into two, switch questionnaire to Qualtrics-style request-response, reword save message
- Split the merged chest-pattern how-to-play slide back into two separate slides
(HOW_TO_PLAY_IDENTITY, HOW_TO_PLAY_VARIES), each with its own illustration; reword
the color/pattern caution bullet and bold both "color" and "pattern".
- Replace questionnaire's hide-Continue-until-answered gating with a Qualtrics-style
"are you sure you want to continue without answering?" confirmation dialog — Continue
is now always visible/clickable on every slider/text/agreement page.
- Reword "Saving your treasure..." to "Saving your data...".
Session 3 polish: cover story wording, merged chest-pattern slide, quiz bolding fix, and coins-bridge/questionnaire reorder
- Cover story: bold adventurer/money/treasure chests only, rename explorer->adventurer,
reword meet-your-partner and turning-coins-into-money slides.
- Merge chest-identity/consistency/variability how-to-play slides into one "chest pattern"
slide with a combined visual (equal-chests + over-many-tries dot row); make the
dot-row caption width-aware so it doesn't clip.
- Reduce swap arrowhead rotation for a more symmetric look on the line.
- Fix quiz item bolding: unbold the leading "you" in the question statement (missed in an
earlier round) while re-bolding both "you" and "your partner" in its feedback line.
- Move the coin-totals screen to right after the main game (new bridge wording, no
"let experimenter" line there) and add a new short final screen with that line after
the post-game questionnaire completes.
Instruction polish, questionnaire back-navigation, and bug fixes
- Reword/rebold cover story and how-to-play screens per feedback: house
added to the chest+coins art, new cover_part1 header, drop "young"
entirely, bold "real money" instead of "your", avatar in how-to-play now
matches the participant's chosen explorer.
- Merge the chest-identity/consistency/variability slides into one combined
slide+visual, drop the separate rating slide, fix the try-counter
highlight centering and the swap arrowheads' angle.
- Quiz: swap emoji, minor wording/bolding fixes, fix an icon mapping.
- Speed up the chest-swap animation.
- Add a fast local-disk CSV refresh per trial, independent of the
GitLab-pushing checkpoints.
- Rebuild the post-game questionnaire as one paged FeedbackStage (matching
the intro flow's pattern) so every screen has a Back button; expand the
hypothetical battery to 3 targets (self/their partner/you) x win/avoid
losing for motivation and effort; dynamic "Your parent"/"Your child"
header and intro line.
- Finish screen: sho…
Illustrated instruction slides, randomized partner avatar, and quiz polish
- Split the cover story into 4 screens (intro, explorer picker, twist +
matching reveal, money/goal) and each how-to-play bullet into its own
screen, each with a purpose-built illustration (sprites.py).
- Add a randomized-per-participant partner avatar (4 muted looks), shown
at the matching reveal with a transparent background and used
consistently everywhere the partner appears in-game; logged in the
CSV/GitLab randomization log.
- Practice: keep the meadow visible behind the "press space to continue"
banner after the rating screen, instead of a full-screen takeover.
- Quiz: remove "you" bolding except for you-vs-partner contrasts, restyle
with playful colors/emoji, and add an illustration per question; add a
houses visual to the "You're all set!" screen.
- Wording: "relatively" -> "pretty reliable" in practice narration.
- Add a dev shortcut (?dev=1&start=questionnaire) to jump straight to the
post-game questionnaire for testing.
Co-Authored-By: Claude Sonnet 5 <no…
Rewrite practice as a fixed 6-step guided tutorial (enforced choices)
Replaces the free-choice practice + rotating tips with a scripted tutorial that teaches
every social outcome type, in a fixed order (no per-participant randomisation):
1 mutual benefit, 2 consistency (same chest again), 3 mutual loss, 4 instrumental harm,
5 altruism, 6 zero.
- Four named, distinctly-textured practice chests (brown woven, blue striped, green dotted,
dark stone) via sprites.PRACTICE_STIM_DESIGN.
- Each step DIRECTS the player to open one chest and ENFORCES it (only that chest opens;
the named chest glows and alternates sides). New env fields trial_pairs + directed
generalise per-trial pairs and the directed-choice lock (main task: free choice).
- Outcome narration is now one coherent per-step sentence (merging who-earned + teaching),
shown red+blinking; consistent coin wording throughout.
- orders.PRACTICE_PLAN + experiment_structure.PRACTICE_SCRIPT (kept in sync via assert).
- smoke_test updated to press the directed side in practice.
Co-Authored-By: Claud…
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>
Avatars: expand roster to 10 (varied skin/hair/gender + robot/cat/plant/fox)
- outcomes as +1/0/-1 (self_outcome/other_outcome) with raw +100/0/-100 kept
in shown_self_outcome/shown_other_outcome
- per-option A_self..D_other columns (the two options' outcomes each trial)
- verbal chest descriptions (chosen/left/right_stim_desc) via sprites.stim_describe
- quiz rows now log the question text + TRUE/FALSE answer strings + attempt
- summary row: started_at/ended_at/duration_min, box & house assignment derived
from actual logged data (robust to order-code changes), positions, visited order
- choice_rt_ms (decision time) vs outcome_view_ms (outcome viewing) made explicit
- practice blocks labelled 'practice' (no longer collide with main block 0)
- orders: each participant's 4 boxes now guaranteed distinct colours
- practice teaching tip moved below the table (was overlapping the window)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Chests: 26 genuinely distinct stimuli (colour x material[wood/stone/metal/woven/marble/dots/stripes] x lid-shape[flat/arched/peaked]); practice uses dedicated boxes 24/25. Quiz: re-ask missed at end + un-bold statements. Kids idioms (worth opening / you're done here)
Unmask partner + neutral outfit, remove running score from overworld/rooms/rating (show only this-try outcome), drop feedback slide, new 'Adventure Complete!' outro splash with coins->money and simple completion message
UX polish: fluffy clouds + remove tagline on splash, lighter cover-story highlights, tighter instructions w/ colour>side, OG-style 'earned/lost X for yourself/partner' feedback, rating by COLOUR not side, practice shows only this-try outcome (no running total), 'Round'->'Try'