Spaces:
Running
Running
Commit History
-
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
-
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
-
Analysis pipeline: the data layer
pe_analysis/{gitlab,loader,inclusion}.py plus tests, run against the real pilot mirror rather than fixtures. It reproduces the pool the plan predicted: ten sessions, 48 trials each, none missed, with 0004's first session and PILOT03 flagged as always-work responders -- the likelihood is flat in k for those, so they are excluded visibly rather than dropped upstream. Three things it is built around: The session is the unit, never the pid. Pilot links were handed out as "pick one of these at random", so 0004 is three sessions and may be three people. Trial counting is max(block record, safety-net records). PILOT03's second block record never wrote and its 24 trials survive only as Harvest2_trial0..23; counting block records alone truncates that session to 24 in silence. Nothing assumes a design. Rewards, effort fractions and the rest credit are read off each trial, because all three have changed once: every pilot session ran 2/6/10, 0.50-0.95 and a rest credit of 1, and the current bu…d367697