SWE-QA: Can Language Models Answer Repository-level Code Questions?
Not on the map. Why?
Cited by 22 in LLM agents and tool use, but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
Understanding and reasoning about entire software repositories is an essential capability for intelligent software engineering tools. While existing benchmarks such as CoSQA and CodeQA have advanced the field, they predominantly focus on small, self-contained code snippets. These setups fail to capture the complexity of real-world repositories, where effective understanding and reasoning often require navigating multiple files, understanding software architecture, and grounding answers in long-range code dependencies. In this paper, we present SWE-QA, a repository-level code question answering (QA) benchmark designed to facilitate research on automated QA systems in realistic code environments. SWE-QA involves 576 high-quality question-answer pairs spanning diverse categories, including intention understanding, cross-file reasoning, and multi-hop dependency analysis. To construct SWE-QA, we first crawled 77,100 GitHub issues from 11 popular repositories. Based on an analysis of naturally occurring developer questions extracted from these issues, we developed a two-level taxonomy of repository-level questions and constructed a set of seed questions for each category. For each category, we manually curated and validated questions and collected their corresponding answers. As a prototype application, we further develop SWE-QA-Agent, an agentic framework in which LLM agents reason and act to find answers automatically. We evaluate six advanced LLMs on SWE-QA under various context augmentation strategies. Experimental results highlight the promise of LLMs, particularly our SWE-QA-Agent framework, in addressing repository-level QA, while also revealing open challenges and pointing to future research directions.
Key facts. Cited by 38 papers in the map (data through 14 Oct 2026). Builds on 31 of its 86 references that are in the map. First posted on arXiv 18 Sep 2025.
Builds on
31 of 86 references.
References · 31
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,276
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 1,002
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
- 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 367
- 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 331
- 2024CodeAgent: Enhancing Code Generation with Tool-Integrated Agent Systems for Real-World Repo-level Coding Challengescited by 282
- 2024RepoGraph: Enhancing AI Software Engineering with Repository-level Code Graphcited by 91
- 2024FineSurE: Fine-grained Summarization Evaluation using LLMscited by 83
- 2021CoSQA: 20,000+ Web Queries for Code Search and Question Answeringcited by 75
19 more
- 2023Large Language Models are Few-Shot Summarizers: Multi-Intent Comment Generation via In-Context Learningcited by 72
- 2025Can LLMs Replace Human Evaluators? An Empirical Study of LLM-as-a-Judge in Software Engineeringcited by 67
- 2025SWE-Exp: Experience-Driven Software Issue Resolutioncited by 65
- 2025SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolutioncited by 53
- 2024From Code to Correctness: Closing the Last Mile of Code Generation with Hierarchical Debuggingcited by 46
- 2023RepoFusion: Training Code Models to Understand Your Repositorycited by 40
- 2021CodeQA: A Question Answering Dataset for Source Code Comprehensioncited by 30
- 2024RepoTransBench: A Real-World Multilingual Benchmark for Repository-Level Code Translationcited by 23
- 2025Psyche-R1: Towards Reliable Psychological LLMs through Unified Empathy, Expertise, and Reasoningcited by 20
- 2025EvoC2Rust: A Skeleton-guided Framework for Project-Level C-to-Rust Translationcited by 19
- 2025CoReQA: Uncovering Potentials of Language Models in Code Repository Question Answeringcited by 17
- 2025From Code to Courtroom: LLMs as the New Software Judgescited by 16
- 2025ELABORATION: A Comprehensive Benchmark on Human-LLM Competitive Programmingcited by 16
- 2024ProCQA: A Large-scale Community-based Programming Question Answering Dataset for Code Searchcited by 12
- 2025Beyond Emotion Recognition: A Multi-Turn Multimodal Emotion Understanding and Reasoning Benchmarkcited by 12
- 2022CodeQueries: A Dataset of Semantic Queries over Codecited by 11
- 2022CS1QA: A Dataset for Assisting Code-based Question Answering in an Introductory Programming Coursecited by 11
- 2024CodeRepoQA: A Large-scale Benchmark for Software Engineering Question Answeringcited by 11
- 2025Position Bias Mitigates Position Bias:Mitigate Position Bias Through Inter-Position Knowledge Distillationcited by 9
Built on by
Citing papers per year: 2025: 3; 2026: 35.
38 papers.
Sort:
By area:
- 2026SWE-Pruner: Self-Adaptive Context Pruning for Coding Agentscited by 44
- 2025LongCodeZip: Compress Long Context for Code Language Modelscited by 39
- 2026SWE-Explore: Benchmarking How Coding Agents Explore Repositoriescited by 21
- 2026Reasoning in Trees: Improving Retrieval-Augmented Generation for Multi-Hop Question Answeringcited by 14
- 2026Seeing is Coding: On the Effectiveness of Vision Language Models in Code Understandingcited by 13
- 2026SWE-QA-Pro: A Representative Benchmark and Scalable Training Recipe for Repository-Level Code Understandingcited by 9
- 2026CodeScout: An Effective Recipe for Reinforcement Learning of Code Search Agentscited by 9
- 2026EffiSkill: Agent Skill Based Automated Code Efficiency Optimizationcited by 9
- 2026The Context Gathering Decision Process: A POMDP Framework for Agentic Searchcited by 6
- 2026DeployBench: Benchmarking LLM Agents for Research Artifact Deploymentcited by 6
- 2026From Chatbot to Digital Colleague: The Paradigm Shift Toward Persistent Autonomous AIcited by 6
- 2026SWE-Bench ProMax: Benchmarking Agents on Large-Scale Multilingual Code Refactoringcited by 6
26 more
- 2026FastContext: Training Efficient Repository Explorer for Coding Agentscited by 5
- 2025Fed-SE: Federated Self-Evolution for Privacy-Constrained Multi-Environment LLM Agentscited by 3
- 2026LLM Agents Can See Code Repositoriescited by 3
- 2026Repo0: Design-Driven Zero-to-All Code Generationcited by 3
- 2026EarlyEval: Cheaper Agent Evaluation via Early Outcome Predictioncited by 3
- 2025HyperAgent: Leveraging Hypergraphs for Topology Optimization in Multi-Agent Communicationcited by 2
- 2026ClassEval-Pro: A Cross-Domain Benchmark for Class-Level Code Generationcited by 2
- 2026Context Pruning for Coding Agents via Multi-Rubric Latent Reasoningcited by 2
- 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
- 2026RepoProbe: Benchmarking Architecture-Aware Repository Comprehension with Checklistscited by 2
- 2026FastCode: Fast and Cost-Efficient Code Understanding and Reasoningcited by 1
- 2026Who Wrote This Line? Evaluating the Detection of LLM-Generated Classical Chinese Poetrycited by 1
- 2026Neurosymbolic Repo-level Code Localizationcited by 1
- 2026Deep Agentic Search for Repository-Level Code Question Answering: An Empirical Studycited by 1
- 2026SWE-Spot: Building Small Repo-Experts with Repository-Centric Learningcited by 0
- 2026ShredBench: Evaluating the Semantic Reasoning Capabilities of Multimodal LLMs in Document Reconstructioncited by 0
- 2026BUILD-AND-FIND: An Effort-Aware Protocol for Evaluating Agent-Managed Codebasescited by 0
- 2026Projecting the Emerging Mindset of SWE Agent by Launching a Wild Code Understanding Journeycited by 0
- 2026Do Large Language Models Perform Well on Comprehending Poetic Logic in Modern Chinese Poetry?cited by 0
- 2026DeepRepoQA: Code Repository Question Answering with Deep Agent Explorationcited by 0
- 2026RepoNav: From Snippet Retrieval to File-Centered Repository Navigation for Code Agentscited by 0
- 2026Schr"odinger's Code Repository: Have LLMs Learned SWE-bench or Memorized It?cited by 0
- 2026Can LLMs Reason About Runtime Behavior? A Repository-Level Dynamic Benchmarkcited by 0
- 2026Harness Annealing: Learning to Act with Less External Controlcited by 0
- 2026From Knowledge Access to Source Learning: Developing Source-Specific Competencecited by 0
- 2026From Knowledge Access to Source Learning: Developing Source-Specific Competence1 Oct 2026
- 2026Harness Annealing: Learning to Act with Less External Control1 Oct 2026
- 2026Can LLMs Reason About Runtime Behavior? A Repository-Level Dynamic Benchmark23 Sep 2026
- 2026RepoNav: From Snippet Retrieval to File-Centered Repository Navigation for Code Agents8 Sep 2026
- 2026EarlyEval: Cheaper Agent Evaluation via Early Outcome Prediction2 Sep 2026
- 2026DeepRepoQA: Code Repository Question Answering with Deep Agent Exploration25 Aug 2026
- 2026Do Large Language Models Perform Well on Comprehending Poetic Logic in Modern Chinese Poetry?22 Aug 2026
- 2026Schr"odinger's Code Repository: Have LLMs Learned SWE-bench or Memorized It?21 Aug 2026
- 2026Repo0: Design-Driven Zero-to-All Code Generation20 Aug 2026
- 2026SWE-Bench ProMax: Benchmarking Agents on Large-Scale Multilingual Code Refactoring10 Aug 2026
- 2026RepoProbe: Benchmarking Architecture-Aware Repository Comprehension with Checklists5 Aug 2026
- 2026Deep Agentic Search for Repository-Level Code Question Answering: An Empirical Study2 Aug 2026
26 more
- 2026SWE-Pruner Pro: The Coder LLM Already Knows What to Prune20 Jul 2026
- 2026From Chatbot to Digital Colleague: The Paradigm Shift Toward Persistent Autonomous AI12 Jun 2026
- 2026FastContext: Training Efficient Repository Explorer for Coding Agents12 Jun 2026
- 2026LLM Agents Can See Code Repositories12 Jun 2026
- 2026Projecting the Emerging Mindset of SWE Agent by Launching a Wild Code Understanding Journey7 Jun 2026
- 2026SWE-Explore: Benchmarking How Coding Agents Explore Repositories5 Jun 2026
- 2026DeployBench: Benchmarking LLM Agents for Research Artifact Deployment3 Jun 2026
- 2026Code-QA-Bench: Separating Code Reasoning from Documentation Memorization in Repository-Level QA28 May 2026
- 2026Context Pruning for Coding Agents via Multi-Rubric Latent Reasoning14 May 2026
- 2026The Context Gathering Decision Process: A POMDP Framework for Agentic Search7 May 2026
- 2026BUILD-AND-FIND: An Effort-Aware Protocol for Evaluating Agent-Managed Codebases7 May 2026
- 2026ClassEval-Pro: A Cross-Domain Benchmark for Class-Level Code Generation29 Apr 2026
- 2026ShredBench: Evaluating the Semantic Reasoning Capabilities of Multimodal LLMs in Document Reconstruction26 Apr 2026
- 2026Neurosymbolic Repo-level Code Localization17 Apr 2026
- 2026Who Wrote This Line? Evaluating the Detection of LLM-Generated Classical Chinese Poetry11 Apr 2026
- 2026EffiSkill: Agent Skill Based Automated Code Efficiency Optimization29 Mar 2026
- 2026CodeScout: An Effective Recipe for Reinforcement Learning of Code Search Agents18 Mar 2026
- 2026SWE-QA-Pro: A Representative Benchmark and Scalable Training Recipe for Repository-Level Code Understanding17 Mar 2026
- 2026FastCode: Fast and Cost-Efficient Code Understanding and Reasoning1 Mar 2026
- 2026Seeing is Coding: On the Effectiveness of Vision Language Models in Code Understanding2 Feb 2026
- 2026SWE-Spot: Building Small Repo-Experts with Repository-Centric Learning29 Jan 2026
- 2026SWE-Pruner: Self-Adaptive Context Pruning for Coding Agents23 Jan 2026
- 2026Reasoning in Trees: Improving Retrieval-Augmented Generation for Multi-Hop Question Answering16 Jan 2026
- 2025Fed-SE: Federated Self-Evolution for Privacy-Constrained Multi-Environment LLM Agents9 Dec 2025
- 2025HyperAgent: Leveraging Hypergraphs for Topology Optimization in Multi-Agent Communication12 Oct 2025
- 2025LongCodeZip: Compress Long Context for Code Language Models1 Oct 2025
- 2026SWE-Pruner: Self-Adaptive Context Pruning for Coding Agentscited by 44
- 2026SWE-Explore: Benchmarking How Coding Agents Explore Repositoriescited by 21
- 2026SWE-QA-Pro: A Representative Benchmark and Scalable Training Recipe for Repository-Level Code Understandingcited by 9
- 2026CodeScout: An Effective Recipe for Reinforcement Learning of Code Search Agentscited by 9
- 2026EffiSkill: Agent Skill Based Automated Code Efficiency Optimizationcited by 9
- 2026The Context Gathering Decision Process: A POMDP Framework for Agentic Searchcited by 6
- 2026DeployBench: Benchmarking LLM Agents for Research Artifact Deploymentcited by 6
- 2026SWE-Bench ProMax: Benchmarking Agents on Large-Scale Multilingual Code Refactoringcited by 6
- 2026FastContext: Training Efficient Repository Explorer for Coding Agentscited by 5
- 2025Fed-SE: Federated Self-Evolution for Privacy-Constrained Multi-Environment LLM Agentscited by 3
- 2026LLM Agents Can See Code Repositoriescited by 3
- 2026Repo0: Design-Driven Zero-to-All Code Generationcited by 3
12 most cited of 21 All 21 (JSON)
- 2026RepoNav: From Snippet Retrieval to File-Centered Repository Navigation for Code Agents8 Sep 2026
- 2026EarlyEval: Cheaper Agent Evaluation via Early Outcome Prediction2 Sep 2026
- 2026DeepRepoQA: Code Repository Question Answering with Deep Agent Exploration25 Aug 2026
- 2026Schr"odinger's Code Repository: Have LLMs Learned SWE-bench or Memorized It?21 Aug 2026
- 2026Repo0: Design-Driven Zero-to-All Code Generation20 Aug 2026
- 2026SWE-Bench ProMax: Benchmarking Agents on Large-Scale Multilingual Code Refactoring10 Aug 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
- 2026FastContext: Training Efficient Repository Explorer for Coding Agents12 Jun 2026
- 2026LLM Agents Can See Code Repositories12 Jun 2026
- 2026Projecting the Emerging Mindset of SWE Agent by Launching a Wild Code Understanding Journey7 Jun 2026
- 2026SWE-Explore: Benchmarking How Coding Agents Explore Repositories5 Jun 2026
12 newest of 21 All 21 (JSON)
- 2026Reasoning in Trees: Improving Retrieval-Augmented Generation for Multi-Hop Question Answeringcited by 14
- 2026Context Pruning for Coding Agents via Multi-Rubric Latent Reasoningcited by 2
- 2026Code-QA-Bench: Separating Code Reasoning from Documentation Memorization in Repository-Level QAcited by 2
- 2026FastCode: Fast and Cost-Efficient Code Understanding and Reasoningcited by 1
- 2026ShredBench: Evaluating the Semantic Reasoning Capabilities of Multimodal LLMs in Document Reconstructioncited by 0
- 2026Can LLMs Reason About Runtime Behavior? A Repository-Level Dynamic Benchmarkcited by 0
- 2026Can LLMs Reason About Runtime Behavior? A Repository-Level Dynamic Benchmark23 Sep 2026
- 2026Code-QA-Bench: Separating Code Reasoning from Documentation Memorization in Repository-Level QA28 May 2026
- 2026Context Pruning for Coding Agents via Multi-Rubric Latent Reasoning14 May 2026
- 2026ShredBench: Evaluating the Semantic Reasoning Capabilities of Multimodal LLMs in Document Reconstruction26 Apr 2026
- 2026FastCode: Fast and Cost-Efficient Code Understanding and Reasoning1 Mar 2026
- 2026Reasoning in Trees: Improving Retrieval-Augmented Generation for Multi-Hop Question Answering16 Jan 2026
- 2025LongCodeZip: Compress Long Context for Code Language Modelscited by 39
- 2026From Chatbot to Digital Colleague: The Paradigm Shift Toward Persistent Autonomous AIcited by 6
- 2026ClassEval-Pro: A Cross-Domain Benchmark for Class-Level Code Generationcited by 2
- 2026RepoProbe: Benchmarking Architecture-Aware Repository Comprehension with Checklistscited by 2
- 2026Who Wrote This Line? Evaluating the Detection of LLM-Generated Classical Chinese Poetrycited by 1
- 2026Neurosymbolic Repo-level Code Localizationcited by 1
- 2026BUILD-AND-FIND: An Effort-Aware Protocol for Evaluating Agent-Managed Codebasescited by 0
- 2026Do Large Language Models Perform Well on Comprehending Poetic Logic in Modern Chinese Poetry?cited by 0
- 2026Harness Annealing: Learning to Act with Less External Controlcited by 0
- 2026From Knowledge Access to Source Learning: Developing Source-Specific Competencecited by 0
- 2026From Knowledge Access to Source Learning: Developing Source-Specific Competence1 Oct 2026
- 2026Harness Annealing: Learning to Act with Less External Control1 Oct 2026
- 2026Do Large Language Models Perform Well on Comprehending Poetic Logic in Modern Chinese Poetry?22 Aug 2026
- 2026RepoProbe: Benchmarking Architecture-Aware Repository Comprehension with Checklists5 Aug 2026
- 2026From Chatbot to Digital Colleague: The Paradigm Shift Toward Persistent Autonomous AI12 Jun 2026
- 2026BUILD-AND-FIND: An Effort-Aware Protocol for Evaluating Agent-Managed Codebases7 May 2026
- 2026ClassEval-Pro: A Cross-Domain Benchmark for Class-Level Code Generation29 Apr 2026
- 2026Neurosymbolic Repo-level Code Localization17 Apr 2026
- 2026Who Wrote This Line? Evaluating the Detection of LLM-Generated Classical Chinese Poetry11 Apr 2026
- 2025LongCodeZip: Compress Long Context for Code Language Models1 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2026SWE-QA: A Dataset and Benchmark for Complex Code Understanding
- 2026Beyond Code Snippets: Benchmarking LLMs on Repository-Level Question Answering
- 2025SWE-MERA: A Dynamic Benchmark for Agenticly Evaluating Large Language Models on Software Engineering Tasks
- 2024Synergizing LLMs and Knowledge Graphs: A Novel Approach to Software Repository-Related Question Answering
- 2025SWE-Factory: Your Automated Factory for Issue Resolution Training Data and Evaluation Benchmarks
- 2025The SWE-Bench Illusion: When State-of-the-Art LLMs Remember Instead of Reason
- 2026A Unified Issue Resolution Benchmark for Requirement Clarification, Planning, and Code Generation for Coding Agents
- 2025Code Reasoning for Software Engineering Tasks: A Survey and A Call to Action