roadmap SUPERSEDED

354. An unviable mutant is a hole in the measurement that reads as a pass

Milestone 250 (an unviable mutant is a hole in the measurement that reads as a pass) carries the same title and more of the argument. Its block holds every part of this one (the Verdict worked example, the nine unviable mutants in measured_boot, the ledger that counts missed, equivalent and hang and not unviable, the anti-gaming test). It also holds two things this file never had. One is the uefi_loader::image::parse disposition of 2026-09-04. The other is the reverse defect of 154 mutants scored MISSED in "0s build + 0s test" behind required-features. This file's own last paragraph said so. Milestone 326, which triages the 2026-09-14 census's 771 survivors, is a different question and does not cover this one: a survivor is a mutant that ran, and the subject here is a mutant that never built.

cargo mutants --list already reports what this needs, and no run is required to get the count.

What the work is. cargo mutants scores a mutant it cannot build as unviable, and nothing in notes/mutation-testing.md's ledger accounts for that category. The ledger has missed, equivalent and hang. So a published rate cannot distinguish "no test could kill this" from "the tool could not build it", and only the first is a fact about the code under test.

Milestone 246 found the sharp end of it: the tool's only operator on a function returning a struct is to replace the body with Default::default(). measured_boot::verdict returned a Verdict with no Default, so the mutant did not compile, and the tool reported nothing at all about the one decision in that crate saying whether unmeasured code may run. Deriving Default turned it from 1 unviable, 0 tested into 1 caught. measured_boot alone had nine unviable mutants.

It is worse than a missed mutant, as milestone 250 (an unviable mutant reads as a pass) argues. An unviable one leaves no trace in the number, so a crate's score is silently computed over a smaller function than the reader believes.

The cheap version is most of it. It is cargo mutants --list per crate counting unviable (one command, no run), then reading them to see whether a small honest change to the code makes the mutant both buildable and meaningful, then putting the count in the ledger.

The hazard to name in whatever does this: making a mutant viable can be gaming. Deriving Default where the default is meaningless adds a mutant any test kills and proves nothing. The test is whether the default is a value the code could plausibly be wrong with; for Verdict it is both the fail-safe value and exactly the dangerous wrong answer, an absence where there was a refusal.

Index row

The work lives in milestone 250, under the same title, with two worked examples this file never carried.