AIAny
Icon for item

SWE-Explore: Benchmarking How Coding Agents Explore Repositories

Measures how coding agents explore repositories by asking them to return a ranked, line-level list of code regions relevant to an issue under a fixed line budget. Covers 848 issues across 203 repos and 10 languages; evaluates coverage, ranking, and context-efficiency to isolate exploration quality.

Introduction

Repository exploration — identifying which files and specific lines an agent inspects before producing a fix — is a practical bottleneck for coding agents but is often obfuscated by holistic, binary benchmarks (resolved/unresolved). SWE-Explore isolates exploration as a measurable capability, showing that how an agent searches and ranks code regions strongly predicts downstream repair success.

Key Findings
  • Fine-grained, line-level ground truth: the benchmark derives line-level relevance from successful agent trajectories, enabling evaluation at a granularity that file-level tests miss. This exposes differences in what agents actually consult when solving issues.
  • Broad coverage and reproducibility: 848 issues drawn from 203 open-source repositories across 10 programming languages provide diverse, repository-level scenarios for evaluation and comparison.
  • Multi-dimensional metrics: evaluation includes coverage (what fraction of relevant lines are seen), ranking quality (how well relevant lines are prioritized under a line budget), and context-efficiency (how much useful context is included per inspected line). These metrics correlate with downstream repair behavior, making exploration scores predictive rather than purely descriptive.
  • Empirical result: agentic explorers (agents that plan, navigate, and retrieve code) outperform classical retrieval baselines. While modern methods achieve strong file-level localization, line-level coverage and efficient ranking remain the primary axes that separate top performers.
Who it's for and trade-offs

Great fit if you are building or benchmarking coding agents, retrieval/localization modules, or repair pipelines and need a focused, repository-level probe of exploration behavior. It helps diagnose whether failures stem from poor retrieval/ranking or from downstream synthesis. Look elsewhere if you only need black-box end-to-end success rates (resolved/unresolved) or if your priority is execution-time benchmarks rather than retrieval/inspection behavior; SWE-Explore emphasizes what agents read and rank, not execution speed or final patch evaluation alone.

Where it fits

SWE-Explore complements existing repository-level benchmarks (e.g., repair-centric suites) by isolating the exploration step. Use it to evaluate components such as code localizers, context retrievers, and agent navigation policies before integrating with synthesis/repair stages.

Methodological notes

Ground truth is distilled from independent agent trajectories that successfully solved the same issue, producing line-level annotations that reflect actual solution paths rather than manually annotated heuristics. Evaluations enforce a fixed line budget per instance to stress ranking efficiency and context selection.

Information

  • Websitearxiv.org
  • AuthorsShaoqiu Zhang, Yuhang Wang, Jialiang Liang, Yuling Shi, Wenhao Zeng, Maoquan Wang, Shilin He, Ningyuan Xu, Siyu Ye, Kai Cai
  • Published date2026/06/05

More Items

Drives long‑horizon desktop agents by reading and manipulating program state (files, DOM, backends) instead of relying on screenshots. The main agent uses code for actions and structural verification while a lightweight GUI subagent handles rare screenshot-click steps, improving success rates and lowering per-task cost versus screenshot-only approaches.

Bridges the proprietary-to-open-source gap in agentic search by converting multi-step retrieval and reasoning traces into a structured, style-normalized JSON protocol and using it for joint distillation + RL. Produces denser supervision that improves student success rates while reducing style drift.

Lets canvas-native agents plan, generate, edit, and organize long-horizon multimodal creative projects by representing artifacts, versions, and actions as typed canvas nodes and links. Uses a three-layer design (canvas state, protocol bridge, agent runtime) so agents act within an inspectable, editable project state.