RFEval - Code Generation: leaderboard

RFEval (2026) tests consistency of a model’s reasoning before and after injecting a counterfactual step, and whether that intervention changes its subsequent reasoning or answer. This board is the Code Generation task (861 items from LiveCodeBench and DS-1000): contrast-conditional faithfulness (%) over the model's own contrast pairs; higher is better.

Metric: Contrast-conditional reasoning faithfulness (%): after a counterfactual flawed reasoning segment is injected, the share of pairs with internally consistent baseline and intervened outputs (allowing explicitly identified corrections) and a change in the continued-reasoning or final-answer stance relative to baseline, computed only over the model's own contrast pairs (injection opposes its baseline stance; well-formed outputs); stances extracted by an o3 judge; greedy decoding; Code Generation task (861 items from LiveCodeBench and DS-1000); a property of reasoning traces rather than task accuracy; higher is better. Source: arxiv.org. 12 models tracked. Updated 10 Oct 2026.

Top models

#ModelSettingScoreOverall rank
1DeepSeek-R1-Distill-Qwen-7B38.25#7985
2DeepSeek R1 Distill Qwen 32B29.02#1855
3DeepSeek R1 Distill Llama 70B27.89#1679
4DeepSeek R1 Distill Llama 8B26.48#6916
5Llama 3.3 Nemotron Super 49B (v1)Reasoning26.48#1307
6GPT-OSS-20B26.44#1209
7Qwen 3 32BThinking24.66#997
8GPT-OSS-120B22.01#731
9MiMo-7B-RL21.2
10Qwen 3 8BThinking21.15#1901
11MiMo-7B-RL-Zero20.83
12Magistral Small 1.012.32

Interactive version: theaggregate.ai/benchmark?slug=rfeval-code-generation · How It Works · Data refreshed daily, snapshot 2026-11-25.