SWEeper-Bench:智能体能否发现交互式软件中的缺陷?
研究论文 · 2026/10/15
编码智能体越来越多地通过即时生成交互式软件与用户互动,而非以文本回复,但此类软件中的许多缺陷只有在多步交互后才会显现。目前用户必须自行发现这些缺陷并等待修复,导致开发循环缓慢且昂贵。现有基准通常假设缺陷已被识别,使得智能体发现依赖交互的故障的能力在很大程度上未被评估。我们提出了 SWEeper-Bench,包含 200 个任务,源自 200 个广泛使用的开源 Web 应用中的真实缺陷修复。每个任务仅向智能体提供代码库和一个开放式请求,例如“查找并修复 Focalboard 的看板共享和成员资格中的问题”。由于这些缺陷仅从代码中难以检测,智能体必须设计交互式测试来发现它们。一个智能体验证器随后根据用户在浏览器中观察到的内容来评判每次修复。15 个前沿智能体中表现最好的仅通过 59.0% 的任务。通过对智能体轨迹的逐阶段分析,我们表明最大的瓶颈是识别缺陷行为:智能体常常到达相关功能,但从未触发故障或未能识别它。SWEeper-Bench 衡量了智能体在自行闭合这一循环、交付无需等待用户反馈即可工作的软件方面的进展。
该研究首次系统评估智能体在交互式软件中发现依赖多步交互的缺陷的能力,揭示了当前智能体的主要瓶颈,并为未来自主修复软件缺陷的研究提供了基准和方向。
Coding agents increasingly interact with users by generating interactive software on the fly rather than replying in text, yet many bugs in such software reveal themselves only after multi-step interactions. Today, users must discover these bugs and wait for fixes, making the development loop slow and expensive. Existing benchmarks typically assume the bugs have already been identified, leaving agents' ability to find interaction-dependent failures largely unevaluated. We introduce SWEeper-Bench, 200 tasks built from real bug fixes in 200 widely used open-source web applications. Each task gives the agent only the codebase and an open-ended request such as "Find and fix issues in Focalboard's board sharing and membership." Because these bugs are hard to detect from code alone, agents must design interactive tests to uncover them. An agentic verifier then judges each repair by what a user would observe in the browser. The best of 15 frontier agents passes only 59.0% of tasks. Through stage-by-stage analysis of agent trajectories, we show that the biggest bottleneck is identifying the buggy behavior: agents often reach the relevant feature but never trigger the failure or fail to recognize it. SWEeper-Bench measures progress toward agents that close this loop themselves, delivering software that works without waiting for user feedback.