Repository navigation
bench(secrets): Holm over the sweep's six tests with the MDE at both ends; notebooks refuse another checkout's environment; display in cellKey - #2228
wanderdev0 wants to merge 4 commits into
Conversation
…d 0.05; nb.mjs and wmlnb.extract refuse another checkout's environment The analysis plan states the family, the order statistic, the thresholds 0.05/(7-i) and the stop at the first non-rejection (Shane, 2026-12-01). A new table gives the MDE of the three entered pairs at both Holm ends; the n = 30 per arm plan rests on 0.05/6. A .venv symlinked from another clone made wmlnb.ROOT that clone, and a notebook run here wrote its pinned extract there. nb.mjs now refuses such a venv (venvIssue), and wmlnb.extract refuses a path outside the working directory's git checkout; both name the fix. tests/nb-checkout.test.mjs, 6 rows, the three refusals mutation-checked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… set A display-less cell keeps the key it had before (pinned in the test), so no cache written earlier goes stale. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s exact one-sided Fisher MDE, and when its direction was fixed The base rate of each row is the pilot's pooled none-arm rate (n = 30). At 0.93 an arm of 30 expects about two failures, so the recovery row adds the exact one-sided Fisher MDE beside the approximation: 0.38/0.29 at n = 30, 0.24/0.18 at n = 60 (approximation 0.36/0.25, 0.23/0.17). The one-sided direction was fixed after the pilot's data and before the sweep (Shane, 2026-11-30). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Verdict at Holm: the notebook states the step-down (make-secrets-section.py:461-468) but computes none; the Exact MDE for recovery: recomputed with a one-sided p from Run selection: no confirmatory test is computed yet, so no pilot run enters one. Every row read comes from the pilot sweep Guards: each of the three refusals in tests/nb-checkout.test.mjs fails with its check removed (the cellKey: Not asked: the exact MDE row uses the rounded base 0.93; at 28/30 the n = 30, 0.05/6 figure is 0.37.
|
The secrets-section notebook's confirmatory family gets Holm's procedure.
nb.mjsandwmlnb.extractnow refuse another checkout's environment, and a task-leveldisplayis part of a bench cell's key.Holm over the sweep's six tests
The analysis plan names the family as the six tests of the next sweep at familywise α = 0.05. They are ordered by p-value and test i is compared against 0.05/(7−i): 0.0083, 0.010, 0.0125, 0.0167, 0.025, 0.05. Testing stops at the first non-rejection (Shane, 2026-12-01).
A new section, "The MDE at the Holm thresholds", gives the minimum detectable difference at 80% power for the three pairs that enter. It uses the pooled two-proportion approximation, one-sided for recovery on
hidden-envand two-sided for the other two.attached-conn)hidden-env)hidden-env)The n = 30 per arm plan rests on the 0.05/6 column. Only the test with the smallest p-value is certain of its threshold, and that threshold is 0.05/6; 0.05 is the most any test can be given, at the last step.
Each row's base rate is the pilot's pooled rate in the
nonearm (all three models, n = 30): 0.33, 0.33 and 0.93. The sweep'snonearm is assumed to run at that rate.At 0.93 and n = 30, an arm expects about two failures, so the recovery row also gives the one-sided Fisher exact MDE: power summed over both arms' binomial outcomes, unstratified like the approximation.
hidden-env)The one-sided direction for recovery was fixed after the pilot's data and before the sweep. Shane ruled on 2026-11-30, in the same ruling that entered recovery as an exception, that a Secrets section can only lower it; the ruling was written into the notebook in #2217. It was not fixed before the pilot was looked at.
A notebook run writes only into its own checkout
A
.venvsymlinked from another clone madewmlnb.ROOTthat clone, so a notebook run here wrote its pinned extract into the other checkout.scripts/nb.mjsvenvIssue(root):runandmakeexit 2 and name the fix (remove the.venv, thennode scripts/nb.mjs setupin this checkout) when the.venvresolves outside this checkout, or its editable wmlnb points at another checkout'snotebooks/src.wmlnb.extractrefuses an output path outside the working directory's git checkout.tests/nb-checkout.test.mjshas 6 rows. Each of the three refusals fails with its check removed.docs/dev/notebooks.md(Traps) and thenotebooksskill: setup runs once per checkout.displayincellKeyThe task-level
display(added in #2217) reachedrunConfigbut notcellKey, unlikefiles,agentFilesandsecretsbeside it. It now enters the key only when set.displaychanges the key. It fails without the change.applyeffect, and effects are hashed.Tests
npm teston this branch, rebased on main, at 3a1a359: 12703 tests, 12679 pass, 0 fail, 3 skipped, 21 todo. The commit after it, 2de7238, changes only the notebook's generator and output;check-notebookspasses on it (33 notebooks ran as committed).🤖 Generated with Claude Code