REval - Program State Prediction: leaderboard
Given a Python program from HumanEval or ClassEval, a test input, a target statement, and a variable name across 3,152 runtime reasoning problems, models predict both the exact runtime value and Python type of that variable after the statement executes (or Nil if not executed). The score is exact-match accuracy from 0% to 100%, where higher is better.
Metric: Exact variable value and type prediction accuracy on 3,152 Python runtime reasoning problems (0-100%). Source: arxiv.org. Saturation forecast: Estimated already saturated. 15 models tracked. Updated 4 Dec 2026.
Top models
| # | Model | Score | Overall rank |
|---|---|---|---|
| 1 | GPT-4 Preview (0125) | 71.35 | #1144 |
| 2 | GPT-3.5 Turbo (0125) | 51.59 | #3867 |
| 3 | CodeLlama-34B-Instruct-hf | 47.51 | #7168 |
| 4 | starcoder2-15B | 43.48 | #8508 |
| 5 | Mistral 7B Instruct (v0.2) | 35.19 | #7200 |
| 6 | starcoder2-7B | 34.21 | #9520 |
| 7 | CodeLlama-13B-Instruct-hf | 32.48 | #9132 |
| 8 | gemma-7B (IT) | 32.07 | #8887 |
| 9 | Magicoder-S-CL-7B | 31.4 | #9007 |
| 10 | CodeLlama-7B-Python-hf | 31.26 | #9652 |
| 11 | Magicoder-CL-7B | 30.08 | #8753 |
| 12 | starcoder2-3B | 29.02 | #9675 |
| 13 | CodeLlama-7B-Instruct-hf | 25.08 | #9368 |
| 14 | CodeLlama-7B-hf | 25.03 | #9415 |
| 15 | gemma-2B (IT) | 13.52 | #9370 |
No result here: #2 Claude Fable 5.2, #5 GPT-6.2 Astra, #6 Gemini 4 Neon.
Interactive version: theaggregate.ai/benchmark?slug=reval-program-state-prediction · How It Works · Data refreshed daily, snapshot 2026-12-04.