# Code Generation on MBPP (Pass@1, Pass@2, Pass@5)

Source: [Code Generation on MBPP (Pass@1, Pass@2, Pass@5)](<https://www.sota2.com/research/sota/code-generation-on-mbpp-pass-at-1-pass-at-2-pass-at-5>)

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

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

Evaluation of model performance on the Mostly Basic Python Programming (MBPP) dataset for code generation, reporting execution success rates at 1, 2, and 5 sampling attempts.

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) | MBPP |
| Metric | Pass@1 |
| Unit | PERCENT |
| Direction | Higher is better |
| Results loaded | 3 of 3 |
| 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@1](<https://www.sota2.com/research/sota/code-generation-on-mbpp-pass-at-1-pass-at-2-pass-at-5.md?metric=Pass%401>): Higher is better; unit: PERCENT.

- [Pass@2](<https://www.sota2.com/research/sota/code-generation-on-mbpp-pass-at-1-pass-at-2-pass-at-5.md?metric=Pass%402>): Higher is better; unit: PERCENT.

- [Pass@5](<https://www.sota2.com/research/sota/code-generation-on-mbpp-pass-at-1-pass-at-2-pass-at-5.md?metric=Pass%405>): Higher is better; unit: PERCENT.

## Recorded results

| Method | Pass@1 | Result date | Report paper |
| --- | --- | --- | --- |
| MPSC | 72.78 | Not recorded | 68fa73f11e209131cea5f013 |
| GPT-4 | 71.26 | Not recorded | 68fa73f11e209131cea5f013 |
| GPT-3.5-Turbo | 66.8 | Not recorded | 68fa73f11e209131cea5f013 |

### MPSC

Pass@1: 72.78. Result ID: 699ad74e5698665ec466a880.

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

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

[Implementation](<https://github.com/skpig/MPSC>)

Recorded evaluation configuration: {"Solutions":100,"Specifications":50,"Test cases":50,"Temperature":0.8,"Top P":0.95,"Frequency Penalty":0,"Presence Penalty":0}. This record does not assert independent reproduction.

### GPT-4

Pass@1: 71.26. Result ID: 699ad74e5698665ec466a87f.

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

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

[Implementation](<https://github.com/openai/evals>)

Recorded evaluation configuration: {"Temperature":0.8,"Top P":0.95,"Frequency Penalty":0,"Presence Penalty":0}. This record does not assert independent reproduction.

### GPT-3.5-Turbo

Pass@1: 66.8. Result ID: 699ad74e5698665ec466a87e.

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

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

[Implementation](<https://github.com/openai/evals>)

Recorded evaluation configuration: {"Temperature":0.8,"Top P":0.95,"Frequency Penalty":0,"Presence Penalty":0}. This record does not assert independent reproduction.

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