CruxEval-O

Paper

Progress Over Time

Interactive timeline showing model performance evolution on CruxEval-O

State-of-the-art frontier
Open
Proprietary

CruxEval-O Leaderboard

1 models
ContextCostLicense
1
Mistral AI
Mistral AI
22B
Notice missing or incorrect data?
About this benchmark

What is CruxEval-O?

CruxEval-O is the output prediction task of the CRUXEval benchmark, designed to evaluate code reasoning, understanding, and execution capabilities. It consists of 800 Python functions (3-13 lines) where models must predict the output given a function and input. The benchmark tests fundamental code execution reasoning abilities and goes beyond simple code generation to assess deeper understanding of program behavior.

CruxEval-O is a text benchmark evaluating models on reasoning tasks. LLM Stats tracks 1 models on this benchmark, scored on a 0–1 scale. The current average is 0.5, with the leader at 0.5.

Compare leaders on the best AI for reasoning leaderboards.

Current leaders

Codestral-22B from Mistral AI currently leads the CruxEval-O leaderboard with a score of 0.513 across 1 evaluated AI models.

1Codestral-22BMistral AI51.3%

Source paper

Title
CRUXEval: A Benchmark for Code Reasoning, Understanding and Execution
Authors
Alex Gu, Baptiste Rozière, Hugh Leather, Armando Solar-Lezama, and 2 others
Published
Abstract

We present CRUXEval (Code Reasoning, Understanding, and eXecution Evaluation), a benchmark consisting of 800 Python functions (3-13 lines). Each function comes with an input-output pair, leading to two natural tasks: input prediction and output prediction. First, we propose a generic recipe for generating our execution benchmark which can be used to create future variation of the benchmark. Second, we evaluate twenty code models on our benchmark and discover that many recent high-scoring models on HumanEval do not show the same improvements on our benchmark. Third, we show that simple CoT and fine-tuning schemes can improve performance on our benchmark but remain far from solving it. The best setup, GPT-4 with chain of thought (CoT), achieves a pass@1 of 75% and 81% on input and output prediction, respectively. In contrast, Code Llama 34B achieves a pass@1 of 50% and 46% on input and output prediction, highlighting the gap between open and closed source models. As no model is close to acing CRUXEval, we provide examples of consistent GPT-4 failures on simple programs as a lens into its code reasoning capabilities and areas for improvement.

FAQ

Common questions about the CruxEval-O benchmark and leaderboard.

What is the CruxEval-O benchmark?

CruxEval-O is the output prediction task of the CRUXEval benchmark, designed to evaluate code reasoning, understanding, and execution capabilities. It consists of 800 Python functions (3-13 lines) where models must predict the output given a function and input. The benchmark tests fundamental code execution reasoning abilities and goes beyond simple code generation to assess deeper understanding of program behavior.

What is the CruxEval-O leaderboard?

The CruxEval-O leaderboard ranks 1 AI models based on their performance on this benchmark. Currently, Codestral-22B by Mistral AI leads with a score of 0.513. The average score across all models is 0.513.

What is the highest CruxEval-O score?

The highest CruxEval-O score is 0.513, achieved by Codestral-22B from Mistral AI.

How many models are evaluated on CruxEval-O?

1 models have been evaluated on the CruxEval-O benchmark, with 0 verified results and 1 self-reported results.

Where can I find the CruxEval-O paper?

The CruxEval-O paper is available at https://arxiv.org/abs/2401.03065. The paper details the methodology, dataset construction, and evaluation criteria.

What categories does CruxEval-O cover?

CruxEval-O is categorized under reasoning. The benchmark evaluates text models.

What is the best open-source model on CruxEval-O?

Codestral-22B by Mistral AI is the top-ranked open-source model on CruxEval-O, with a score of 0.513 (rank #1).

How recent are the CruxEval-O leaderboard results?

The CruxEval-O leaderboard was last updated in July 2026 and currently includes 1 evaluated models.