跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:2611.29162 (cs)
[提交于 2026年11月22日 (v1),最后修订于 2026年11月25日 (此版本, v2)]

标题:Fixed or Deleted? External Feedback Lets Cheaper AI Coding Agents Repair Rule Violations

作者:Laura Wynter
查看论文《Fixed or Deleted? External Feedback Lets Cheaper AI Coding Agents Repair Rule Violations》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:Many defects violate project rules that the code itself does not reveal, such as layering constraints or required tests. We study whether LLM coding agents repair such violations better when an external checker reports them, with their location and a repair goal. Three models, a small, medium and large model, driven by an AI agent, worked on 25 pull requests with 31 planted defects in ten open-source projects, plus 5 correct controls, five times alone and five times with findings from CodeAssure (CA), a commercial checker. We also compare with GitHub Copilot code review, and compare CodeAssure's detection with nine free static-analysis tools run out of the box, including Semgrep and SonarQube Community. Counting a run as repaired only when the repaired code also compiles and keeps its feature, CA findings raised the repair rate from 26% to 69% for the smallest model, from 46% to 90% for the medium model and from 45% to 93% for the largest model (pull-request-level p < 0.001), and from 39% to 84% over all runs. Every Java, TypeScript and Python repair compiled. We found that agents often cleared a defect by deleting a newly added file. Metrics based on whether the defect is gone count feature deletion as a success. The largest model alone did so in 44 of 125 runs. CA includes a check for deleted files that largely prevents this. In an ablation with the check turned off, removals rose from 9 to 65 out of 375 runs and the repair rate fell to 54% (small), 70% (medium) and 85% (large model). The CA workflow also outperformed Copilot code review (p < 0.001). Together, the free tools detected 8 of the 31 defects, and CA detected all 31. With CA, the medium model repaired 90% of runs, against 45% for the largest model alone, at about one fifth of the mean cost per run ($0.17 against $0.91).
评论: 14 pages, 9 tables. Data and analysis code: https://github.com/CodeAssureLabs/external-feedback-coding-agents v2: adds a build and feature check of all scored repairs (Section 4.6); corrects the scoring of one pull request, v2 added funding acknowledgement, shortened abstract
主题: 软件工程 (cs.SE); 人工智能 (cs.AI)
引用方式: arXiv:2611.29162 [cs.SE]
  (或者 arXiv:2611.29162v2 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2611.29162

提交历史

来自:L Wynter
[v1] 2026年11月22日 星期日 02:44:10 UTC (25 KB)
[v2] 2026年11月25日 星期三 04:08:20 UTC (25 KB)
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-11
切换浏览方式为:
cs
cs.AI

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站