Spaces:
Running
Running
Commit History
30 days ago
-
Stop a late web_app import from 500ing the participant's page Running
The container runs `python web_app.py`, so web_app is __main__ and is not in sys.modules under its own name. `from web_app import log_event` inside a function therefore does not find the running module: it builds a SECOND copy and executes its body again, mid request. That body registers NiceGUI startup handlers, and NiceGUI refuses once it has started: RuntimeError: Unable to register another startup handler. NiceGUI has already been started. which reaches the participant as a 500. I introduced this in 51ba07c while fixing the same bug in screens.py: the screen timing went in through three `from web_app import log_event` calls, in questionnaires._fb, effort_stages._fb and _comp_round. A participant hit the 500 on 2026-11-03, reopened the study in a new window and could not get past the avatar screen. screens.watch already takes its logger by registration, so the imports were never needed: web_app calls screens.set_logger(log_event) as it loads and the `log=` argument only …78de84e
-
Write the screens the recorder was silently dropping
Found in the sibling task's first BEAR pilot, and the same code is here. screens.watch ended with from web_app import log_event as log inside its finally. The container runs `python web_app.py`, so web_app is __main__ and is not in sys.modules under its own name: that import built a second copy of the module and logged the screen through it, mid-session. A bare `except Exception: pass` then discarded whatever happened, so a session could lose every comprehension and questionnaire screen and still export a plausible-looking file. Over there it did: 37 timing rows, all of them reconstructed by the exporter from slides and trials, none from the recorder, and corr empty in all of them. web_app registers log_event by name at import now, and a screen that cannot be written is logged as a warning instead of vanishing. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>51ba07c
-
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 -
Flag the staff sessions, and stop asserting a design that moved
A member of the research team ran the study on themselves twice, and both runs look like clean participant data. inclusion.audit gains an ok_participant criterion that flags them. Who the pseudonym belongs to stays in the Box admin folder; this repository is public, so it holds the hash and nothing else. The session is flagged, never dropped, so the audit still accounts for every file on disk. test_the_watch_design_columns_survive asserted the rest/work credit gap was exactly 1. The task raised it to 5 on 2026-10-21, because at 1 every participant worked every night, and the test went on asserting the design it was written against until the first live watch session failed it. It now asserts the two properties that identify the self-weight: the gap holds still within a session, and it stays under the smallest loss averted or that level is dominated and its cell goes quiet. night_h_spread asks whether widening the loss levels rescues the night block for the population that actually tur…700dc4c -
Carry the answer and whether it was right into the timing rows
PsychoPy writes <component>.keys and <component>.corr beside the onsets, so a quiz question's row says what was pressed and whether it scored. The timing file had the onsets and the rt and neither of those. Both tasks now write keys and corr. corr is 1 or 0 on a question with a right answer and blank everywhere else, which is what PsychoPy does. keys is the response where there is one and falls back to whatever closed the screen. In the hunt that is each of the seven quiz questions. In harvest it is each comprehension question, in both the main round and the night watch round, which share one _comp_round; a wrong answer re-asks the question in a later round, so the round number is in the component name or the retries would overwrite each other. screens.py no longer touches app.storage.user directly. It raises outside a page builder, which is where the unit tests call from, and a recorder that can take a session down is worse than no recorder, so every access falls back to a process-…ecc987b -
Name the timing columns the way PsychoPy names them
Checked against this task's own PsychoPy export, example_sub-TEST3_task-sociallearning-hp_2025-02-05_*.csv. Its convention is <component>.started and <component>.stopped in seconds from the experiment clock, <component>.keys / .rt / .duration where the component took a response, loop counters, and a metadata block repeated on every row: date, expName, psychopyVersion, OS, frameRate. The timing file now carries all of those, long: one row per component, the component named in a column instead of in the column name. Both tasks write the identical 26 columns, asserted by a test that reads the other repo's list, so the two can be stacked. One clock. started, stopped, duration and rt are seconds from the earliest stamp in the session, computed in the exporter from the ISO stamps so every row shares a zero, including the houses and ratings that are reconstructed from env timesteps. A rating screen's enter is not logged, so its exit is back-dated by its own rt to give it the same shape. scr…ff0c87a -
Time every screen, not just the clicks inside a harvest
This task timed almost nothing. A harvest screen recorded the first and last click on its boxes, and that was all. The instruction pages, the calibration, the practice, the quiz, the comprehension rounds, the night blocks and every questionnaire battery produced their answers with no clock on them, so a session's length could not be split into where it went. Every stage in effort_stages and questionnaires is built by the same _fb factory, so wrapping that one function covers the whole task. The intro pages are wrapped where they are shown, and a page revisited with Back is its own record, or the revisit would read as one very long page. Each record carries enter, exit, dwell, how many clicks it took and how long until the first one, which is the response time for a screen whose answer is a click. Clicks are logged for the first time here, ported from task_sl-cu-nicewebrl, each tagged with the screen it happened on. export_timing writes <base>_timing.csv, one row per screen in the or…4db8278
-
Stop the mirror from silently losing throttled files
download_data.py asked GitLab for every blob on every run with no pause between requests, and treated any response under 400 as a file worth writing. A 429 therefore wrote nothing, printed nothing, and still counted toward the cheerful total at the end. The 30 October pull reported 121 files when the repo held 355, and three known-played sessions had empty folders in the local copy. _get() now retries on 429 and 5xx, honoring Retry-After. A blob-id manifest in downloaded_data/.manifest.json means an unchanged file is never re-fetched, which keeps the request count low enough that the throttle rarely fires. Anything still missing at the end is listed by path and the script exits 1. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>3e96aec
-
Stop a quiet canvas from holding the warm-up open
SONA 60403 crossed the handoff into this task on 26 October at 14:56Z, the first participant ever to get past the redirect loop, reached the warm-up and stayed on it for two hours. Stage 2 of 38, no traceback, pings still arriving, no trial ever reached. _run_js awaits a future that only the canvas resolves. Nothing else ends that await, so a canvas that stops answering takes the session with it, and a reload starts the same wait over. The warm-up now passes a bound of CALIB_MS plus 20s and falls back to MAX_BOXES_FALLBACK, which already existed for a warm-up that cannot run. The returned record carries calib_timed_out so a ceiling that was never measured is visible in the data. A trial still waits unbounded: the canvas drives its own clock there and the participant is watching it. test_calibration_timeout.py pins all three paths and keeps a copy of the unbounded wait to show it still hangs. 519 tests pass. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>17fdf7a
-
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
-
Say "10 credits", not "10 credit"
Reading the night card out of the shipped function caught two things the pay change broke. The WORK line read "keep **1 credit** for your trouble" with the number interpolated and the noun hardcoded, so it said "10 credit" the moment WATCH_WORK_PAY moved. A _credits() helper now agrees with the value, and the uncertainty intro's "1 credit" goes through it too, since that is the same latent bug sitting on a value that happens to be 1. "For your trouble" framed the work payment as a token. It is 10 against a rest of 15, two thirds as much, and the whole block turns on comparing them. Both lines now read "take N credits" so the two amounts are stated on the same terms. Two tests pin the card against the constants and against both ceilings being named. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>4019649 -
Name both ceilings on the night intro, not just theirs
The slide said the partner could lose their whole bonus, worth $3, and never said what the participant stood to gain. That reads as a small payment against a large harm, which is an easy choice. It now names both, and they are the same $3 by design. Computed from WATCH_PAID_NIGHTS and the two pay constants, so the figure follows any later change to them. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>6dea528 -
Sweep the night pay gap and keep the receipts
last_field_recovery_correct.py at gaps 1, 5 and 6, 60 participants, 48 trials, 5 replications each. Gap 1 is what the task shipped until today and gap 5 is what it ships now. gap 1 gap 5 gap 6 h_cert 0.806 0.884 0.882 h_vague 0.780 0.871 0.865 certainty discount 0.934 0.931 0.918 effort cost k 0.746 0.650 0.554 p(work) 0.573 0.233 0.177 SE on the group dx 0.051 0.034 0.026 MDD at 80% power 0.144 0.095 0.072 bias contamination -0.146 -0.112 -0.103 Gap 5 beats gap 1 on every row but k, and loses to gap 6 only on the minimum detectable difference. It keeps gap 1's recovery of the certainty discount, 0.931 against 0.934, which gap 6 gives up, and it leaves more worked trials for the effort cost. That is why 5 and not 6, independently of the reason the test caught (a gap of 6 equals the 6 credits averted at the lowest loss level and dominates that cell)…9e5ab9d -
Fifty credits to the dollar, and one place that says so
The rate goes 25 -> 50 and the per-purse cap splits in two: CAP_SELF_USD at $6 for the participant, who has one purse across both harvests, and CAP_PARTNER_USD at $3 for each of the two partners. What this fixes. The consent promises "up to $6 each for yourself and a stranger for each task (up to $12 total for each)". At 25 the harvest paid $6 to the day partner and $6 to the night partner, so the stranger side of the study came to $18 against a stated $12. At 50 it is $3 and $3, and with the hunt's $6 the stranger side is $12. Compliant for the first time. It also makes the night payable. The day block banks up to 152 credits, which was $6.08 and filled the participant's whole purse; both completed sessions finished the day at exactly $6.00, so every night credit landed past the cap. At 50 the day is $3.04 and the night $2.00 to $3.00, which reach $6.04 together, four cents over the cap at the absolute maximum. test_earnings.py::test_a_session_fits_inside_the_purse pins that. The r…fcb0147 -
Pay the night in money the participant can feel
WATCH_REST_PAY 6 -> 15 and WATCH_WORK_PAY 1 -> 10. The gap stays 5, so every indifference point is unchanged: h = 0.83, 0.42 and 0.28 across the three loss levels. The level was the thing holding the self side down, and it was held down for the purse rather than for the design. Over WATCH_PAID_NIGHTS the participant's own night purse now runs 100 to 150 credits where it ran 10 to 60, so what they carry out of this block is decided by their choices. This level needs the rate at 50 credits to the dollar to mean anything. At 25 the day block alone fills the $6 purse, which both completed sessions did exactly, so every night credit lands past the cap and the card promises money that is never paid. The rate change follows in the next commit. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>c920f6a -
Give the night watch something to trade
WATCH_REST_PAY goes 2 -> 6, so the gap against WATCH_WORK_PAY goes 1 -> 5. The gap of 1 was set assuming the effort cost was worth about 4 credits of subjective value, which put indifference near a harm weight of 0.6. The first four live sessions say that cost is near zero: the day block's work rate is flat at 0.97 across a 2.4-fold range of required stalks, and this block ran 0.94 to 0.98. At a gap of 1 and k near zero, indifference sits at h = 1/6, 1/12 and 1/18, so anyone who weights a stranger's credit above a sixth of their own works every night. All four sessions banked 10 or 11 of a possible 20 night credits. At a gap of 5 indifference moves to h = 0.83, 0.42 and 0.28 across the three loss levels. A gap of 6 was tried first and is one too many: it equals the 6 credits averted at the lowest loss level, so that level is dominated for anyone with h below 1. test_what_you_gain_is_small_against_what_they_lose caught it, though it was comparing the rest pay to the loss averted when…e80812c -
Say that the warm-up reference is the best attempt, which it is
Three comments in effort_design.py claimed the two warm-up attempts are averaged. The code has always taken the larger of them (effort_stages.py sets max_boxes = max(counts)), and the four live sessions confirm it: [7,10] gave 10, [4,6] gave 6, [6,9] gave 9, [7,6] gave 7. The module docstring also still described the qsf's 50/65/80/95 % levels and its REST=1 / WORK=2/6/10 payoffs as if they were this build's, and named a REPS_PER_CELL that no longer exists. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>b1203ae -
One left edge for every statement and its scale
The TriPM and demographics pages centred the instruction, the statements and the Continue button, so each statement sat over the middle of its own scale and a short one could end up on the line above its options. Both pages now put the whole list in one left-aligned 600px column: statement, its scale on the next line pulled flush by the radio's own 10px of inner padding, then the next statement. test_a_blank_demographics_page_is_not_an_absent_one sliced a fixed 2600 characters from demographics_stage and lost its assertions when the layout grew; it now slices to the end of the function. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>8b60381
-
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 -
Let /health say which completion URL a Space is holding
The token was wrong for two days and nothing could see it. Both Spaces reported SONA_RETURN_URL present and true, the URL was built, signed, handed across the tasks and substituted exactly as designed, and the only thing that could tell the right token from the wrong one was a real participant reaching the final screen. /health now reports the experiment id, which is public, a sha256 prefix of the whole value, which is not reversible, its length, and whether a survey-code placeholder is still in it. Comparing the two Spaces with each other and with the string SONA prints is one request. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>65b5b91 -
Correct the SONA credit token, which was transposed
A real participant finished the study tonight and SONA answered the completion URL with "Invalid experiment_id or credit_token. -2". The URL was built and sent exactly as configured, so nothing in the handoff, the encoding or the 200-character workaround was at fault: the token itself had been copied wrong on 18 October. served ...f298d531fcbdb74ac2 SONA ...f298d531fcdbd74ac2 Read back off exp_info.aspx?experiment_id=457 today. The study, its id and the advertised Study URL are all correct; only the token was wrong, and it was wrong in the Harvest Space secret and in these tests. The Treasure Hunt copy happened to hold the right one, so the two tasks were serving different completion URLs to different halves of the sample. The participant's data is intact and their credit has to be granted by hand, because the survey code is stored only as a one-way hash. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>6227f12 -
One consent form, and a test that keeps it that way
"The purpose of this study to better understand" was missing its verb. The other task's copy had it right, which is how it was found. In the combined study the SECOND task skips consent on a genuine handoff, so a participant reads exactly one form and which one depends on the coin flip that set their task order. The two copies are maintained by hand in two repositories and had drifted in two places. They are byte-identical now, and test_both_tasks_serve_the_same_consent_form prints the diff if they ever separate again. The second difference went the other way: this copy's "at any time. It will not be held against you." is an RA's correction of a run-on, pinned by test_ra_feedback, so the other task adopted this wording rather than the reverse. Three more checks on the served form while the fixture was there: the {TASK_ORDER} placeholder is still in it, Venmo is still out of it, and no bracketed placeholder or researcher note survives in it. Co-Authored-By: Claude Opus 5 <noreply@an…9f6b20e -
Record which game each liked partner belonged to
The belief record carries `kind`, the liking record carried only `where`. Partner numbers run in the order the participant met them and that order is a coin flip, so liking_p1 is the treasure hunt's partner for half the sample and the daytime harvest's for the other half. `kind` is the stable token that says which game; `where` is prose and can be reworded. The analysis maps `where` back for the sessions already collected, so nothing is lost either way. This stops it needing to. Deployed with both data repos quiet for an hour, so no session was interrupted. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>09748bb -
Load the questionnaires, not just the trials
Everything a participant typed or slid rather than played was being collected and never read. The TriPM, the demographics, the belief and liking checks and every per-block battery sat in the session file with nothing to get them out. Three things a generic flattening gets wrong, and this does not. The TriPM is asked in a per-participant order, so it is scored through content/tripm_key.csv by item number. Reverse keys are applied, each scale reports a sum, a mean and how many items it is based on, and a participant who skipped the lot scores None rather than zero, which would have put them at the bottom of the distribution. Belief and liking are asked once per person, numbered in the order the participant met them, and that order is a coin flip. believed_p1 is the treasure hunt's partner for half the sample and the daytime harvest's for the other half, so a column of believed_p1 across participants is two different questions stacked. Each answer now also lands in believed_hunt, belie…76c60a1 -
Log the 20 October state: handoff walked, link shortened, ad corrected
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>c071d95 -
Write down how to walk the handoff in both directions
Three layers: the cross-repository contract test, a forged-signature probe that takes two page loads, and the end-to-end walk, which is the only one that tests whether a finished app actually builds the URL and navigates to it. Both apps shorten a run from the URL, which is what makes the third layer take minutes instead of two full tasks. The first two passed while the payload was being dropped on arrival, which is the note at the bottom and the reason the third one is written out. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>ef6d333 -
Read the handoff payload on the visit that actually carries it
A participant allocated to the treasure hunt first touches this app twice. They open the advertised link, which is this one: it resolves the order, stores task_first, and bounces them to the other task. They come back here when that task finishes, and that return is the only request that ever carries bonus1, pbonus1/plost1 and pparts1. All of that sat inside `if study == "sona" and "task_first" not in storage`, which on the return is exactly false. So for half the sample the other task's bonus was dropped from the combined total, and the belief and liking pages named this task's own two partners while the person they played with in the treasure hunt went unmentioned. Nothing errored, no warning fired, and nothing in the saved data recorded that a signed handoff had been thrown away. The order is still resolved once. The signed payload is now read on every request, which is safe because each value is signed for that survey code and a reload carries the same numbers. The other task alr…cb902b6 -
Hold the completion URL in a secret, not in the advertised link
SONA's Study URL field holds 200 characters and truncates past that without a word. The completion URL it hands out carries a 32-hex credit_token, which spends 122 of those on its own, and the first save was stored as ...credit_token%3Ded029: a link that still opens, still runs the whole task, and credits nobody at the end. SONA_RETURN_URL holds that completion URL as a Space secret instead, read server-side, with its %SURVEY_CODE% placeholder left literal exactly as SONA prints it. _sona_return_url already substitutes all three forms the researcher might paste, so nothing else changes. ?sona= still wins when it is there, so a lab link can override the secret. The advertised link drops to about 85 characters, the credit token stops appearing in the participant's URL bar, browser history and referrer headers, and there is room again for &watch=1 instead of inferring the night block. Conditioned on the URL having SAID study=sona rather than on the resolved value, because `study` defaul…81d8d11
-
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 -
Rerun 04 against the two finished sessions
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>300dbf2 -
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 -
The RA playthrough, item by item
Two consent typos, a themed version of the 10-second rule, and three things about the task itself. The arrow prompt was 13px. An RA read it, pressed an arrow expecting to move a cursor, and took the round starting as the task skipping past the selection step. It is 17px now, in a pill measured from the text, and it says the press is the choice; the work-or-rest slide and the screen before the first card say the same thing in words. The harvest and the empty-soil click sounded like they played together because they nearly did: clearing a field is a burst of SPACE, and the press after a successful one lands on the soil it just cleared. The click is quiet for 220 ms after a stalk comes in. Submit and Back stayed on screen beside Continue once a quiz answer was in, greyed out but still there. They take turns in one row now. The last item was a blank strategy answer "sending me back to the beginning of the quiz". The data half is the push bug, fixed in cb6f294: that whole night battery …280712f -
Read the night watch, and a notebook that checks a live session end to end
NightWatch was in neither block list, so a session that played 96 trials loaded 48 and the whole block went nowhere without an error. Its trials also carry night=None, like a day trial, so "not a night trial" was counting them as day trials: added day_mask(), used by the summary and by to_pyem, and the block's own design columns (both options pay, and what moves is the partner's loss). Two more things the refreshed mirror broke: audit() raised on a session with no trials at all, which is exactly the session it exists to describe, and to_pyem indexed with an object-dtype mask after a concat. The model tests now select the pilot design explicitly rather than assuming the mirror holds nothing else. 04_sona_check.ipynb is the new one: what reached the repository, whether the day grid and the night watch ran as specified, whether the manipulations move behaviour, and whether a current-design session reaches a fitted parameter. Two sessions, so it demonstrates the path and claims nothing a…670ca7d -
The last push of every session was refused twice and landed nothing
A commit is atomic, and push_to_gitlab sent one "create" list, then on refusal the same list as "update". By the end of a session the msgpack and the CSV are already in the repository, pushed during the blocks; the metadata JSON, written once at the end, is not. So the create list was refused for the two that existed and the update list for the one that did not. That final push is the only one that carries anything after the last trial, because nothing after a block triggers another. Across 37 sessions there is not one metadata file, and every stored session file is frozen at whatever the last periodic push captured: the 2026-10-14 RA lost their whole night battery, and 2026-10-15 lost everything after a Back press in the same one. The verb is now chosen per file, and a refused commit falls back to one commit per file so a single unwritable path cannot discard a participant's data with it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>cb6f294
-
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 -
Fullscreen on the first click of a handed-over session
Skipping the device check left the second leg windowed, and the silent request made up for nothing: document fullscreen ends when the tab navigates here, and a new page cannot re-enter it without a gesture of its own. The click on the other task's "Continue to part 2" is not one, so a request made on load is refused. Queued for the title screen's own Next button instead, which is a real click and costs the participant no extra screen. Both things our user asked for: nothing between the two parts, and fullscreen for the second one. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>2abee74 -
Nothing between part 1 and part 2 on this side either
The other task found its own copy of this and told me: its desktop gate ran unconditionally, so a handed-over participant met a screen and a click before the title screen. Mine did the same. The device check belongs to the study, not to each task: it is the same person at the same keyboard, and they passed it on whichever task they started with. Skipped for a verified handoff, with the fullscreen request still made, just silently. A browser may decline a fullscreen request that no click triggered, so the second leg may run windowed; our user asked for nothing between the two parts, and that is the cost. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>0952274 -
The liking question's bold markers showed as asterisks
_slider_battery bolds the whole prompt, so the ** around the partner id nested, and the question rendered as "*P2-69469, the person you played with in the daytime harvest?*" in italics with the markers visible. Found by playing it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>c90512d -
Two things the night points screen showed me
The partner id came out as "p2-20337". str.capitalize() upper-cases the first letter and lower-cases everything after it, so the id inside "your partner (P2-20337)" was flattened on the one screen that tells the participant what that person ended up with. And every picture sat on its own line above its text: a markdown block is full width, so the row wrapped. The row no longer wraps and the text shrinks beside the picture. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>492ab6e -
No canvas is placed as a page-coloured hole
Found by playing it: the practice intro renders its panel, and the farmer inside it is drawn one browser round trip later, so for that beat the screen shows a heading, an empty 150px gap and a Start button, and then a farmer appears in the gap. That is the jump between the last instruction screen and the practice. Every canvas that is drawn after its element is placed now carries the colour its own drawing fills, from the same per-theme soil values cornfield.js uses. The game canvas already had this; this is the rest of them: the mission picture, the partner-match reveal, the work-or-rest still, the night harvest's two stills, the practice farmer and the faces on the points screens. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>5127747 -
One belief page about every partner, and a points screen per block
From our user's second review of the run. The belief question is asked once, at the end of the study, about every partner, one Yes/No each, in words that fit what could happen to that person. Split across the two batteries it was asked twice and still missed a partner each time, because the other task's partner belongs to neither battery. A liking slider per partner sits with it, since both are about the people rather than about either task. Both defer to whichever task finishes second, the way the TriPM and demographics already do, so the handoff's partner rows now carry a fourth field saying what kind of partner each one was. Three fields still decode, so the two deploys can straddle. Each block has its own points screen before its own questions, naming only that block's two people: the day pair kept theirs, the night harvest had none at all and its result appeared only on the very last screen of the study. Every screen that says what somebody got now shows that person's picture, …71a8a60