Abstract
In this work, we introduce CodeRepoQA, a large-scale benchmark specifically designed for evaluating repository-level question-answering capabilities in the field of software engineering. CodeRepoQA encompasses five programming languages and covers a wide range of scenarios, enabling comprehensive evaluation of language models. To construct this dataset, we crawl data from 30 well-known repositories in GitHub and carefully filter raw data. In total, CodeRepoQA is a multi-turn question-answering benchmark with 585,687 entries, covering a diverse array of software engineering scenarios, with an average of 6.62 dialogue turns per entry. We evaluate ten popular large language models on our dataset and find that LLMs still have limitations in technical nuance, and medium-length contexts are more conducive to performance.
Introduction
While Large Language Models (LLMs) are increasingly used as coding assistants, existing benchmarks often fail to capture the complex, conversational reality of software engineering. Most current datasets are limited to single-turn questions or small-scale snippets that do not reflect "repository-level" complexity—the kind of multi-step problem-solving that happens in real-world GitHub issues. Developers rarely solve a bug in a single prompt; they engage in back-and-forth dialogues involving bug reports, feature requests, and technical clarifications. CodeRepoQA was created to fill this gap, providing a realistic testing ground for models to navigate long-form, multi-turn technical conversations within the context of entire software repositories.
Dataset Construction and Characteristics
The researchers built CodeRepoQA through a rigorous two-step process. First, they targeted 30 high-quality GitHub repositories (each with over 5,000 stars) spanning five major languages: Python, Java, JavaScript, TypeScript, and Go. Second, they applied automated filters to remove "noisy" data like robot-generated comments and duplicate issues, ensuring each entry represented a genuine interaction between at least two participants.
CodeRepoQA stands out significantly from previous benchmarks in scale and structure. With over 585,000 entries, it is the only large-scale benchmark that is both multi-turn and repository-level. The dataset is diverse, with Go dialogues tending to be the longest (averaging 9.32 turns) and Java dialogues being the shortest (averaging 4.31 turns).
Multi-Turn Dialogue Structure
To evaluate LLMs, the authors used the historical turns of a dialogue as input and treated the final response from a repository maintainer (a "Member" or "Contributor") as the ground truth. This setup tests whether a model can synthesize the preceding conversation to provide a helpful, expert-level conclusion.
Key Insights and Results
The evaluation of ten popular LLMs, including the GPT, Gemini, and DeepSeek families, yielded several critical insights:
- The "Goldilocks" Context Length: Performance peaks at "medium" context lengths (around 40-60% of the tested range). Extremely short contexts lack detail, while extremely long ones seem to overwhelm the models' reasoning capabilities.
- Model Size vs. Performance: Larger models did not always outperform smaller ones. For example, DeepSeek-Coder-V2 (236B) was outperformed by its smaller 33B and 6.7B versions in this specific QA task. Similarly, the open-source CodeQwen (7B) outperformed GPT-4.
- The Technical Nuance Gap: Even the best-performing model (Gemini-1.5-Pro) achieved relatively low scores on metrics like BLEU (0.1208). This suggests that LLMs are still failing to capture the specific technical jargon and precise logic used by human maintainers.
Conclusion
CodeRepoQA reveals that LLMs still have clear limitations in real-world software engineering QA. The low overlap between generated text and actual maintainer responses suggests that current models might not be effectively capturing key information from complex contexts. Future work will focus on improving model focus on critical technical details and expanding the benchmark to specialized domains.
Summary updated