Renaissance Labs · Code
Benchmark · 2024-01

CRUXEval

Tests code reasoning and execution understanding: predict the output for a given input, or an input for a given output.

How to use it

Use as a reasoning-about-code probe complementary to generation benchmarks; cheap (800 items). Good for tracking the effect of execution-trace or CoT training data.

Caveats

Not purely 'run the model's code': graded by executing assertions on the model's predicted input or output. The paper found many models with high HumanEval scores did not show the same gains on CRUXEval. Public since January 2024; model-generated functions, so leakage and saturation by reasoning models are plausible.

Related

  • LiveCodeBench: Contamination-aware benchmark from LeetCode, AtCoder and Codeforces with problem release dates; DeepCoder...
  • Reasoning Gym: Library of procedurally generated reasoning tasks with programmatic verifiers, including code and algorithm...
  • LiveCodeBench Pro: Olympiad-medalist-annotated problems from Codeforces, ICPC and IOI, updated continually, with line-by-line...
  • METR time-horizon task suite (HCAST, RE-Bench): Measures the 50% task-completion time horizon: the human task length models complete at 50% success. Reported...
  • PutnamBench: Hard undergraduate competition math formalizations for neural theorem...
  • miniF2F: Formal Olympiad-level problems (AIME, AMC, IMO, coursework) in Lean and other systems for theorem...