大语言模型能否无需代码修复问题?面向无代码错误修复的自动化验证 Can LLMs Fix It Without Code? Toward Automated Verification of No-Code Bug Fixes 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-10-08
⬇️ 1 次下载
👁️ 预览文献
💡 AI 中文简介
本研究探讨大语言模型(LLM)能否生成无需修改代码的修复方案(如调整设置、升级版本),并设计自动化流程在真实浏览器中验证这些方案是否有效。研究测试了322个由LLM生成的修复方案,使用三种执行代理(两种计算机使用代理和一种多模态代理)自动执行并检查错误是否解决。结果发现,最佳配置下仅74.1%的修复有效,且不同执行代理的结果差异显著,表明此类修复方案需要验证后才能提供给用户。
领域软件工程 / 自动化程序修复
适合谁读需要一定专业背景(软件工程、LLM应用)
核心贡献1. 提出了一个基于执行的自动化流程,用于在真实浏览器环境中评估LLM生成的无代码修复方案的有效性。2. 揭示了执行代理的选择对评估结果的巨大影响,强调评估中必须报告和控制执行代理的差异。
关键数据仅17.6%的候选问题能通过设置和健全性检查;不同执行代理下,修复解决率在14.6%到49.7%之间;最佳配置(Claude Opus 4.6在Vanilla流程中)在Claude Sonnet 5执行下解决率达74.1%;更换执行代理平均导致解决率变化38.8%;三个执行代理仅在46.9%的修复上达成一致;与人类执行相比,执行代理在66.1%到88.1%的样本修复上与人类共识一致。
推荐理由如果你关心LLM如何自动修复软件问题,这篇论文用真实浏览器实验揭示了无代码修复的潜力和验证的必要性,数据扎实,值得一读。
关键词["大语言模型", "无代码修复", "自动化验证", "执行代理", "错误报告", "浏览器环境"]

原文摘要

查看英文原文摘要

A no-code fix resolves an invalid bug report by directing the user to change a setting, update to a version where the problem is already fixed, or adjust their workflow. Manually verifying whether a proposed no-code fix resolves the reported bug takes considerable developer time. This study proposes an automated, execution-based pipeline for evaluating the capability of large language models (LLMs) to generate no-code fixes in a real browser environment. We evaluate 322 no-code fixes generated by the 12 configurations released with the benchmark of a previous study, covering bug reports categorized as Faulty Configuration, Wrong Version, or External System & Dependency. An executor agent applies each fix by following its natural-language instructions, and an issue-specific checker determines whether the reported bug persists. We repeat the pipeline with three executors: two Computer-Use Agents, OpenCUA-72B and Claude Sonnet 5, and one multimodal agentic LLM, Meta's Muse Glimmer. Only 17.6% of the candidate issues could be set up and passed both sanity gates. Across the 322 fixes, 14.6% to 49.7% resolved the bug depending on the executor, and the strongest configuration, Claude Opus 4.6 in the Vanilla pipeline, resolved up to 74.1% of its fixes under Claude Sonnet 5. Changing only the executor shifted a configuration's resolution rate by 38.8% on average, and the three executors reached the same verdict on only 46.9% of the fixes. Compared with human execution, the executors matched the human consensus for 66.1% to 88.1% of the sampled fixes. Even under the best executor, fewer than half of the LLM-generated no-code fixes resolve the reported bug, so such fixes need verification before they reach users. Execution-based verification can provide this, but the measured capability depends strongly on the executor, which evaluations must report and control.