Megadose AI progress, ranked daily.

Green CI, Swallowed Errors: LLM Agents Clear Warnings but Keep the Bug

· ArXiv · AI/CL/LG ·
Plain CI accepted 85.8% of wrong repairs that cleared a warning while still swallowing an exception meant to propagate.

In two synthetic-code studies, agents cleared warnings but preserved the exception-handling bug in 22.5–75.0% of traps. They usually narrowed the handler to catch precisely the exception the docstring said must escape. A third study using real library and recent GitHub functions found seven agents left that error intact in 9.7–51.5% of traps under the original CI. A docstring-review turn reduced failures for every agent; executable checks of the documented behavior helped four of five agents tested.

ArXiv · AI/CL/LG's note

score 5

Categories: Research