Spaces:
Running
Running
Commit History
-
Take the participant ID codes back out of a public repository
A SONA code is what de-anonymises a session. pid is HMAC(key, "research|<code>"), so the code is the one piece that maps a public pseudonym back to a person on the sign-up roster, and this repository is served publicly as a Space. Codes were sitting in test fixtures and in the incident comments that explain why three patches exist. Replaced with 99xxx stand-ins, which is outside any SONA range, and the prose now says "a participant" and points at the Box admin folder for who. test_no_participant_codes reads ~/bin/bear_sona/codes.json, which is in no repository, and fails if any of its codes appears in a tracked file. A second test checks the other way round: every five-digit code a fixture hands the signing or URL helpers has to be one no participant holds. Both skip where the roster is not on the machine, so a checkout elsewhere still runs green. This cleans the working tree. The codes are still in the git history and on the Spaces' own history, which is a separate decision. Co-Au…06c66ae
-
Let a handed-back participant into part 2
SONA advertises one link, this task's, so a participant allocated to the treasure hunt first opens this app, has their order resolved and stored, and is redirected away. The hunt hands them back at the end of it, in the same browser session, with their order signed into the URL. Verifying that signature sat behind "task_first" not in app.storage.user, which is false by then, so task_order_source stayed at the "hash" written before the redirect, the entry redirect read it as a fresh arrival at the wrong task, and sent them back to the hunt. Its final screen forwards here again after four seconds, so the loop needed no clicks: 1416 trips for one participant across fourteen hours, who emailed to ask how to reach part 2. A verified handoff is now read on every request that carries one. The entry redirect also counts itself and runs the task here on a third attempt to send the same session away. task_sl-cu-nicewebrl/web_app.py already carried this correction, after the same failure, and i…4eed8f8
-
Take the real credit token back out of the public repo
These Spaces are public. A tracked file is served to anyone at /raw/main/, and this one held a working SONA credential: the token that grants study credit for experiment 457. It got there by the most ordinary route available. The token was wrong, the fix was to write the right one down, and the tests already had a literal in that spot, so correcting them looked like correcting a test. Nothing about it felt like publishing a credential. The tests now use a fabricated token of the same shape. Which value the live Space actually holds is checked through the fingerprint /health reports, which is a hash and reveals nothing, so no test ever needs the real one again. test_no_real_credit_token_is_committed_anywhere walks every tracked file and fails on any 32-hex credit_token that is not the documented fake. The token in the git history of both Space repos has to be treated as exposed. Rotating it in SONA is the fix; removing it from the tip is not. Co-Authored-By: Claude Opus 5 <noreply@a…e14690d -
Log the uncredited participant and what the token typo cost
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>2e19d3e -
Log the 20 October state: handoff walked, link shortened, ad corrected
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>c071d95
-
A period, not a semicolon
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>839efed -
The advertised link has to be Harvest's, and it is set
Which task a participant starts with is decided by their survey code, and the advertised app is the one that has to notice and redirect. Verified on the live Spaces: code 62074 resolves to Harvest first and the link opens Harvest with the consent reading "corn harvest first and the treasure hunt second"; 62078 resolves to Treasure Hunt first and the link bounces there carrying study=sona, the completion URL intact and a signed first=sl&fsig=. Treasure Hunt's own entry redirect could not be shown to fire, so with its link advertised the half whose order starts on Harvest would have played the two tasks in the wrong order. With Harvest advertised that path is never needed. Still unverified: Treasure Hunt handing back to Harvest when it runs first. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>b129381 -
The SONA Study URL field holds 200 characters, and the link was 227
Found while setting it. The field truncates without a word: the first attempt saved as ...credit_token%3Ded029, half the token gone, crediting nobody. Encoding only the & brings the link to 194. A literal ? and = inside a query value are legal and arrive intact; & is the one character that would split the outer query string, and Starlette decodes the %26 back, so sona_url holds the real completion URL. test_sona_url.py measures that instead of counting by eye. Two parameters came out to make room. study=sona is already the default. watch=1 is not, so a real SONA session defaults the night block on now, keyed on the completion URL rather than on study, which defaults to "sona" for every link including a bare lab one. Without it the half of the sample whose order starts on this task would have played the day task alone while the half handed over from the other task got the night harvest, which is the split the handoff default already exists to prevent. Co-Authored-By: Claude Opus 5 <n…9f7c4b6 -
A blank demographics page looked exactly like an absent one
Found by driving a whole session end to end on the live Space. Every empty answer is dropped from the demographics record, so a participant who declined all twelve questions stored {"measure": "demographics"} and nothing else. That is indistinguishable from a stage that never ran, or from content/demographics.txt still sitting on its placeholder. It records n_items, asked and n_answered now, the way the TriPM already recorded n_items. The run itself: 7468a997cdac870b, four trials a block, Harvest second. It reached Demographics and finished with its metadata file, all twenty-nine stages in order, and the four measures that defer to whichever task finishes second. From the mirror it loads, audits, reaches pyEM and returns parameters, and the dev_mode filter keeps it out of the participant pool. Also measured, because an automated driver made the task look twice as slow as it is: a trial is 12.1 s from startTrial to startTrial with the tab awake. Chrome throttles timers in a background…c20b11d -
A debug run on a SONA link was in the participant pool
ab060ed0ac83ea86_2026-10-18_18h25.05 is the first session in the repository with a metadata JSON: the short test link played end to end on the deployed Space, reaching Night_PostTask_Strategy with its whole tail intact. That is the live verification the push fix was missing. It also showed the hole. TEST_ra3 is pseudonymised like any survey code, so it lands in pilot/ab060ed0ac83ea86/ and the ^(SMOKE|TEST|DEV|DEMO) folder test cannot see it. Every dev link sets dev_mode and the final push writes it into the metadata, so session_files() reads that and drops the session; include_dev=True brings them back, which is how notebook 04 checks a test run. A dev session whose last push failed is still invisible, which was every session until 17 October. The sessions frame now carries task_first, task_position, task_order_source, study, theme, block_order and dev_mode, off the metadata. The task order is the only between-participant randomisation in this study and it was nowhere in the analysis…ec4b9a7 -
The partner questions stay at the end, and every partner has a face
Settled with the researcher: the belief and liking pages belong after everything else, in the same block as the TriPM and the demographics, and deferred to whichever task finishes second. Asking whether the other player was real tells the participant there is something to doubt, so it waits until nothing is left to contaminate. The interim version from earlier today asked them inside each block's battery, which put the day block's question before the night block was played. What was actually wrong is that the pages showed an id and nothing else, and P2-63540 is not somebody a participant can recognise. Each row carries that person's face now. question_partner_rows() is the people list, one row per person; partner_roster() stays the money list, where one row can be two people because their credits land in one purse. The other task's partner is the hard half. An explorer redrawn as a farmer is a different-looking person from the one they met, so the picture comes from the app that drew…f52b886 -
Say who every screen is for, and ask about each partner where they were met
Eight items from the 18 October playthrough. The rest phase drew the word "Rest" while the work phase drew "WORK for YOU" or "WORK for your PARTNER". Resting on a partner round pays the partner the rest credit, so the one screen that named no beneficiary was a screen where the beneficiary was the point. restPaysOther() answers it, and it is not paysOther(): the night harvest, night 1 and the harvest-speed block all carry beneficiary "other" and pay the participant. The outcome screen dims the whole board, so the farmer and the partner who were standing in the scene are both behind it. It draws the person it pays now, and both of them on a night-harvest outcome. The live canvas drew one fixed partner palette, so the person by the field was not the person the matching screen had just revealed and the night block's new partner looked exactly like the day one. cfg.partnerAvatar carries the index, picked off the partner id each block already passes. Belief and liking are per block, at t…f54e080 -
A period, not a semicolon
The consent fix for the RA's run-on introduced one, and the October log section had four more. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>64b04ea -
/health could not see the file that stores the data
The build fingerprint hashes six source files and gitlab_save.py was not one of them, so cb6f294 -- the fix for the end-of-session push that landed nothing -- changed nothing /health reports, and there was no way to ask a Space whether it was still losing every session's last push. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1a45e3e -
Log the push bug, the loader hole and the RA fixes
State and Analysis were both out of date: the log still said the real-data pipeline had never been built, and the test count was two commits behind. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>ea571b3
-
Log October: the night watch, per-block batteries, and the launch links
The log still described the task as it stood on 26 September, 124 commits ago, and said 198 tests. Brings the state, the October work and the open items up to date, and writes down the two SONA links and what about them is untested. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>3c7a57c -
The consent form names the order it will actually run
Three corrections to both forms. The order was stated as the treasure hunt first, which the combined study randomises, so half the sample read an order they were not going to get. The two tasks are described without an order now, and one sentence states the order this session already resolved. A single-task run says it is decided at random, so no form can reach a participant with an unfilled slot in it. Venmo was never set up. Only an Amazon gift card and PayPal are, in both forms and the prereg. The payment ask is a name, an email address and the reference code from the last screen. The form listed the first two, which read as the whole of it, and said nothing about the code a participant is shown and then asked for. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>64c8bdc
-
Log the consent-gate fix
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>0fb377b
-
Log the STORAGE_SECRET finding
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>6cfa888 -
Correct the log: the deployment is fine, my check was not
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>96656b7 -
Log the combined SONA study, and that none of it is live yet
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>5d2dc62 -
Record the consent finding and the calibration-floor numbers
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1d707b2 -
Record the export verification and the tab-away fix
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>fa427c1 -
Record what the browser play-through found
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>e74bfa2 -
Bring the session log up to date, and mark the August one superseded
The August log described the task before the September changes: the warm-up geometry, the effort reference, the three sources of accidental asymmetry, the night rewrite and the questionnaire restructuring. Anyone reading it after a break would have had the wrong picture of nearly every one of those. The new log also records what was simulated but not built, since that is the part most easily lost: the three-option night block, and adding reward sensitivity to the day model.c92ec59