跳到正文
Rohan Paul· @rohanpaul_ai · X·· 5 小时前AI 评分66
AI 导读

Google 研究人员提出了 FlowAgent,这是一种集成在持续集成系统中的 AI 智能体,可在代码合并前自动修改、构建并重新运行以修复失败的测试。专家评估显示其在 195 个真实失败案例中的修复正确率为 67.18%,在生产环境中已被开发者应用了 28,554 个修复方案,其中位运行时间为 9.85 分钟。

正文 · 原文

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.

来源:Rohan Paul · x.com