CRUXEval
CRUXEval: code reasoning (output prediction and input execution over short Python snippets), scored as accuracy on a 0-100 scale in Cloudflare's internal Decision Index 0.2.1 suite.
Category
Code
Score type
percent
Scale
100%
higher is better
Models tested
2
What is CRUXEval?
CRUXEval is a benchmark for code generation and code reasoning. The official description says: "CRUXEval: code reasoning (output prediction and input execution over short Python snippets), scored as accuracy on a 0-100 scale in Cloudflare's internal Decision Index 0.2.1 suite". Below we describe in simple words what benchmarks of this type generally examine.
What does it test?
CRUXEval measures code generation and code reasoning. In detail, it checks:
- writing programs that must pass hidden unit tests
- predicting what a given piece of code outputs (true code comprehension)
- handling edge cases, not just the happy path
- producing runnable, correct solutions from short specifications
How to read the score
The score is accuracy: the percentage of tasks answered or solved correctly. 100% means every task was solved perfectly; higher is better.
Official methodology note: CRUXEval: code reasoning (output prediction and input execution over short Python snippets), scored as accuracy on a 0-100 scale in Cloudflare's internal Decision Index 0.2.1 suite.
Frequently asked questions
What is the CRUXEval benchmark?
CRUXEval is a benchmark for code generation and code reasoning. The official description says: 'CRUXEval: code reasoning (output prediction and input execution over short Python snippets), scored as accuracy on a 0-100 scale in Cloudflare's internal Decision Index 0.2.1 suite'. Below we describe in simple words what benchmarks of this type generally examine.
What does CRUXEval test?
CRUXEval mainly measures code generation and code reasoning. Concretely, it checks: writing programs that must pass hidden unit tests; predicting what a given piece of code outputs (true code comprehension); handling edge cases, not just the happy path.
How is the CRUXEval score calculated?
The score is accuracy: the percentage of tasks answered or solved correctly. 100% means every task was solved perfectly; higher is better. The declared maximum score of this benchmark is 100.0.
Where do I get CRUXEval data and scores?
The official source is https://clef-evals.workers-ai-mle.workers.dev/. The official benchmark page/reference is linked on this page. Every score on Open LLM Radar is also available as open data: download the scores JSON (http://open-llm-radar-api:8000/api/v1/benchmarks/cruxeval/scores) or pull it directly from the Open LLM Radar API with any HTTP client.
Benchmark data & downloads
Where to get, inspect and reuse the data behind this benchmark.
Official benchmark page / paper
The benchmark maintainer's website, paper or leaderboard
Benchmark metadata (JSON)
This page's benchmark record from the Open LLM Radar API
All model scores (JSON download)
Full score table as JSON; paginate with limit/offset params
Open LLM Radar API docs
Swagger UI to explore and reuse all radar API endpoints
Model scores 2 models tested
| # | Model | Score | Date | Source | Verified |
|---|---|---|---|---|---|
| 1 |
Clef
Cloudflare
|
86.7%
|
— | Report | Verified |
| 2 |
Clef-Flash
Cloudflare
|
86.1%
|
— | Report | Verified |