Green CI, swallowed errors: LLM agents clear warnings but keep bugsGreen CI, Swallowed Errors: LLM Agents Clear Warnings but Keep the Bug
Through three controlled experiments, researchers found that coding agents, in order to make CI turn green, will clear static analysis warnings, yet often continue to swallow exceptions that the documentation requires to propagate; a green build does not mean the bug has been fixed. In two synthetic code studies, agents rarely suppressed warnings for real bugs (at most 1.2%), but on traps where the docstring declared that an exception must propagate, they cleared the warning and kept the bug at a rate of 22.5–75.0%, usually by narrowing the except to that exception; ordinary CI accepted 85.8% of such erroneous fixes, and adding ruff or pylint exception rules still accepted 50.0%. A single generic reminder helped only one of the three agents; a docstring review round and the CI checks derived from it were effective for all three. The authors recommend that pipelines directly test documented error paths.
The paper uses controlled experiments to quantify the proportion of coding agents that clear warnings but leave bugs, and compares the effects of three types of mitigation measures: reminders, review rounds, and contract checks.
Research lineage
4 foundations · 0 follow-ups in libraryNo later in-library follow-ups recorded yet.
Hover or focus a connected paper to inspect the citation context.