SWE-QA-Pro: A Representative Benchmark and Scalable Training Recipe for Repository-Level Code Understanding
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
- 2025Devstral: Fine-tuning Language Models for Coding Agent Applications8 Aug
- 2025SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolution31 Jul
- 2025SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agents26 May
Other references · 13
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
- 2024SWIFT:A Scalable lightWeight Infrastructure for Fine-Tuningcited by 345
- 2023CodePlan: Repository-level Coding using LLMs and Planningcited by 139
- 2021CoSQA: 20,000+ Web Queries for Code Search and Question Answeringcited by 74
- 2024Iterative Refinement of Project-Level Code Context for Precise Code Generation with Compiler Feedbackcited by 45
- 2025Agent-RLVR: Training Software Engineering Agents via Guidance and Environment Rewardscited by 41
- 2025LongCodeBench: Evaluating Coding LLMs at 1M Context Windowscited by 37
- 2025SWE-QA: Can Language Models Answer Repository-level Code Questions?cited by 37
- 2021CodeQA: A Question Answering Dataset for Source Code Comprehensioncited by 30
- 2025CoReQA: Uncovering Potentials of Language Models in Code Repository Question Answeringcited by 17
- 2022CodeQueries: A Dataset of Semantic Queries over Codecited by 11
1 more
Built on by
Citing papers per year: 2026: 9.
9 papers.
- 2026ClawBench: Can AI Agents Complete Everyday Online Tasks?cited by 28
- 2026SWE-Next: Scalable Real-World Software Engineering Tasks for Agentscited by 8
- 2026Dr-DCI: Scaling Direct Corpus Interaction via Dynamic Workspace Expansioncited by 3
- 2026Code-QA-Bench: Separating Code Reasoning from Documentation Memorization in Repository-Level QAcited by 2
- 2026SWE-Pruner Pro: The Coder LLM Already Knows What to Prunecited by 2
- 2026Deep Agentic Search for Repository-Level Code Question Answering: An Empirical Studycited by 1
- 2026Can LLMs Reason About Runtime Behavior? A Repository-Level Dynamic Benchmarkcited by 0
- 2026ANTMAN: Adaptive Need Tracking for Multi-Agent Navigation in Large Information Spacescited by 0
- 2026Harness Annealing: Learning to Act with Less External Controlcited by 0
- 2026Harness Annealing: Learning to Act with Less External Control1 Oct 2026
- 2026ANTMAN: Adaptive Need Tracking for Multi-Agent Navigation in Large Information Spaces27 Sep 2026
- 2026Can LLMs Reason About Runtime Behavior? A Repository-Level Dynamic Benchmark23 Sep 2026
- 2026Deep Agentic Search for Repository-Level Code Question Answering: An Empirical Study2 Aug 2026
- 2026SWE-Pruner Pro: The Coder LLM Already Knows What to Prune20 Jul 2026
- 2026Dr-DCI: Scaling Direct Corpus Interaction via Dynamic Workspace Expansion12 Jun 2026
- 2026Code-QA-Bench: Separating Code Reasoning from Documentation Memorization in Repository-Level QA28 May 2026
- 2026ClawBench: Can AI Agents Complete Everyday Online Tasks?9 Apr 2026
- 2026SWE-Next: Scalable Real-World Software Engineering Tasks for Agents21 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2026DeepRepoQA: Code Repository Question Answering with Deep Agent Exploration
- 2025Training Versatile Coding Agents in Synthetic Environments
- 2026E2E-SWE: Benchmarking LLMs on Building Working Codebases from Scratch
- 2025SWE-Compass: Towards Unified Evaluation of Agentic Coding Abilities for Large Language Models
- 2026SWE-World: Building Software Engineering Agents in Docker-Free Environments
- 2026SWE-Explore: Benchmarking How Coding Agents Explore Repositories
- 2026SWE-Shepherd: Advancing PRMs for Reinforcing Code Agents
- 2026SWE-QA: A Dataset and Benchmark for Complex Code Understanding