# Code Generation on Leetcode Original

Source: [Code Generation on Leetcode Original](<https://www.sota2.com/research/sota/code-generation-on-leetcode-original>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-02-26T05:57:19.485Z

Evaluation of model performance on the Leetcode Original dataset for code generation tasks, measured by Pass Rate, Fail Rate, and Error Rate.

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

| Scope | Recorded value |
| --- | --- |
| Task | Code Generation |
| Dataset (including any stated split) | Leetcode Original |
| Metric | Pass Rate |
| Unit | PERCENT |
| Direction | Higher is better |
| Results loaded | 6 of 6 |
| Coverage | All results currently returned for this benchmark |

Evaluation settings may differ between results. The original papers and recorded configurations are needed to establish comparability. A shared metric name alone does not establish an identical protocol.

## Metrics

- [Pass Rate](<https://www.sota2.com/research/sota/code-generation-on-leetcode-original.md?metric=Pass%20Rate>): Higher is better; unit: PERCENT.

- [Fail Rate](<https://www.sota2.com/research/sota/code-generation-on-leetcode-original.md?metric=Fail%20Rate>): Lower is better; unit: PERCENT.

- [Error Rate](<https://www.sota2.com/research/sota/code-generation-on-leetcode-original.md?metric=Error%20Rate>): Lower is better; unit: PERCENT.

## Recorded results

| Method | Pass Rate | Result date | Report paper |
| --- | --- | --- | --- |
| o4-mini | 38.6 | Not recorded | 695b456453fdd5c361742f25 |
| GPT-4.1-Mini | 32.89 | Not recorded | 695b456453fdd5c361742f25 |
| Gemini-2.0-Flash | 32.46 | Not recorded | 695b456453fdd5c361742f25 |
| Claude 3.7 Sonnet | 31.14 | Not recorded | 695b456453fdd5c361742f25 |
| Qwen2.5-7b-Instruct | 11.84 | Not recorded | 695b456453fdd5c361742f25 |
| Qwen2.5-3b-Coder | 2.63 | Not recorded | 695b456453fdd5c361742f25 |

### o4-mini

Pass Rate: 38.6. Result ID: 6996a7be5698665ec4f18fab.

[Reporting paper](<https://www.sota2.com/research/paper/695b456453fdd5c361742f25.md>)

Recorded evaluation configuration: {"Processing":"Postprocessed"}. This record does not assert independent reproduction.

### GPT-4.1-Mini

Pass Rate: 32.89. Result ID: 6996a7be5698665ec4f18fa8.

[Reporting paper](<https://www.sota2.com/research/paper/695b456453fdd5c361742f25.md>)

[Method origin paper](<https://www.sota2.com/research/paper/68fa75681e209131cea67a98.md>)

Recorded evaluation configuration: {"Processing":"Postprocessed"}. This record does not assert independent reproduction.

### Gemini-2.0-Flash

Pass Rate: 32.46. Result ID: 6996a7be5698665ec4f18fa9.

[Reporting paper](<https://www.sota2.com/research/paper/695b456453fdd5c361742f25.md>)

Recorded evaluation configuration: {"Processing":"Postprocessed"}. This record does not assert independent reproduction.

### Claude 3.7 Sonnet

Pass Rate: 31.14. Result ID: 6996a7be5698665ec4f18faa.

[Reporting paper](<https://www.sota2.com/research/paper/695b456453fdd5c361742f25.md>)

Recorded evaluation configuration: {"Processing":"Postprocessed"}. This record does not assert independent reproduction.

### Qwen2.5-7b-Instruct

Pass Rate: 11.84. Result ID: 6996a7be5698665ec4f18fa6.

[Reporting paper](<https://www.sota2.com/research/paper/695b456453fdd5c361742f25.md>)

Recorded evaluation configuration: {"Processing":"Postprocessed"}. This record does not assert independent reproduction.

### Qwen2.5-3b-Coder

Pass Rate: 2.63. Result ID: 6996a7be5698665ec4f18fa7.

[Reporting paper](<https://www.sota2.com/research/paper/695b456453fdd5c361742f25.md>)

Recorded evaluation configuration: {"Processing":"Postprocessed"}. This record does not assert independent reproduction.

Page 1 of 1. This is an index page, not the full collection.
