Planned before any H2 development contrast is read: how H2's cell is simulated¶
# research(2026-10). Item 6 of the H2 plan (2026-10-14) gives H2's cell its own K and bounds
from its own development pilot and simulation. partition_sensitivity.py simulates a pilot read
by partition_pilot.py --hypothesis H2 as it simulates H1's, with three differences fixed now:
- Contrast. The pool averages each change's sibling-minus-matched-foreign outcome over the
pilot's runs (
power.averaged_truthwithh2_arms), the armsdecomposition.matched_clustersreads, and the change-by-run noise and shrinkage are measured on that contrast. - Rows. Only C++ examples (
is_cpp) enter the pool, the population the cell is read on. - Planned changes. The cell reads a window's C++ examples, so the planned test size is the
projected test changes times the share of the pilot's changes carrying a C++ example, from its
first run's examples (
cpp_change_share), rounded down.
Everything else is H1's: the admissible partitions pooled, K from the pilot's sizing or --runs
for the coverage rule's grid, the four calibration points, δ, and the levels the pilot was read
at. H2 is one cell, so its bound is read at one cell (plan_cell), on a continuous metric and
without a placebo; a plan of fewer than 20 C++ changes is refused, since the gate reads no half
of fewer than ten. The K coverage rule
(partitions.coverage_runs) now refuses a grid point simulated for another cell than its pilot's
(hypothesis and foreign source, cells.cell_of), so H1's grid never sizes H2's K, nor H2's H1's;
a K coverage artifact of H2's cell names it (hypothesis, foreign_source).
partition_sensitivity.sbatch with FOREIGN_SOURCE reads
partition-pilot-<org>-foreign<source>-likelihood.json and writes under a name of its own, so H1's
and H2's simulations never claim one result, and the script refuses a pilot of another cell than
the one named. run_shift.py reads the pilot's cell's contrast and refuses another cell's
simulation, and an H1 read takes no bounds simulated for H2.