RepoQA

RepoQA is a benchmark for evaluating long-context code understanding capabilities of Large Language Models through the Searching Needle Function (SNF) task, where LLMs must locate specific functions in code repositories using natural language descriptions. The benchmark contains 500 code search tasks spanning 50 repositories across 5 modern programming languages (Python, Java, TypeScript, C++, and Rust), tested on 26 general and code-specific LLMs to assess their ability to comprehend and navigate code repositories.

Phi-3.5-MoE-instruct from Microsoft currently leads the RepoQA leaderboard with a score of 0.850 across 2 evaluated AI models.

Paper

MicrosoftPhi-3.5-MoE-instruct leads with 85.0%, followed by MicrosoftPhi-3.5-mini-instruct at 77.0%.

Progress Over Time

Interactive timeline showing model performance evolution on RepoQA

State-of-the-art frontier
Open
Proprietary

RepoQA Leaderboard

2 models
ContextCostLicense
160B
24B128K$0.10 / $0.10
Notice missing or incorrect data?

FAQ

Common questions about RepoQA.

What is the RepoQA benchmark?

RepoQA is a benchmark for evaluating long-context code understanding capabilities of Large Language Models through the Searching Needle Function (SNF) task, where LLMs must locate specific functions in code repositories using natural language descriptions. The benchmark contains 500 code search tasks spanning 50 repositories across 5 modern programming languages (Python, Java, TypeScript, C++, and Rust), tested on 26 general and code-specific LLMs to assess their ability to comprehend and navigate code repositories.

What is the RepoQA leaderboard?

The RepoQA leaderboard ranks 2 AI models based on their performance on this benchmark. Currently, Phi-3.5-MoE-instruct by Microsoft leads with a score of 0.850. The average score across all models is 0.810.

What is the highest RepoQA score?

The highest RepoQA score is 0.850, achieved by Phi-3.5-MoE-instruct from Microsoft.

How many models are evaluated on RepoQA?

2 models have been evaluated on the RepoQA benchmark, with 0 verified results and 2 self-reported results.

Where can I find the RepoQA paper?

The RepoQA paper is available at https://arxiv.org/abs/2406.06025. The paper details the methodology, dataset construction, and evaluation criteria.

What categories does RepoQA cover?

RepoQA is categorized under code, long context, and reasoning. The benchmark evaluates text models with multilingual support.

More evaluations to explore

Related benchmarks in the same category

View all code
GPQA

A challenging dataset of 448 multiple-choice questions written by domain experts in biology, physics, and chemistry. Questions are Google-proof and extremely difficult, with PhD experts reaching 65% accuracy.

reasoning
213 models
MMLU-Pro

A more robust and challenging multi-task language understanding benchmark that extends MMLU by expanding multiple-choice options from 4 to 10, eliminating trivial questions, and focusing on reasoning-intensive tasks. Features over 12,000 curated questions across 14 domains and causes a 16-33% accuracy drop compared to original MMLU.

reasoning
119 models
AIME 2025

All 30 problems from the 2025 American Invitational Mathematics Examination (AIME I and AIME II), testing olympiad-level mathematical reasoning with integer answers from 000-999. Used as an AI benchmark to evaluate large language models' ability to solve complex mathematical problems requiring multi-step logical deductions and structured symbolic reasoning.

reasoning
107 models
MMLU

Massive Multitask Language Understanding benchmark testing knowledge across 57 diverse subjects including STEM, humanities, social sciences, and professional domains

reasoning
99 models
SWE-Bench Verified

A verified subset of 500 software engineering problems from real GitHub issues, validated by human annotators for evaluating language models' ability to resolve real-world coding issues by generating patches for Python codebases.

code
89 models
Humanity's Last Exam

Humanity's Last Exam (HLE) is a multi-modal academic benchmark with 2,500 questions across mathematics, humanities, and natural sciences, designed to test LLM capabilities at the frontier of human knowledge with unambiguous, verifiable solutions

reasoningmultimodal
74 models