Google 论文:FlowAgent 智能体修复 CI 失败测试,速度决定开发者是否采用
Google paper shows that an AI agent can fix failing tests across Google, and speed decides whether developers use the fix.
Google 论文介绍 FlowAgent,它能在 CI 阶段捕获每个失败测试,由智能体反复编辑、构建并重跑测试直至通过,验证后的修复会连同根因说明出现在代码审查中。专家在 195 个真实失败上判定 67.18% 的修复正确,开发者已在生产环境应用 28,554 个修复。其单次运行中位耗时 9.85 分钟,而此前开发者开始编辑前的中位等待为 27.48 分钟,但仍有不少修复到达得太晚。
推荐理由
AI 评分 65
原文给出 FlowAgent 在真实 CI 失败上的修复准确率与生产采用量,可据此判断修复速度对开发者采纳的影响。
主题
正文
Google paper shows that an AI agent can fix failing tests across Google, and speed decides whether developers use the fix.
Tests that fail in CI ( continuous integration) before merge pull developers out of their flow, and existing repair agents mostly work offline after merge.
They built FlowAgent, which catches each test failure and runs an agent that edits, builds, and reruns tests until they pass. Verified fixes appear in code review with a short note on the root cause.
Experts judged 67.18% of its fixes correct on 195 real failures, and developers applied 28,554 fixes in production. Its median run took 9.85 minutes, versus a 27.48-minute median before developers start editing, yet many fixes still arrived too late.