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

Google 论文介绍部署在内部 CI 中的 FlowAgent 智能体,可在合并前捕获测试失败并自动编辑、构建、重跑测试直至通过,修复以根因说明形式进入代码评审。专家判定 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