You ask an agent to fix an off-by-one error. It fixes the error. It also renames two variables, adds input validation, extracts a helper function, reformats the file and converts a callback to async/await. Every test passes. The diff is enormous.
A researcher who studied this behavior calls it over-editing: "a model is over-editing if its output is functionally correct but structurally diverges from the original code more than the minimal fix requires" (Coding Models Are Doing Too Much). The study corrupted a set of programming problems in small, controlled ways, such as flipping a comparison operator, so that the correct fix was known to be tiny. It then measured not only whether models fixed the bug but how much else they changed. The answer to "do models over-edit?" was "Yes, even frontier ones."
The same post explains why this matters more than it seems. Over-editing "is invisible to test suites," because the rewritten code usually works. The cost lands on people instead. "Code review is already a bottleneck," and a model that rewrites whole functions, even correctly, "makes this job dramatically harder as the code is now completely unrecognizable."
A developer who runs autonomous coding agents described three concrete costs in a write-up on scope creep (diff budget write-up on DEV):
- Review cost explodes. A five-line fix takes a minute to check. A twelve-file diff with the fix buried in the middle takes real attention.
- Parallel agents collide. Two agents rarely fight over their assigned tasks. "They fight over the shared utility file both decided to 'tidy up.'"
- Rollbacks get messy. Reverting a bad fix should not also revert an unrelated refactor that later work now depends on.



