RealBench (RAG) - Level 4: leaderboard

Metric: Test pass rate (%), passed tests over all tests of each task, averaged over the level-4 tasks (10 repositories of about 2,360 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 2032. 6 models tracked.

Top models

#ModelScore
1Claude Sonnet 4 (20250514)21.33
2Qwen 2.5 Coder 7B Instruct15.11
3DeepSeek V313.27
4GPT-4o (2024-05-13)9.95
5Gemini 2.5 Flash8.01
6Qwen 3 235B A22B0.73

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