Tests can pass even when a meaningful operation is removed if their inputs never make the correct and broken versions behave differently. In a September 30, 2026 field note, Sungsoo Youn describes two surviving code mutations in his own test suite: deleting a division from a threshold calculation and changing the arguments and time window used by an overlap check. Both cases show how to make tests distinguish the behavior they are meant to protect.
How the auditor exposed gaps in the tests
Youn says he runs a daily autonomous Claude Code agent on one Windows PC and uses a separate auditor agent to inspect the diff, run tests, and return a PASS or FAIL result. One auditor check deliberately changes code and reruns the tests. If the suite remains green after a behavior-changing edit, that behavior may not be adequately constrained by the tests.
As an Amazon Associate I earn from qualifying purchases.
In Youn’s account, this check found two cases where the tests passed despite a meaningful defect. They are examples from his own setup, not a general study or an independently reproduced experiment. Read Youn’s field note on DEV Community.
Why deleting the division did not fail a test
A report rule was supposed to recommend waiting for more traffic when a product page averaged fewer than 20 visitors a day. The input was a seven-day visitor total, so the implementation divided the total by seven before comparing the daily average with the threshold.
The existing tests used seven-day totals of 8 and 140. With the division, those become averages of about 1.14 and 20 visitors per day; without it, the values are still on opposite sides of the 20-per-day threshold. The tests therefore passed with or without the calculation.
Choose an input that makes the operation matter
A seven-day total of 35 separates the two implementations. Dividing by seven gives 5 visitors per day, below the threshold; comparing 35 directly with 20 puts it above the threshold. A test using that total would fail if the division were removed.
Youn also added boundary examples around 19.9 visitors per day and exactly 20 per day, helping specify behavior near the decision point. These are test examples from his account, not population statistics. His concise rule of thumb is: “If I can’t name that input, I haven’t tested the operation.”
Why the overlap check missed a broken integration
A second function was intended to reuse another system’s rule for identifying blog-post overlap: compare both the title and blog topic over the preceding 30 days. A test double showed that overlapping titles were caught, but the test did not check which arguments the function passed or which time period it used.
As a result, mutations that dropped the topic argument or changed the period from 30 days to 7 days survived. Youn says the real ledger then failed to flag a post with an overlapping topic.
Assert the call, not just a favorable outcome
When a function is meant to reuse another system’s rule, checking only that a fake dependency produced the expected result can leave the integration contract untested. Youn’s proposed fix records the test double’s call arguments and asserts that both title and topic are supplied, along with the period taken from the other system’s own constant.
Rank #4
A practical way to use mutation checks
A mutation check asks whether tests still pass after a deliberate change to code. The useful result is not simply a score: a surviving mutation identifies a change the current tests do not distinguish. Youn’s examples suggest a focused review process:
Quick wins for a faster PC:
Scan for outdated or missing drivers - takes under a minuteDriver Scan →Repair Windows errors before they cause bigger problemsFix Now →- Identify the operation the change must preserve. For example, a division that converts a seven-day total to a daily average.
- Find an input that makes removing or changing that operation alter the result. In the threshold example, 35 visitors over seven days distinguishes the average from the raw total.
- Check decision boundaries. Include values just below and at the threshold when those cases have distinct expected behavior.
- Mutate code touched by the change. Do not limit the check to the line or behavior that first drew attention; another relevant function may also be insufficiently tested.
- Verify integration arguments and shared configuration. When code delegates to another system, assert the important data it sends and use the source system’s actual constant where that is the intended contract.
- Investigate surviving mutations. Either the test needs to constrain intended behavior, or the change may not affect behavior the suite is meant to protect.
What a green test suite establishes
A passing suite establishes that the implementation satisfied the behaviors its tests exercised and distinguished. It does not, by itself, establish that every important calculation, argument, or configuration choice is correct. In Youn’s account, the key question was whether a deliberately broken implementation could still satisfy the existing tests.
Best Value
The examples show why inputs near decision boundaries and inputs that make a transformation change the branch can expose gaps. They also show why a test around a fake dependency may need to verify the call contract, not only the output. The field note provides two concrete cases; it does not establish how common these gaps are or how often mutation checks find them.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




