AI Over-Edits Are Accumulating Codebase Debt
Your AI coding tool just rewrote an entire 200-line function to fix a single off-by-one error. Tests pass. Diff looks reasonable. Ship it.
Except something quietly broke. The function is now 340 lines. It has None checks, np.asarray conversions, finite-value masking, array validation that wasn't there before.