The C++ subset of MultiPL-E: HumanEval and MBPP function-completion problems translated into C++ and scored with pass@1.
unassessed
| Category | coding |
|---|---|
| Subcategory | multilingual code generation |
| Page status | active |
| Metric | pass@1 |
| Direction | higher_is_better |
| Unit | % |
| Dataset licence | MIT |
| Publisher | Northeastern University Programming Research Lab (nuprl) |
This subset translates the HumanEval and MBPP prompts into C++ by rewriting each problem's function signature, docstring and tests with C++ syntax and typing, then asks the model to complete the function body in C++. The underlying algorithmic problem is unchanged from the Python original; only the surface language differs.
Function completion in C++: given a translated signature, docstring and (for HumanEval-derived items) doctests, the model generates a function body, which is compiled or interpreted with a real C++ toolchain inside a container and checked against translated unit tests.
| Model | Provider | Score | Card as of |
|---|---|---|---|
| Claude Opus 4 | Anthropic | 88.5 | 2026-04 |
| Claude Opus 4.6 | Anthropic | 88.5 | 2026-04 |
| Claude Sonnet 4 | Anthropic | 85.8 | 2026-04 |
| Claude Sonnet 4.5 | Anthropic | 85.8 | 2026-04 |
| Claude Sonnet 4.5 (latest) | Anthropic | 85.8 | 2026-04 |
| GPT-4.1 | OpenAI | 85.1 | 2026-04 |
| Gemini 2.5 Pro | Google DeepMind | 84.2 | 2026-04 |
| DeepSeek R1 | DeepSeek | 83.5 | 2026-04 |
| DeepSeek R1 0528 | DeepSeek | 83.5 | 2026-04 |
| DeepSeek R1 0528 NVFP4 v2 | NVIDIA | 83.5 | 2026-04 |
| DeepSeek Reasoner | DeepSeek | 83.5 | 2026-04 |
| GPT-4o | OpenAI | 82.5 | 2026-04 |
| GPT-4o (2024-05-13) | OpenAI | 82.5 | 2026-04 |
| GPT-4o (2024-08-06) | OpenAI | 82.5 | 2026-04 |
| GPT-4o (2024-11-20) | OpenAI | 82.5 | 2026-04 |
| GPT-4o mini | OpenAI | 82.5 | 2026-04 |
| Qwen2.5 Coder 32B Instruct | Alibaba / Qwen Team | 79.8 | 2026-04 |
| Qwen2.5 Coder 32B Instruct AWQ | Alibaba / Qwen Team | 79.8 | 2026-04 |
| Gemma 4 31B | Google DeepMind | 76.5 | 2026-04 |
| gemma 4 31B it | Google DeepMind | 76.5 | 2026-04 |
| gemma 4 31B it GGUF | Unsloth | 76.5 | 2026-04 |
| Gemma 4 31B IT NVFP4 | NVIDIA | 76.5 | 2026-04 |
| Mistral Large (latest) | Mistral AI | 75.5 | 2026-04 |
| Mistral Large 2.1 | Mistral AI | 75.5 | 2026-04 |
| Mistral Large 3 | Mistral AI | 75.5 | 2026-04 |
| Codestral (latest) | Mistral AI | 75.2 | 2026-04 |
| Gemma 4 26B | Google DeepMind | 74.8 | 2026-04 |
| Qwen2.5 Coder 14B Instruct | Alibaba / Qwen Team | 73.2 | 2026-04 |
| Llama 3.3 70B Instruct NVFP4 | NVIDIA | 72.8 | 2026-04 |
| Llama-3.3-70B-Instruct | Meta | 72.8 | 2026-04 |
| phi 4 | Microsoft | 72.1 | 2026-04 |
| Phi 4 mini instruct | Microsoft | 72.1 | 2026-04 |
| Llama 3.1 70B | Meta | 70.5 | 2026-04 |
| Llama 3.1 70B Instruct | Meta | 70.5 | 2026-04 |
| Qwen2.5 Coder 7B Instruct | Alibaba / Qwen Team | 66.5 | 2026-04 |
| Qwen2.5 Coder 7B Instruct GPTQ Int4 | Alibaba / Qwen Team | 66.5 | 2026-04 |
| CodeLlama 34B Instruct hf | Meta | 58.2 | 2026-04 |