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

#ModelScoreOverall rank
1GPT-4 Preview (0125)71.35#1144
2GPT-3.5 Turbo (0125)51.59#3867
3CodeLlama-34B-Instruct-hf47.51#7168
4starcoder2-15B43.48#8508
5Mistral 7B Instruct (v0.2)35.19#7200
6starcoder2-7B34.21#9520
7CodeLlama-13B-Instruct-hf32.48#9132
8gemma-7B (IT)32.07#8887
9Magicoder-S-CL-7B31.4#9007
10CodeLlama-7B-Python-hf31.26#9652
11Magicoder-CL-7B30.08#8753
12starcoder2-3B29.02#9675
13CodeLlama-7B-Instruct-hf25.08#9368
14CodeLlama-7B-hf25.03#9415
15gemma-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.