RealBench (RAG) - Level 1: leaderboard

RealBench (2026) asks LLMs to build a whole Python repository from natural-language requirements and UML system designs, here with retrieval-augmented generation (file by file, each conditioned on the earlier generated files it imports) on the level-1 repositories (about 260 lines of code). The score is the percentage of the original unit tests that the generated repository passes, higher is better.

Metric: Test pass rate (%), passed tests over all tests of each task, averaged over the level-1 tasks (14 repositories of about 260 lines), with retrieval-augmented generation (file by file, each conditioned on the earlier generated files it imports); RealBench repository-level Python code generation from natural-language requirements plus UML package and class diagrams (61 real repositories in four size levels), one greedy solution per task through the official APIs; higher is better. Source: arxiv.org. Saturation forecast: Around April 2027. 6 models tracked. Updated 7 Oct 2026.

Top models

#ModelScoreOverall rank
1DeepSeek V341.85#736
2Claude Sonnet 4 (20250514)26.52#410
3GPT-4o (2024-05-13)24.6#740
4Gemini 2.5 Flash19.4#466
5Qwen 3 235B A22B9.23#633
6Qwen 2.5 Coder 7B Instruct8.95#3976

No result here: #2 Claude Fable 5.2, #3 Gemini 4 Neon, #4 GPT-6.2 Astra.

Interactive version: theaggregate.ai/benchmark?slug=realbench-rag-level-1 · How It Works · Data refreshed daily, snapshot 2026-11-22.