Separate selection from confirmation

Four candidates have the same declared mean duration: 10 invented units. A measurement adds either -1 or +1 with equal probability. Pick the candidate with the smallest measurement and report that number. Across every possible development outcome, the reported winner averages 9.125. Measure that selected candidate with fresh independent noise and the average returns to 10. The search changed the reported score without improving any candidate.[4][5]

This is an exact finite model, not a hardware benchmark. All candidates are assumed correct for one workload. The quantity we want to estimate is the selected implementation’s latent mean duration. The comparator 10 is supplied as known ground truth, not obtained from a noisy reference run. An actual benchmark would need a separate policy for measuring its reference as well.[4][5]

The arithmetic comes from retaining the whole selection space. With four candidates there are sixteen equally likely development sign patterns. Fifteen contain at least one 9, so the minimum is 9. Only the all-plus pattern has minimum 11. The selected development mean is therefore (15 × 9 + 11) / 16 = 73/8. With one candidate the mean is 10; with two it is 19/2. Increasing the search budget makes this reported mean look better even though all latent means remain 10.[4][5]

  • Selection changes the report: Four equal candidates: selected development 73/8; independent confirmation 10; latent mean 10.

Freeze the winner

Selection uses development observations only, with candidate ID breaking ties. After that choice, the worksheet pairs each development pattern with every independent confirmation pattern. Each selected candidate has confirmation mean 10 conditional on the development data. We retain the full confirmation vectors as counterfactual bookkeeping; the evaluated confirmation endpoint uses only the selected component. No confirmation value is used to choose a winner.[4][5]

Fresh confirmation is not a guarantee that one new measurement will equal the truth. In the four-candidate null case, the development score is below the known baseline in 15/16 of the declared patterns. An independent confirmation is below it in 1/2 and above it in 1/2. Those are exact probabilities under this supplied noise law, not p-values, measured error rates or a claim about how often real kernel benchmarks are wrong. Selecting again on confirmation would change the procedure.[4][5]

Retain controls and every state

The controls show which assumptions produce the effect. Always choosing c0 gives development and confirmation means of 10, despite retaining four candidates. Giving every candidate the same development noise also gives means of 10: selection cannot pick a favorable independent fluctuation. Deterministic ties can favor an ID without changing the score. Separate checks retain all-equal and reordered ties rather than hiding them.[4][5]

Search can also find a real difference in the model. In the genuine-effect control, c0 has latent mean 7 and the other candidates have mean 10. Even c0’s largest observation, 8, is smaller than the others’ smallest, 9. It always wins, and both its development and confirmation means are 7. This deliberately separated case does not measure power for small effects. It prevents the stronger, incorrect conclusion that every selected improvement is noise.[4][5]

One original standard-library CPU invocation on 2026-11-30 UTC retained all 820 joint states across six separate probability spaces. Six literal summary checks, sixteen selected refusals, four positive selection controls and four relationships passed. The three search spaces contain 4, 16 and 256 states; the fixed, shared-noise and genuine-effect controls contain 256, 32 and 256. These are overlapping conceptual examples, not 820 independent experiments. Each space is weighted separately with exact fractions.[4][5][6]

  • Keep confirmation outside selection: Freeze the winner before reading confirmation. A second selection would create a different procedure.

Invented duration units; each row is a separately normalized finite space. Lower is better.

Declared procedureJoint statesMean selected developmentMean independent confirmationMean selected latent
Search 1 equal candidate4101010
Search 2 equal candidates1619/21010
Search 4 equal candidates25673/81010
Fixed c0, 4 equal candidates256101010
Search 4, shared development noise32101010
Search 4, c0 latent 7256777
  • The known comparator is latent10, not an observed reference timing.
  • Confirmation means are expectations over all declared independent signs, not a promise about one new observation.

Original credit and scope

Gavin Cawley and Nicola Talbot’s JMLR paper explains how optimizing a noisy selection criterion can bias subsequent performance evaluation. That is the methodological context, not a new discovery claimed here or a reproduction of their experiments. This original worksheet makes one small selection-and-confirmation contract fully inspectable. For a real kernel-search report, preserve the search budget and every candidate score, freeze the selection rule, and keep confirmation outcomes outside that rule. Name the performance quantity before deciding what a winning number means.[1][2][3][4]

  • Record the search budget and selection rule, retain every candidate, and reserve an independent confirmation measurement before claiming an improvement.

Sources

  1. Gavin C. Cawley and Nicola L. C. Talbot — JMLR2010 selection-bias paper www.jmlr.org
  2. Python Software Foundation and contributors — Fraction docs.python.org
  3. Python Software Foundation and contributors — Cartesian products docs.python.org
  4. MIT source and complete saved result data.nodus-compute.ai
  5. Complete outcome ledger data.nodus-compute.ai
  6. Original execution and saved-result provenance data.nodus-compute.ai