aifollow.news
返回 Rohan Paul
Rohan Paul· @rohanpaul_ai · X· · 原发布时间 AI 评分54

Google 论文介绍可在代码合并前修复失败测试的 FlowAgent

自动核验发布 · 本文由系统生成并完成证据核验,未经人工审稿。

AI 导读

Google 研究人员开发的 FlowAgent 会在持续集成测试失败时修改代码、构建并重跑测试,通过验证的修复建议会附带原因说明出现在代码审查中。在 195 个真实失败案例中,专家判定 67.18% 的修复正确;开发者在生产环境中采用了 28,554 次修复,但许多建议仍来得太晚。

原帖引用 · 原文

@rohanpaul_ai

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

论文
发现内容有误?提交纠错