Active-SWE: Benchmarking Coding Agents for Proactive Bug Fixing without Issue Reports

Haobin Li, Ping Deng, Weizhong Qian, Liang Jiang, Zhenyu Huang, Mouxing Yang, Xi PengarXiv 2026

TL;DR

Existing software engineering benchmarks evaluate LLM coding agents reactively by providing them with detailed, human-written issue reports. This paper introduces Active-SWE, a new benchmark that shifts the paradigm to proactive bug fixing, requiring agents to inspect code repositories, discover vulnerabilities, and fix multiple bugs entirely without issue reports. Evaluation reveals that even state-of-the-art models struggle significantly in this more realistic, unguided setting.

What Problem Does This Paper Address?

Most current benchmarks for AI coding agents (like SWE-bench) operate under an ideal assumption: a human has already found a bug, diagnosed it, and written a clean issue report detailing the error messages, expected behavior, or fault locations.

In the real world, relying on high-quality issue reports is unrealistic. Bug acquisition is often post-hoc—meaning bugs escape into production and cause severe outages (like the 2024 CrowdStrike incident) before anyone notices them. Furthermore, human-authored reports are frequently ambiguous, incomplete, or low-quality.

To build truly autonomous software engineering agents, we need them to act proactively. This paper addresses the lack of benchmarks for evaluating an agent's ability to explore a codebase, identify hidden bugs, and generate patches without any external hints.

Figure 1: (a) Reactive Bug Fixing: existing benchmarks aim to fix a specific bug with detailed issue reports, largely overlooking that such desirable reports are often unavailable due to costly bug identification and unreliable issue descriptions. (b) Proactive Bug Fixing: we introduce Active- SWE to evaluate coding agents on proactive bug discovery and repair without issue reports, posing greater demands on code inspection, bug identification, and repair capabilities. (c) Comprehensive Evaluation: two novel evaluation dimensions are designed for the comprehensive assessment of proactive bug-fixing capability: i) validating both recorded bug fixing and potential bug discovery; ii) supporting bug-fixing tasks that involve multiple bugs rather than a specific fix.

Methods

The authors developed a systematic pipeline to construct Active-SWE and evaluate coding agents through a dual-track framework:

  1. Taxonomy-Driven Data Curation: The pipeline mines real-world Pull Requests (PRs) from GitHub. It filters out non-bug-fixing activities (like refactoring or feature additions) using a multi-LLM consensus voting mechanism that classifies bugs into six distinct categories. An automated ReAct-style setup agent then builds Docker environments to ensure tests can be executed reliably.
  2. Difficulty-Aware Task Formulation:
  3. Simple Setting: The agent is given a review scope of files from a single PR containing at least one recorded bug.
  4. Hard Setting: The pipeline uses a temporal sliding window to combine multiple adjacent PRs, creating a complex repository snapshot containing multiple independent bugs that must be resolved simultaneously.
  5. Dual-Track Evaluation Framework:
  6. Recorded Bug Evaluation: Measures how well the agent fixes the original bugs using decoupled metrics for localization precision/recall and test-driven resolution rates.
  7. Potential Bug Evaluation: Since agents might find valid bugs not recorded in the original PR, the framework tasks the agent with generating test cases to reproduce any newly discovered bugs. An LLM judge then validates if these tests exhibit true fail-to-pass behavior.

Datasets

The authors introduced two variants of their benchmark:

  • Active-SWE-Extend: A large-scale dataset consisting of 1,663 tasks across 87 popular open-source repositories, covering 8 mainstream programming languages (Python, Go, Rust, PHP, Ruby, JS/TS, Java, C/C++).
  • Active-SWE (Curated Subset): A compact, representative subset of 400 tasks (300 simple, 100 hard) designed for cost-effective and efficient evaluation.

Key Insights and Ideas

  • Proactive fixing is significantly harder than reactive fixing: When stripped of issue reports, top-tier models experience massive performance drops. For example, Claude Opus drops from a 59.0% resolution rate in a reactive setup to just 26.0% in a proactive setup.
  • Localization is the primary bottleneck: Coding agents fail more often at finding the bug than at fixing it. The data shows a strong positive correlation between accurate bug localization and successful repair.
  • LLMs have a bias toward local correctness: Agents are much better at discovering bugs related to Logic & Computation or Reference & Data Flow than complex, state-dependent, or domain-specific workflow bugs. This implies LLMs are better at spotting immediate code flaws than reasoning about systemic software architecture.
  • Different dynamics in tool usage: In proactive scenarios, agents spend significantly more early-stage effort inspecting code and exploring repositories before moving to search and execution, whereas reactive settings allow them to jump straight to test execution.

Key Results

The authors evaluated several state-of-the-art closed- and open-source LLMs using Claude Code as the underlying agent scaffold:

  • Low Overall Success: The highest recorded bug resolution rate was a mere 20.0% by Claude Opus 4.8, followed closely by GPT-5.5 at 18.5%. Most models hovered around or below 10%.
  • Open-Source Competitiveness: Alibaba's GLM-5.2 achieved a 13.0% resolution rate on recorded bugs and a 69.0% rate for revealing valid potential bugs, outperforming several closed-source models like Claude Sonnet 4.6 and GPT-5.4.
  • Multi-Bug Failures: Under the hard setting, agents rarely managed to resolve multiple bugs simultaneously, frequently providing incomplete fixes or failing to locate all the disparate issues within the codebase.
Localization vs. Resolution Rates

Limitations and Future Work

A primary limitation acknowledged in the paper is the high failure rate during the temporal-aware integration phase for the hard setting; combining multiple PRs often introduces dependency conflicts or broken environments, limiting the volume of multi-bug tasks that can be successfully generated.

For future work, the authors plan to expand the proactive framework into adjacent software engineering domains, specifically targeting downstream security applications like automated vulnerability discovery and security-oriented code auditing.

Summary updated

BibTeX
@misc{li2026active,
  author = {Haobin Li and Ping Deng and Weizhong Qian and Liang Jiang and Zhenyu Huang and Mouxing Yang and Xi Peng},
  title = {{Active-SWE: Benchmarking Coding Agents for Proactive Bug Fixing without Issue Reports}},
  year = {2026},
  eprint = {2608.04682},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.04682},
}
Figure