智能体
infoq.com ·
@Steef-Jan Wiggers
Agent 三周重构 30 万行代码,从业者质疑其证明力
CodeScene 发布案例研究:编码 agent 在三周内重构了 30 万行 C 代码,token 成本约 4000 美元,结果通过逐帧回放测试框架验证,agent 过程中还构建了针对该代码库的配方手册。InfoQ 报道称,从业者对任务范围、衡量指标以及结果在多大程度上依赖该测试框架提出质疑。
AI推荐理由 CodeScene 案例给出具体规模(30 万行 C 代码、三周、约 4000 美元 token 成本)和验证方式(逐帧回放测试框架),并提到 agent 在过程中积累代码库专属配方,对 Agent 在真实工程任务中的能力边界有参考价值;但从业者对范围、指标及结果对测试框架的依赖程度提出质疑,说明结论尚不具普遍性,需保留不确定性。
72
正文
CodeScene has published a case study in which coding agents refactored 300,000 lines of C over three weeks for roughly $4,000 in tokens, verified by a frame-by-frame replay harness. The agents built a playbook of codebase-specific recipes along the way. Practitioners have questioned the scope, the metric, and how much of the result depends on the harness. By Steef-Jan Wiggers