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

Google 论文介绍 FlowAgent,它能在 CI 阶段捕获测试失败,由智能体编辑、构建并重跑测试直到通过,修复结果连同根因说明出现在代码审查中。专家判定其修复在 195 个真实失败中 67.18% 正确,开发者已在生产环境应用 28,554 次修复。该智能体中位运行耗时 9.85 分钟,而开发者开始编辑前的中位耗时为 27.48 分钟,但许多修复仍来得太晚。

正文

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