Green CI, Swallowed Errors: LLM Agents Clear Warnings but Keep the Bug
Plain CI accepted 85.8% of wrong repairs that cleared a warning while still swallowing an exception required to propagate.
In two synthetic-code studies, agents often narrowed the flagged 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 documented exception swallowed in 9.7–51.5% of traps under the original CI. A docstring-review turn reduced failures for every agent, while an executable contract check helped four of the five tested. The authors argue that pipelines must directly test the documented error path.
HF Daily Papers' note
In two synthetic-code studies, agents often narrowed the flagged 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 documented exception swallowed in 9.7–51.5% of traps under the original CI. A docstring-review turn reduced failures for every agent, while an executable contract check helped four of the five tested. The authors argue that pipelines must directly test the documented error path.
HF Daily Papers' note
score 5