Skip to content

SWEeper-Bench: can agents find defects in interactive software?SWEeper-Bench: Can Agents Discover Bugs in Interactive Software?

Hugging Face Daily Papers· arXiv:2610.14096· Yang Yao, Haozhe Chen, Bingyi Kang, Karthik R Narasimhan, Zhuang LiuPrinceton UniversityIndexed by this site · 2026-10-15· Originally publishedEvaluation

Quick read

Evaluation and benchmarks

Based on the paper PDF (AI-generated); refer to the original

On SWEeper-Bench, Grok 4.6 (Cursor, xhigh) achieves a Pass of 59.0%, the highest across 200 tasks.

Questions
Bugs in interactive software that coding agents produce on the spot often appear only after multiple steps, yet existing benchmarks assume the bug has already been reported. Users therefore become the discoverers, and the fix loop is slow and expensive.
Methods
SWEeper-Bench contains 200 real web application tasks. Agents are given only the codebase, a running instance, and a request naming a feature area; they must discover and fix the bug themselves. The validator, without seeing the source, checks both the target behavior and nearby functionality in the browser.
Experiments and results
Among 15 agents, Grok 4.6 (Cursor, xhigh) achieves a Pass of 59.0%. The authors state the bottleneck is identifying the buggy behavior (75.4% reach the feature, 50.0% recognize it). With a detailed bug description, five agents achieve a Pass of 96.0% or 96.5%.
Limitations and future work
The authors say it covers only web applications, scores only one known bug per task, and measures recall rather than precision; other real fixes are not scored, and behavioral tests check only functional correctness. The experiments include 15 agents and 200 tasks, and the stage statistics average over 14 agents.
Experimental setupGrok 4.6、Qwen 3.8 Flash et al. · SWEeper-Bench · Pass rate、Target pass rate et al.
Evaluated models
Grok 4.6Qwen 3.8 FlashClaude Fable 5.1Claude Opus 5GPT-6 AstraDeepSeek V4.1 FlashKimi K3DeepSeek V4 ProGPT-5.6 SolMuse Spark 1.3GLM 5.3GPT-5.6 LunaGLM 5.3 FlashGPT-5.6 TerraQwen 3.8 Max
Benchmarks
SWEeper-Bench
Metrics
Pass rateTarget pass ratePreservation pass rate
AI summaryThe research team released SWEeper-Bench, which uses 200 tasks drawn from real bug fixes in 200 commonly used open-source web applications to evaluate whether agents can discover bugs in interactive software. Each task gives the agent only a codebase and an open-ended request, such as finding and fixing issues in Focalboard's board sharing and member management; the agent must design its own interaction tests to expose these bugs that are hard to see from code alone, and a smart validator then judges fixes based on what a user observes in the browser. Among 15 frontier agents, the best-performing one passed only 59.0% of tasks. A stage-by-stage analysis of agent trajectories shows that the biggest bottleneck is identifying buggy behavior; agents often reach the relevant functionality but fail to trigger the failure or fail to recognize it.

The research team released SWEeper-Bench, which uses 200 tasks drawn from real bug fixes in 200 commonly used open-source web applications to evaluate whether agents can discover bugs in interactive software. Each task gives the agent only a codebase and an open-ended request, such as finding and fixing issues in Focalboard's board sharing and member management; the agent must design its own interaction tests to expose these bugs that are hard to see from code alone, and a smart validator then judges fixes based on what a user observes in the browser. Among 15 frontier agents, the best-performing one passed only 59.0% of tasks. A stage-by-stage analysis of agent trajectories shows that the biggest bottleneck is identifying buggy behavior; agents often reach the relevant functionality but fail to trigger the failure or fail to recognize it.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Bugs in interactive software require multiple steps to appear, yet existing benchmarks assume they are already reported.

    Can programming agents discover and fix bugs in interactive software that only surface after multiple steps, before users encounter them.

    • Scenario: The authors state that programming agents are increasingly generating interactive software on the spot, rather than just replying with text. Such bugs depend on specific action sequences, are hard to spot from code alone, and typically only appear in real usage; fixing them therefore passively waits for user feedback, a loop the authors say is slow and expensive (Figure 1a).
    • Existing shortcomings: SWE-bench and its follow-up benchmarks start from user-reported issues, evaluating diagnosis and repair, not discovery. Hidden unit tests check internal state rather than what users see, and may reject valid fixes that take a different implementation path.
    • Task conditions: The agent is given only the buggy codebase, a running instance that reflects its edits, interfaces for tests and build commands, and Chromium with Playwright, plus a one-sentence pointer to a product area. It does not see the original issue, pull request, reference patch, repository history, or behavioral tests, and outbound network access is blocked.
    • Benchmark built by the authors: SWEeper-Bench has 200 tasks, each from a real bug fix in one of 200 open-source web applications. The agent must design its own interaction tests and fix the bug; the task passes only if an agentic verifier, scoring solely on user-visible behavior in the browser, sees both the target test and the kept tests pass.
  2. What related research exists?

    Related benchmarks mostly evaluate post-report fixes or diff review; SWEeper-Bench gives only a feature area and evaluates discovery.

    In Related Work, the authors divide prior work into repository-level software engineering benchmarks, testing and verification, and code review, and argue that they either evaluate the stage after a bug report or look mainly at diffs.

    Repository-level agents and benchmarks

    • Improving the fix pipeline: Zhang et al. (2024), Yang et al. (2024), Xia et al. (2025), Wang et al. (2025), Pan et al. (2025), and Applis, Lian, Tian, Ganhotra, He and Roy, Kuang et al. (2026) improve repository-level agents in terms of interface, code localization, or structured fixes. The paper here only describes the approaches.
    • Issue already given: SWE-bench (Jimenez et al., 2024) evaluates agents on real GitHub issues. Later work raises difficulty, adds visual problems and more languages, refreshes tasks, or covers freelancing, broader engineering tasks, user feedback, and rebuilding programs from scratch (Deng et al., 2025; Huang et al., 2026; Ehrenberg et al., 2026; Zheng et al., 2026; Yang et al., 2025; Rashid et al., 2025; Zan et al., 2025; Shi et al., 2026; Zhang et al., 2025; Miserendino et al., 2025; Raghavendra et al., 2026a,b; Yang et al., 2026). The authors say these tasks state what to fix or achieve, so they evaluate the post-report stage.
    • Goal written into the task: WebArena (Zhou et al., 2024), OSWorld (Xie et al., 2024), and Terminal-Bench (Merrill et al., 2026) likewise specify a goal. The authors group them with the previous category.

    Testing and verification

    • Report first, then write tests: SWT-Bench (Mündler et al., 2024) has agents write tests to reproduce a reported issue. The authors note the bug is known in advance.
    • Only reporting usability problems: WebProber (Ye et al., 2025) has agents browse websites like users and report usability problems. The authors note it does not evaluate fixes.
    • How scoring is done: Most benchmarks use hidden unit tests written alongside the reference fix (Jimenez et al., 2024; Rashid et al., 2025; Zan et al., 2025). The authors say such tests may reject valid alternative fixes. Others use engineer-written browser tests (Miserendino et al., 2025) and in-environment scripts (Huang et al., 2026; Merrill et al., 2026). Browser Use (Müller and Žunič, 2024) makes it possible to check behavior through the interface; the authors say their verifier operates on step-by-step behavioral tests and accepts any fix that restores what the user sees.

    Code review

    • Finding unreported problems: Early work learns review from data (Li et al., 2022; Frömmgen et al., 2024). Cursor Bugbot, GitHub Copilot code review, CodeRabbit, Greptile, Codex code review, Claude Code Review, and Gemini Code Assist check for bugs when a pull request is opened. SWR-Bench (Zeng et al., 2026) and Sphinx (Zhang et al., 2026) score comments on real PRs.
    • Difference the authors point out: The authors say these tools also look for unreported problems, but mostly analyze diffs and surrounding code; SWEeper-Bench evaluates bugs in a running application that appear only after a sequence of user actions.

    The authors position this paper as naming only a product area and evaluating the step that produces the bug report: the agent must design tests when the bug is unknown, then fix what it finds.

  3. How does the paper address this problem?

    200 real web bugs paired with open-ended requests, scored by a browser verifier that cannot see the source, based on user-visible behavior.

    SWEeper-Bench gives an agent an open-ended request that only names a feature area, lets it explore a running web application in a sandbox and submit a patch, and then a validator that cannot see the source code scores it based on user-visible behavior in the browser.

    Where tasks come from

    • One PR, one application: Each task comes from a merged pull request that fixes a user-facing bug. The parent commit is the buggy version; the merged fix is the reference fix. Each application contributes only one task, totaling 200 applications across seven domains (Figure 4). The median repository star count is 4.6k.
    • Hard to find, obvious once seen: The authors filter for bugs that can be reproduced through normal use and that any user would consider needing a fix. Agents may fix multiple issues in the named area, but only the target bug is scored; the authors claim a full sweep of the area should include it.
    • Human verification: The authors manually reproduce each bug in a browser, confirm the reference fix resolves it, and run through two behavioral tests. One Focalboard case required two accounts and nine steps to see: sharing wrote a membership but did not place the board in the recipient's default sidebar category; the fix was a single function call (Figure 5).

    What the agent gets

    • Open-ended request: A single sentence naming only the product area, without stating what is broken, where the code is, or how to reproduce. Appendix A gives the full template.
    • Sandbox: An isolated environment contains the buggy source code, a running instance that reflects edits, interfaces for tests and build commands, and a pre-installed Playwright Chromium. The agent decides what to read, which scenarios to test, and when to stop. Only code changes are scored after stopping.
    • Browser requirement by default: The default prompt requires end-to-end testing in the browser like a real user. The ablation in Section 4.1 removes the requirement to test in the browser, mentions of Chromium and Playwright, and the instruction to open the product UI; Appendix A gives the full prompt.

    Behavioral tests and validator

    • Two tests: The code changes are applied to a fresh buggy application. The validator agent, without seeing the source, follows step-by-step user instructions in the browser. Each instruction has explicit pass and fail criteria. Appendix B's Table 6 gives the full Focalboard target test; setup issues like login failures are reported separately from product failures.
    • Pass condition: The target test reproduces the interaction that exposes the bug and checks whether the expected behavior is restored; the keep test checks that nearby functionality still works. Both must pass for the task to pass.
    • Validator calibration: On buggy and reference-fixed versions, three configurations are each run three times, with 200 tasks per run (Table 1). Ideally, the target test pass rate is 0% on the buggy version and 100% on the fixed version. The authors claim all three configurations fall within one percentage point of the ideal, with cross-run standard deviations at most 0.8 points. Per-task costs for the three tiers are $0.160, $0.635, and $3.840; the default uses the $0.160 GPT-5.6 Luna + Codex. At that tier, the target pass rate is 0.2±0.3 on the buggy version and 99.8±0.3 on the reference fix (both as percentages).

    How trajectories are segmented post hoc

    • Five stages: For analysis, trajectories are divided into cumulative stages: finding the buggy feature, identifying the buggy behavior, diagnosing the root cause, fixing that behavior, and preserving existing behavior. The first three stages are judged by GPT-5.6 Luna reading the trajectory against a task description written from the reference fix; the last two come from the behavioral tests (Section 3.2, Figure 7). This description is not provided to the tested agents.
  4. What experiments did the paper conduct?

    The highest Pass among 15 agents is 59.0%; the authors state the bottleneck is recognizing the buggy behavior, not fixing it.

    Experimental setup

    • Tested agents: 15, with models and harnesses: Grok 4.6+Cursor; Qwen 3.8 Flash+Codex; Claude Fable 5.1+Claude Code; Claude Opus 5+Claude Code; GPT-6 Astra+Codex; DeepSeek V4.1 Flash+DeepSeek; Kimi K3+Kimi Code; DeepSeek V4 Pro+DeepSeek; GPT-5.6 Sol+Codex; Muse Spark 1.3+Muse Code; GLM 5.3+Codex; GPT-5.6 Luna+Codex; GLM 5.3 Flash+Codex; GPT-5.6 Terra+Codex; Qwen 3.8 Max+Codex. Native harness is used if available; otherwise Codex.
    • Inference settings and protocol: In Table 2, most use xhigh; Kimi K3 uses high; the two GLM models use max; Qwen 3.8 Max uses none. All use browser instructions, with an 8-hour limit per task.
    • Tasks: 200, with task counts by domain: Content & knowledge 40, IT, security & dev tools 35, Collaboration & communication 31, Files, media & sharing 29, Finance & business 28, Personal & lifestyle 22, Commerce & payments 15 (Figure 4).
    • Metrics: Pass is the percentage of tasks where both behavioral tests pass; Target and keep are reported separately. Time is the mean±standard deviation of working time per task; cost is the average predicted cost per task in US dollars.
    • Judgment: The default validator is GPT-5.6 Luna + Codex. The first three trajectory stages are also judged by GPT-5.6 Luna against a description written from the reference fix. The paper does not report agreement between this judgment and human annotation, nor the number of repetitions in the main experiment.

    Main results

    According to Table 2. The table below has 6 rows including the highest and lowest Pass. Not listed: GPT-6 Astra, DeepSeek V4.1 Flash, Kimi K3, DeepSeek V4 Pro, GPT-5.6 Sol, Muse Spark 1.3, GLM 5.3, GPT-5.6 Luna, GLM 5.3 Flash.

    Swipe horizontally to read the table

    Model (harness, inference setting)PassTargetKeepCost (USD)
    Grok 4.6 (Cursor, xhigh)59.059.0100.06.41
    Qwen 3.8 Flash (Codex, xhigh)57.558.097.50.76
    Claude Fable 5.1 (Claude Code, xhigh)56.556.5100.011.76
    Claude Opus 5 (Claude Code, xhigh)56.557.598.525.01
    GPT-5.6 Terra (Codex, xhigh)35.035.599.01.64
    Qwen 3.8 Max (Codex, none)28.028.099.02.51
    • The authors state the benchmark is far from solved: 9 of 15 have Pass below 50%. Pass (cost, USD) for those not listed: GPT-6 Astra 56.5 (5.73), DeepSeek V4.1 Flash 51.5 (0.35), Kimi K3 48.5 (10.19), DeepSeek V4 Pro 47.0 (1.38), GPT-5.6 Sol 47.0 (4.28), Muse Spark 1.3 47.0 (4.75), GLM 5.3 43.5 (2.53), GPT-5.6 Luna 42.0 (0.15), GLM 5.3 Flash 39.5 (0.26), all from Table 2. Among these, Kimi's Target is 49.0, Muse's is 47.5, and Luna's is 43.5.
    • The authors state that failures almost all come from the target test; agents rarely break working functionality but often miss the bug they are looking for. Several rows have Target higher than Pass because Pass requires both tests to pass.
    • The authors state that similar Pass values can differ in cost by more than 30 times (Figure 2). The text states Grok 4.6 averages 12 minutes and Qwen 3.8 Flash averages 102 minutes; Table 2 shows 12.3±3.9 and 101.8±46.6. The authors state Claude Opus 5 and Claude Fable 5.1 have the same Pass but more than double the cost.

    Where trajectories stop

    • What was measured: Five cumulative stages, where each later stage requires all previous ones. Figure 7 averages over 14 agents; the paper does not state which one is omitted.
    • Results: Trajectories reaching the buggy feature account for 75.4% (ranging from 63.5% to 91.4% across agents), identifying buggy behavior 50.0%, diagnosing root cause 43.8%, passing the target test 41.0%, and also preserving nearby functionality 40.8%.
    • Authors' interpretation: The authors state the largest drop is in identifying buggy behavior. Agents often reach the feature area but do not run the interaction that exposes the bug, or trigger the failure without recognizing it as a bug. In Figure 6, all four examined agents see the Focalboard recipient sidebar empty: Claude Fable 5.1 and GLM 5.3 treat it as a bug and fix it; Claude Opus 5 judges it as expected behavior because existing unit tests do not check sidebar updates; GPT-6 Astra moves on to fix another bug. The authors also cite examples of looking in the wrong feature, attributing escaping to client-side encoding, attributing merge failure to case-sensitive lookup, and changing default inventory while missing the API field that provides quantity.

    After being told the bug

    • What was measured: Five agents receive a detailed prompt describing the target bug and expected behavior, acting as a bug report (Appendix A), with everything else unchanged. GPT-5.6 Sol's detailed prompt tasks number 199 (Table 4).
    • Results: The five agents' Pass changes from 35.0% to 51.5% under open-ended requests to 96.0% or 96.5%. DeepSeek V4.1 Flash and GPT-5.6 Sol achieve 96.5%; GLM 5.3, GPT-5.6 Luna, and GPT-5.6 Terra achieve 96.0%. GPT-5.6 Luna's median browser launches drop from 26 to 14, and median lines changed drop from 49 to 13.
    • Authors' interpretation: The authors state the difficulty lies in writing the bug report, not in making changes after receiving it; differences among agents nearly disappear with the detailed prompt.

    Other ablations and analyses

    • Browser instructions (Table 3, models GPT-5.6 Luna and GLM 5.3): Without instructions, tasks driving the browser are 2/200 and 6/200, with Pass of 39.5% and 31.5%; with instructions, both are 200/200, with Pass of 42.0% and 43.5%. The authors state interactive testing is not yet a capability agents perform on their own, so they keep the instruction to measure how well they test, not whether they think to test.
    • Work time and browser usage (Figures 8, 9): The authors state longer work time and more browser operations do not correspond to higher Pass. Grok 4.6 and GPT-6 Astra average about 13 minutes; Qwen 3.8 Flash and Kimi K3 average 102 and 90 minutes. In three tasks, Qwen 3.8 Flash nearly used the full 8 hours without producing a patch; Grok 4.6 stops after 7.8 minutes on AbanteCart. Among agents with recorded tool calls, browser actions account for 17% to 62% of turns, or 371 to 1,082 per task. Qwen 3.8 Max has 517 per task with Pass 28.0%; Claude Fable 5.1 uses the browser in only 25% of turns with Pass 56.5%.
    • Harness (Table 5, model fixed to GPT-5.6 Luna): Pass is Codex 42.5%, Cursor 40.0%, Kimi Code 37.5%, Claude Code 35.0%, Muse Code 35.0%. The authors state a matching harness helps, but the model itself explains most of the differences among agents. In Table 2, the same model with Codex has a Pass of 42.0%; the paper does not explain the difference from 42.5%.
    • Time limits (Figure 10): GPT-5.6 Luna, GPT-5.6 Terra, and GLM 5.3 are asked to keep working on the same 40 tasks for 20, 40, 60, and 80 minutes. Pass increases from 20 to 40 minutes and then does not increase further, with peaks of 50.0%, 52.5%, and 62.0% in that order. The authors state that with 40 tasks, these differences are not statistically significant, and there is no evidence that more time alone can close the gap.
  5. What are some points that can be further explored?

    The authors say the benchmark covers only web applications, counts only one known bug per task, and checks only functional correctness.

    Limitations and future directions noted by the authors

    • Only covers web applications (Section 6): The authors state SWEeper-Bench only covers web applications.
    • Only one known bug is scored (Section 6): Each task scores only one known bug, so it measures recall rather than precision.
    • Other fixes are not scored (Section 6): Fixing other real issues in the area earns no credit; unnecessary changes are not penalized unless they break the keep test.
    • Only functional correctness is checked (Section 6): Behavioral tests do not check visual design, usability, or responsiveness.
    • Future work (Section 6): The authors state that extending the benchmark to other interactive software and these aspects of user experience is a natural next step.

    Experimental coverage

    • The main experiment uses 15 agents, 200 tasks, an 8-hour limit per task, and default browser instructions; inference settings are in Table 2 (Section 3.1).
    • Tasks come from 200 open-source web applications across seven domains, one per application; median star count is 4.6k (Section 2.1, Figure 4). Agents cannot see the original issue, PR, reference patch, history, or behavioral tests, and outbound network access is blocked.
    • The validator is run on buggy and reference-fixed versions, three configurations, three runs each, with 200 tasks per run (Table 1). The default configuration is GPT-5.6 Luna + Codex.
    • Stage statistics are averages over 14 agent trajectories; the range across agents for reaching the feature is 63.5% to 91.4%. The paper does not state which agent is omitted or report agreement between this judgment and human annotation (Section 3.2).
    • Additionally, two models have browser instructions removed (Table 3); five models receive detailed bug descriptions, with GPT-5.6 Sol on 199 tasks (Table 4); GPT-5.6 Luna with five harnesses (Table 5); three models on 40 tasks with time limits of 20, 40, 60, and 80 minutes (Figure 10), and the paper does not state how these 40 tasks were sampled. Figure 9 includes only agents whose harness recorded tool calls; the paper does not provide the list of this subset.
  6. Summarize the main content of the paper

    The highest Pass on 200 open-ended tasks is 59.0%; with a detailed bug description, five agents reach 96.0% or 96.5%.

    SWEeper-Bench evaluates whether coding agents can find bugs in interactive web applications themselves, rather than fixing them after receiving a report.

    • Problem: Existing repository benchmarks mostly start from reported issues. The authors argue that interactively generated software has no test team as a backstop, so bugs that depend on multi-step actions get hit by users first.
    • Approach: 200 tasks, each from one real fix in a different open-source web application. The agent sees only the codebase, a running instance, and a request naming only a feature area; it must design interactive tests itself and change the code. A verifier that cannot see the source runs the target test and preservation tests in the browser, and the task passes only if both pass.
    • Main results: Among 15 frontier agents, Grok 4.6 (Cursor, xhigh) has a Pass of 59.0%, and Qwen 3.8 Max (Codex, none) 28.0%; 9 are below 50% (Table 2). The authors say what is missed is mainly the target bug, with preservation tests mostly between 97.5% and 100%.
    • Bottleneck: Across 14 agents, an average of 75.4% of trajectories reach the buggy feature, but only 50.0% identify the buggy behavior (Section 3.2). With a detailed bug description instead, five agents have a Pass of 96.0% or 96.5% (Table 4; GPT-5.6 Sol on 199 tasks). When the use of a browser is not stated, GPT-5.6 Luna and GLM 5.3 drive the browser in only 2/200 and 6/200 tasks, respectively (Table 3).
    • Authors' conclusion: The authors say current agents can fix these bugs once given a bug report; the gap is in testing: choosing scenarios, running them in the interface, and recognizing a failure when they see one. The authors argue that as agents build software on the spot for individual users, this gap will become more important; verifiers that check user-visible behavior could also reward such testing during training.
Read originalhuggingface.co