954. A survivor accepted once is not accepted forever, and lanes work the accepted pile down
(Title and slug are drafts.)
Raised 2026-10-27 (UTC) by lane/mutation-gaps-plan. calef ruled that day that three gaps in
mutation testing close, and this is the first: accepted is not killed. The weekly census, the inflow
check and the per-pull-request gate stop new untriaged survivors. Nothing works the existing ones
down, and nothing asks again whether an old verdict still holds.
This extends milestone 326 (nobody has been assigned to turn a mutation score upward), which is
BUILT. 326 gave every survivor of the 2026-10-19 census a row and made that census the baseline. Its
own BUGS section says a sweep needs repeating and leaves open whether that becomes a gate. This
proposal answers that question. Milestone 250 (an unviable mutant is a hole in the
measurement) stays separate: an unviable mutant never ran, and every survivor here did.
What the census holds today
The 2026-10-26 census (run 40311212712) has 712 missed mutants. Matched against
notes/project-metrics/mutation-triage.csv through helpers/mutation_inflow.py's key and rename
table, they split like this:
| a census survivor's row | mutants |
|---|---|
equivalent |
612 |
gap |
6 |
killed, which the census has just contradicted |
3 |
| no row at all | 91 |
The file holds 1,525 rows: 1,074 killed, 406 equivalent and 45 gap. Most rows record closed
work. The live accepted pile is the 618 that an equivalent or gap row answers.
The 91 with no row sit in 50 keys. Most are drivers: designware_ethernet 26, e1000e 26,
designware_mobile_storage 22, non_volatile_memory_express 7, driver_process_contract 5. Of
the 50 keys, 36 already survived on 2026-10-19. The inflow check passes them because it fails only
on a survivor it blames to a pull request merged since the last census. A survivor on an older
line with no row fails nothing. The three stale killed rows are grant_plan's Windows::take,
serial_console's dial_in_warning and one in system_log_contract.
The 612 equivalents cluster by operator:
| mutation | mutants |
|---|---|
| a bitwise swap, almost all OR becoming XOR over flags that share no bit | 378 |
| a comparison, such as less-than becoming less-or-equal | 89 |
| a shift, mostly one shifted left by zero becoming one shifted right by zero | 67 |
| arithmetic | 41 |
| a return value, a deletion or other | 37 |
The top crates by missed plus timeout, from the same census: designware_ethernet 78, e1000e
76, designware_mobile_storage 75, paging 73, extensible_host_controller_interface 50,
grant_plan 44, video_terminal 42 and file_system_contract 33. Timeouts belong to the
companion milestone 970 (a mutant that hangs is its own verdict).
The four holes
- A row never expires. The gate clears a survivor on a changed line with an
equivalentrow. That row may describe the function as it stood before the pull request rewrote it. - Nothing checks the whole census. The inflow check reads only blamed survivors, so 91 mutants sit with no row and nothing fails.
equivalentholds three different claims. Some are algebra and hold in every caller. Some hold only for today's callers, like a bound no caller reaches. Some hold only under this harness, like a release-only guard behind adebug_assert!, or a register no host test can observe. The third kind is a gap with a better name. Another instrument could kill it.- A
gaprow names no owner. AGENTS.md's rule for identified work is a milestone or aBUGSentry, and agaprow is neither.
Most of the pile is noise, so measure it first and remove it at the source
Two shapes make up 445 of the 612 equivalents: a bitwise swap over operands that share no bit,
and a shift of or by zero. The same two shapes cover 71 of the 91 survivors with no row, so 516 of
the 712 missed, 72%, look like noise. No test can ever kill either shape. x << 0 equals
x >> 0 and 0 << n equals 0 >> n for every value. A | over disjoint bits equals a ^ over
them. The paging lane of 2026-10-27 (#2804) confirmed it crate by crate: all 73 paging
survivors are equivalent. 64 are disjoint-bits swaps and 9 are shifts of 1 << 0 and
0b00 << 6. Every one already had a row, and 21 of those rows carry a generic reason copied from
another crate. The shape count here comes from the mutation text alone. Shape is evidence, not
proof, and part 1 checks each one against its code.
A census that counts this noise as missed hides the real holes inside it. Three ways to remove it:
- A row per mutant, as today. It keeps every mutant visible and costs a reader per row, forever, and the copied reasons show what that reading becomes at volume.
- Rewrite the code so the mutant cannot arise: a typed flags builder, or one shared helper that
composes every field. It moves the noise into one function, but the helper's own
|stays equivalent under its contract, and code shaped for the tool is not better code. - A scoped exclusion in
.cargo/mutants.toml, oneexclude_reper function and shape, with its reason, as milestone 85 (mutation testing over the host crates) allows. For a disjoint-bits swap, the reason names aconstassertion beside the code that the operands share no bit, so the compiler checks the argument. For a shift, the reason is the identity.script/lintfails an entry whose function no longer exists or whose named assertion is gone.
The recommendation is the scoped exclusion, and it holds at equal cost: the product code stays as
written, and the proof of equivalence compiles. Its limit belongs in the exclusion's BUGS. An
excluded function that later gains a | over overlapping bits generates no mutant for it. The
const assertion narrows that risk without closing it, so an exclusion names one function, never
a crate or a shape tree-wide.
What done means
The headline is real holes: census survivors that no algebraic argument answers. Part 1 measured
it: the 2026-10-26 census holds 32 real holes, at most 103 if every unrowed noise-shape candidate
is one, and the count lives in
notes/mutation-testing/survivor-classification.md and the census record's real_holes column.
Measured on the first census after the last part lands:
- No census survivor has a
killedrow or no row at all. Today there are 94. - The census holds no disjoint-bits or zero-shift survivor. Each one either leaves through a scoped exclusion with a compiled argument, or turns out not to be equivalent and gets a test.
- Every remaining
equivalentrow carries a kind,algebraicorcaller. A harness-only claim becomes agaprow. - Every
gaprow names its home, a milestone number or aBUGSlocation. - In each of the eight crates above, every survivor is
algebraic,callerwith the caller named, or agapwith a home. Its triage note and the census report record its real-hole count.
That is not a target score, for milestone 326's reason: exclusions can buy a percentage. Every exclusion here carries an argument a tool checks, and the weekly job fails on a survivor with no reason.
How the work splits
Parts 1, 2 and 3 have shipped: the measurement, the mechanism and the rows. The remaining parts are one
lane each. Each crate lane re-derives its survivors with script/mutation -p <crate> on
its own worktree. The largest crate here, grant_plan, has 1,312 mutants, about 50 minutes at the
census's measured 2.35 seconds per mutant. A crate lane changes one crate per pull request, so the
gate runs only that diff's mutants. The gate of milestone 924 (a survivor on a pull request's own
lines cannot merge untriaged) ran 217 of them in three minutes on #2797, well under its 20-minute
cap.
- Shipped. The measurement. The classes name every live survivor's shape and the reason its row
gives, flag copied reasons, and the census record's
real_holescolumn carries the real-hole count per crate beside the classification page. The 2026-10-26 census holds 32 real holes, at most 103 with the unrowed noise-shape candidates, and 516 noise-shape sites of which 148 their own lines prove. - Shipped. The mechanism. The weekly job gains a census-wide check. Every survivor needs an
equivalentorgaprow, and akilledrow for a live survivor fails, the gate's own rule. The triage file gainskindandverifiedcolumns, and existing rows backfill asunclassified.script/lintholds theunclassifiedcount to a baseline that only falls, the prose ratchet's shape, and fails agaprow with no home. It also checks each scoped exclusion as above. The gate stops accepting a row its own pull request did not add or re-verify for a survivor on a line that pull request changed. Before switching that rule on, the lane replays it over the last 100 merged pull requests and reports how many it would have stopped. - Shipped. The 94 with no row or a stale one, one lane per driver crate:
designware_ethernet,e1000e,designware_mobile_storage, then one lane for the remaining five crates together. The first question in each is whether rows exist under a key the helper does not match. - The noise, one pull request per crate, largest first. Each adds the
constassertions and the scoped exclusions and deletes the rows they replace.pagingis the first, from #2804's reading. - The eight crates' remaining survivors, one lane each, in the order above. Each classifies its
equivalentrows, writes the test that kills any a test can, and moves harness-only claims togapwith a home. The Kani results of milestone 741 (does a standing proof notice a regression) come first, since its table names 17 mutants a proof kills and every test misses. A row for one of those is wrong. - The remaining crates, in batches ordered by real holes. One lane takes as many crates as fit one day of per-crate runs, so a census does not wait on a lane that never ends.
What holds the gain
- The census-wide check fails the weekly job on any survivor without a live row.
- The gate's re-verify rule makes an accepted verdict expire when its code changes, which is the moment it can become false.
- The
unclassifiedratchet, the home rule and the exclusion check failscript/lint. - The census report prints real holes per crate beside missed.
script/mutation-census --compareshows the trend. The checks above hold the verdicts, and the count is the lagging reading.
Cost
Six parts and roughly fourteen lanes, most of them a crate's afternoon. The weekly census gets slightly cheaper, since excluded mutants stop running, and the new check reads the census's own output. The re-verify rule costs authors work. A pull request that rewrites a function carrying accepted survivors re-reads those rows. Part 2 measures that before it switches the rule on.
Reuse: helpers/mutation_inflow.py's key, rename chain and ledger reader, which the gate and
the weekly job already share; .cargo/mutants.toml's exclude_re, which cargo-mutants already
reads; and the prose ratchet's baseline shape for the unclassified count. Nothing new is written
where one of these fits.
Follow-on
- Done. Part 3, the survivors with no row or a stale one. The four crate lanes landed as
#2847 (
designware_ethernet), #2848 (e1000e), #2849 (designware_mobile_storage) and #2867 (the remaining crates). The first question resolved most of it: the rows existed under names a function rename had moved, which the helper cannot cross. Checked on 2026-10-31 (UTC) by a per-cratescript/mutationrun of each of the three big crates: every survivor (2, 16 and 33) has a liveequivalentorgaprow, and none has akilledone. The classes CSV and the carried list still name the 2026-10-26 census, so they keep counting these until the next census regenerates them. - Outstanding. Part 4, the noise exclusions, one pull request per crate, largest first.
pagingis #2924 (a per-crate run on 2026-10-31 (UTC) leaves one survivor,page_attribute_table::VALUE's|, whose row stays asalgebraic) anddesignware_mobile_storagelanded with #2849.designware_ethernetalready carried its compiled arguments and scoped exclusions from #2867; a re-derivation on 2026-10-31 (UTC) found 5 missed mutants, every one rowed, and one noise-shaped site without a compiled argument,link_from_registers, which #2937 covers.modify_extended's swap stays acallerrow, since its two operands are runtime values.e1000eneeds no change: its 16 missed and 4 timed-out mutants all have rows, its provable sites already carry assertions and exclusions, and the 8 noise-shaped swaps left rest on a runtime value or on hardware behavior. The counts below name the 2026-10-26 census. Checked againstnotes/project-metrics/mutation-shape-sites.csv: 516 noise-shape sites, 148 the lines prove, 368 a lane must read. - Outstanding. Part 5, the eight crates' remaining survivors, one lane each, and the
unclassifiedrows behind them. Checked against the classification page's real-hole column (32) and theunclassifiedratchet baseline, 406 rows. - Outstanding. Part 6, the remaining crates in batches ordered by real holes. Checked against the classification page's per-crate real-hole counts.
- Done. The shape-sites file keeps pace with the census (#2946). The weekly record job in
mutation.ymlrunshelpers/mutation_shape_sites.py checkover the census's own shards at its own commit, and the record pull request carries the file beside the census rows. The file's first line names the census it came from, andscript/lintfails when it trails the census record by more than one census. The first regeneration is the next scheduled census, not yet watched.
Names
The kind column, its values algebraic, caller and unclassified, and the verified column.
Name: provisional, minted by this proposal on 2026-10-27 (UTC). An architect names things.
Index row
The 2026-10-26 census has 712 missed: 612 answered by an equivalent row, 6 by a gap, 3 by a
false killed row and 91 by nothing, and 516 of them are two shapes no test can kill. Proposed:
measure the real holes, remove the noise through scoped exclusions whose argument compiles, add a
census-wide check and rows that expire when their code changes, and work the rest down per crate.