arxiv 资讯 热度 18

How Much Do Coding Agents Over-Edit, and Why? An Empirical Study of Unneeded Edits in Repository-Level Agent Patches

AI 导读

代码代理冗余编辑DRA方法模型训练剪枝优化

该研究揭示代码代理过度编辑现象,发现其额外修改多为测试和文档,代码必要性因模型而异,需通过训练和剪枝优化。

This study reveals coding agents' over-editing, finding most extra changes are tests/docs, code necessity varies by model, requiring training/pruning optimization.

重点速览

  • 代理修改量超开发者,但多数为测试和文档添加 Agents modify more code than developers, mostly tests/docs
  • 代码必要性与模型相关,与解决率无直接关联 Code necessity varies by model, unrelated to resolution rate
  • DRA方法可识别冗余代码但存在误删风险 DRA identifies redundant code but risks removing needed changes
  • 剪枝后89%补丁仍能解决问题 89% pruned patches still solve tasks
  • 过度编辑需通过模型训练和工具级剪枝解决 Over-editing requires model training and harness pruning

一句话:代码代理的过度编辑需通过模型训练和工具级剪枝进行优化 / Over-editing in coding agents requires model training and harness-level pruning optimization

推荐理由 为开发者提供优化AI代理编辑策略的实证依据,具有可操作的改进方向

查看原文 ↗ 返回热榜

二次创作声明:本页为 AI 热榜聚合导读,内容与热度数据来自公开来源 (arxiv),版权归原始作者所有;本站仅做转载指引与摘要评述,不复制原文。