RFEval - Code Generation: leaderboard

RFEval (2026) measures whether a reasoning model's answer follows a counterfactual reasoning step injected into its thinking. 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 into the model's own thinking, the share of pairs in which the continued reasoning stays consistent with that stance and the stance causally carries into the final answer, 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.

Top models

#ModelScoreOverall rank
1DeepSeek-R1-Distill-Qwen-7B38.25#1400
2DeepSeek R1 Distill Qwen 32B29.02#662
3DeepSeek R1 Distill Llama 70B27.89#615
4DeepSeek R1 Distill Llama 8B26.48#1296
5GPT-OSS-20B26.44#525
6Qwen 3 32B (Thinking)24.66#449 (Qwen 3 32B)
7GPT-OSS-120B22.01#346
8Qwen 3 8B (Thinking)21.15#679 (Qwen 3 8B)

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