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

Google 论文介绍部署在内部 CI 的 FlowAgent,可在提交前自动修复失败测试,智能体编辑代码、构建并重跑测试直到通过,修复结果附带根因说明进入代码评审。

正文

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