The green build that ships the wrong answer
After a runtime or API migration, a language model can repair a procedure so that it runs cleanly and returns the wrong result — and a release check on typical inputs will let it through. A paper posted to arXiv on 4 November puts a number on how often that happens, in a preregistered study of 73 tasks covering 60 documented changes in CPython, Node.js and SQLite.
Every candidate repair is executed on the real runtime and judged against withheld contracts, so the verdict does not depend on the model’s own account of its work. Over the complete repair space, an all-assertions gate on typical inputs released 0.410 of the wrong repairs. Four in ten bad fixes passed a full test suite.

One well-chosen input does most of the work
The intervention that fixes it is small. A single edge input, written from the release note that documented the change, cut wrong releases to 0.065, and to 0.061 on 15 unseen clusters. Three inputs from a blind GPT-5.6-luna writer that never saw the program reached 0.070 — close to the same effect from a model that knew nothing about the code.
Across four model families, the edge input cut wrong releases per attempt in all three open-weight families on all three menus, in one case from 0.233 to 0.057, without lowering the rate of correct completion. Self-tests, where the model wrote its own checks, helped less.
The hard cases survive the fix
The authors then make the problem harder on purpose. Two further frozen stages enlarged the menu to 1,491 fragments and added 233 hard distractors — wrong programs that match the legacy output on typical inputs, which is exactly the shape of failure a migration produces.
Both headline interventions passed their preregistered tests on the enlarged menus, at 0.058 each. But 0.168 and 0.153 of the hard wrong programs still got through. The edge input is a large improvement and not a guarantee; roughly one in six deliberately deceptive repairs survived it. Two local-model writers failed their preregistered tests outright.

What the study was careful about
Two details are worth noting because they are the kind usually left out. A blind AI audit flagged 34 contracts as stricter than their stated requirements; dropping the disputed checks changed zero verdicts, though the authors leave the class-label disputes open rather than declaring them resolved. And no model-written code was executed outside the measured runs.
The operational reading is narrow and useful. If a team is migrating a runtime and letting a model repair the breakage, the existing test suite is not the safety net it looks like, and the cheapest available improvement is one input drawn from the release note that described the change.