Coding Advice

  1. Measure the floor before the first comparison — and measure the right kind of noise [C12]. The protocol's k-seed sweep returned std exactly 0 here (five seeds, five identical values to twelve decimals: a closed form has nothing for a seed to perturb); pasting that zero into the contract would have made every difference a keep. The honest floor for a deterministic estimator is split noise: 20 group-aware re-draws gave δ = 0.033 — 1.2× the anchor's own score. Run the degenerate sweep anyway and commit it: the zero is the finding that tells you which floor you actually need.
  2. Pre-register WHICH quantity decides, then report both [C13]. RQ2's declared-split delta (1.29×δ) and lottery mean (0.71×δ, 13/20 inside ±δ) are both true and support opposite verdicts. The only thing that keeps the verdict honest is that the contract named the declared-split delta before measurement. Report only the number that agrees with your prior and you have not made a measurement — you have made a choice.
  3. Put a falsifiable positive control on the ladder, sized to fail [C14]. "No keep earned" is indistinguishable from a dead instrument unless something scored the same way is supposed to break and does. Sepal-only LDA degraded by 4.31×δ against a pre-registered 2×δ bar, with the failure branch written down in advance. Cost: one run, 0.0098 s. There is no cheaper insurance in an experimental protocol.
  4. Register crash rungs [C18]. E0002 deliberately handed the evaluator a target it must refuse and produced exit 1, disposition crash, and the registered sentence verbatim (requires target labels exactly {0, 1}; got [1, 2]). One transaction proves the guard is load-bearing rather than decorative — and it is the reason the perfect-proxy species column could be kept, documented and mitigated, instead of deleted and the guard left untested.
  5. Keep seed schemes inside the numeric domain of the library that consumes them [C19]. A date-shaped base times 1000 overflows numpy's seed bound and took down all 140 lottery trials:
    # registered: base * 1000 + draw  -> 20260828001  (> 2**32 - 1: every trial crashed)
    # committed fix, before any floor was stated:
    seed = DRAW_SEED_BASE + draw      # 20260829 .. 20260848
    Prefer base + draw or a recorded SeedSequence. When a registered detail must change, change it before any statistic is stated, commit the crashed evidence beside the good run, and say so in the script header — that is what makes "we fixed a seed" verifiable rather than asserted.
  6. Make every downstream number trace to one locked file. This study's claims.lock carries its own law: "deck numbers.py reads ONLY this file; any deck/script number not traceable here fails the build." Slides, scripts and this tutorial all inherit the ledger's numbers instead of re-deriving them — a retype is a fork, and forks drift.

The winning train.py, verbatim

The exact bytes behind both the anchor (E0001) and the sealed confirmation (E0009) — included by reference at build time. Note the two disciplines it encodes: the family registry is the only way to select a model (so species and group_id can never leak in), and the sealed partition is reachable only through an explicit evaluation_kind: