mlsanityData to 7 Oct 2026

SWE-QA-Pro: A Representative Benchmark and Scalable Training Recipe for Repository-Level Code Understanding

arXiv 2603.16124 ↗First posted 17 Mar 2026cs.SE cs.AI cs.CLcited by 9

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Agentic repository-level code understanding is essential for automating complex software engineering tasks, yet the field lacks reliable benchmarks. Existing evaluations often overlook the long tail topics and rely on popular repositories where Large Language Models (LLMs) can cheat via memorized knowledge. To address this, we introduce SWE-QA-Pro, a benchmark constructed from diverse, long-tail repositories with executable environments. We enforce topical balance via issue-driven clustering to cover under-represented task types and apply a rigorous difficulty calibration process: questions solvable by direct-answer baselines are filtered out. This results in a dataset where agentic workflows significantly outperform direct answering (e.g., a ~13-point gap for Claude Sonnet 4.5), confirming the necessity of agentic codebase exploration. Furthermore, to tackle the scarcity of training data for such complex behaviors, we propose a scalable synthetic data pipeline that powers a two-stage training recipe: Supervised Fine-Tuning (SFT) followed by Reinforcement Learning from AI Feedback (RLAIF). This approach allows small open models to learn efficient tool usage and reasoning. Empirically, a Qwen3-8B model trained with our recipe surpasses GPT-4o by 2.3 points on SWE-QA-Pro and substantially narrows the gap to state-of-the-art proprietary models, demonstrating both the validity of our evaluation and the effectiveness of our agentic training workflow.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 16 of its 28 references that are in the map. First posted on arXiv 17 Mar 2026.

Builds on

16 of 28 references.

Closest ancestors · 3

Same direction, newest first

  1. 2025Devstral: Fine-tuning Language Models for Coding Agent Applications8 Aug
  2. 2025SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolution31 Jul
  3. 2025SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agents26 May

Other references · 13

  1. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  2. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
  3. 2024SWIFT:A Scalable lightWeight Infrastructure for Fine-Tuningcited by 345
  4. 2023CodePlan: Repository-level Coding using LLMs and Planningcited by 139
  5. 2021CoSQA: 20,000+ Web Queries for Code Search and Question Answeringcited by 74
  6. 2024Iterative Refinement of Project-Level Code Context for Precise Code Generation with Compiler Feedbackcited by 45
  7. 2025Agent-RLVR: Training Software Engineering Agents via Guidance and Environment Rewardscited by 41
  8. 2025LongCodeBench: Evaluating Coding LLMs at 1M Context Windowscited by 37
  9. 2025SWE-QA: Can Language Models Answer Repository-level Code Questions?cited by 37
  10. 2021CodeQA: A Question Answering Dataset for Source Code Comprehensioncited by 30
  11. 2025CoReQA: Uncovering Potentials of Language Models in Code Repository Question Answeringcited by 17
  12. 2022CodeQueries: A Dataset of Semantic Queries over Codecited by 11
1 more
  1. 2024CodeRepoQA: A Large-scale Benchmark for Software Engineering Question Answeringcited by 11

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 9.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026DeepRepoQA: Code Repository Question Answering with Deep Agent Exploration
  2. 2025Training Versatile Coding Agents in Synthetic Environments
  3. 2026E2E-SWE: Benchmarking LLMs on Building Working Codebases from Scratch
  4. 2025SWE-Compass: Towards Unified Evaluation of Agentic Coding Abilities for Large Language Models
  5. 2026SWE-World: Building Software Engineering Agents in Docker-Free Environments
  6. 2026SWE-Explore: Benchmarking How Coding Agents Explore Repositories
  7. 2026SWE-Shepherd: Advancing PRMs for Reinforcing Code Agents
  8. 2026SWE-QA: A Dataset and Benchmark for Complex Code Understanding