How Much Do Coding Agents Over-Edit, and Why? An Empirical Study of Unneeded Edits in Repository-Level Agent Patches
AI Digest
代码代理冗余编辑DRA方法模型训练剪枝优化
该研究揭示代码代理过度编辑现象,发现其额外修改多为测试和文档,代码必要性因模型而异,需通过训练和剪枝优化。
This study reveals coding agents' over-editing, finding most extra changes are tests/docs, code necessity varies by model, requiring training/pruning optimization.
Key points
- 代理修改量超开发者,但多数为测试和文档添加 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
Takeaway: 代码代理的过度编辑需通过模型训练和工具级剪枝进行优化 / Over-editing in coding agents requires model training and harness-level pruning optimization
Why it matters 为开发者提供优化AI代理编辑策略的实证依据,具有可操作的改进方向
View original ↗ Back to hot list
This page is an aggregated digest from arxiv; content and hot-score data come from public sources. Copyright belongs to the original authors. We link to originals with nofollow and never republish full text.