| Rank | Model | Score |
|---|---|---|
| 1 | twil-8b | 97.1 |
| 2 | ling-3-0-flash-base | 78.5 |
| 3 | ling-3-0-tiny-base | 67.44 |
1 phaseActive
800-function Python code reasoning benchmark testing input prediction and output prediction — whether a model can simulate code execution, not just generate it.
Quick answer: CruxEval (Gu et al., 2024, Meta AI / MIT) is a code reasoning benchmark of 800 short Python functions, each with an input/output pair, testing whether a model can predict a function's output given its input (output prediction) and vice versa (input prediction) — simulating code execution rather than just generating code. InclusionAI's Ling-3.0-flash-base scores 78.50% as of 2026.
What it tests: Whether a model can reason about what a short Python function actually does at runtime — predicting its output given an input, or an input that produces a given output — rather than just writing plausible-looking code.
Why it matters: Many models that score well on code-generation benchmarks like HumanEval do not show the same gains on CruxEval, revealing a gap between writing code and reasoning about its execution.
Known limitations: Functions are short (3-13 lines), so CruxEval measures fine-grained execution reasoning rather than complex, multi-file software engineering ability; self-reported base-model scores (as opposed to a shared third-party leaderboard) should be read with that caveat.
CruxEval was introduced to evaluate code reasoning, understanding, and execution ability separately from code generation. It consists of 800 Python functions (3-13 lines each), each paired with a concrete input/output example, yielding two natural tasks: input prediction (given the function and an output, produce an input that generates it) and output prediction (given the function and an input, produce the resulting output).
| Field | Value |
|---|---|
| Task category | Reasoning (code execution) |
| Metric | % pass@1 |
| Tasks | 800 Python functions (input + output prediction) |
| Created by | Gu et al. |
| Org | Meta AI / MIT |
| Source paper | Gu et al. 2024 |
| GitHub | facebookresearch/cruxeval |
Models are scored pass@1 on each of the two tasks (input prediction and output prediction) by checking whether the predicted input/output exactly matches (or, for input prediction, produces the same output when executed) against the ground truth.
| Rank | Model | Score | Source | Date |
|---|---|---|---|---|
| 1 | Ling-3.0-flash-base | 78.50% | Ling-3.0-flash-base model card | 2026-11 |
| 2 | Ling-3.0-tiny-base | 67.44% | Ling-3.0-tiny-base model card | 2026-11 |
Scores above are self-reported by InclusionAI on their respective model cards and shown for context. They are not Benchgen measurements, and are not drawn from a shared third-party leaderboard — only the 2 scores above are currently tracked locally.
No Benchgen results yet — be the first to run CruxEval.
| Benchmark | What it tests | Saturation |
|---|---|---|
| CruxEval | Code execution reasoning (input/output prediction) | Low |
| HumanEval | Functional correctness of generated code | High |
| AGIEval | Human-centric standardized exams | Low |
CruxEval is distinct from code-generation benchmarks like HumanEval in that it tests simulating a program's execution rather than producing new code — models that excel at generation do not necessarily excel at this kind of execution reasoning.
Benchgen lets you evaluate your own model against CruxEval's input/output prediction tasks and track results across model versions.
Benchmark definition paraphrased from Gu et al. 2024. State-of-the-art scores sourced from published model cards and attributed inline. Last updated 2026-11-02.