跳到正文
arXiv cs.SE· Lo Gullstrand Heander, Markus Borg, Emma S\"oderberg, Christofer Rydenf\"alt·· 3 小时前AI 评分32

CodeHealth 可预测智能体代码审查的 Token 成本:一项针对 465 个智能体编写 PR 的预注册研究

CodeHealth Predicts the Token Cost of Agentic Code Review: A Pre-Registered Study of 465 Agent-Authored Pull Requests

AI 导读

一项预注册研究对 AIDev 中 246 个仓库的 465 个智能体编写 PR 进行分析,发现基线 CodeHealth 每提高 1 分,多智能体审查与修复的 token 成本降低 3.5% 至 6.1%,且该关联与 PR 规模无关。研究用冻结的五智能体流水线搭配三种 LLM 处理每个 PR,关联主要出现在审查阶段,调整评分文件大小后关联被吸收,提示文件大小起中介作用。

来源:arXiv cs.SE · arxiv.org