Puls Dane publiczne, aktualizowane automatycznie
arXiv – nowe publikacje publikacja

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

[Inżynieria oprogramowania] Autorzy: Xiaobo Chen, Yan Mo, Sihong He

Coding agents are asked to make continuous integration (CI) pass, and many pipelines accept a repair once the static-analysis warning is gone and the build is green. We ask whether a green build means the bug is fixed. We study one trap: a flagged exception handler in a function whose docstring says the exception must propagate. Hidden tests check the documented behavior. In two synthetic-code studies, one registered on OSF and one hash-frozen before testing, agents rarely suppressed warnings on real bugs (at most 1.2%). On these traps, however, they cleared the warning and kept the bug in 22.5-75.0% of cases, usually by narrowing the handler to the exception that must propagate. Plain CI accepted 85.8% of these wrong repairs, and with the exception rules of ruff or pylint, 50.0%. A generic reminder helped one of three agents; a docstring-review turn and a CI check derived from the docs…

Kategoria arxiv
cs.SE
Kategoria
Inżynieria oprogramowania
Pdf
https://arxiv.org/pdf/2612.02421v1

Otwórz oryginał w źródle ↗

Więcej z tego źródła

Wszystkie