The AI found real bugs in a large codebase, but most of its fixes were garbage
A developer threw a significant codebase at the AI. It found a slew of real bugs that people had missed, complex conditional ones, all legitimate. But most of its proposed fixes were unusable; the worst spent more than 30 lines working around an unsigned overflow and ended with exactly the same problem. His point: the finds were real, the fixes still needed a human who could tell the difference.
How it works
- He gives the AI a significant codebase to review
- It reports a slew of missed bugs, all legitimate
- He works through the proposed fixes
- Most are garbage, including a 30 line overflow workaround that keeps the same bug
- He posts the mixed verdict
Why it’s worth knowing
Detection and repair split cleanly. The same run that found subtle real bugs produced fixes that quietly kept them.
Where it’s from
Summarized from a public post on stackoverflow.com. See the original ↗