The Java subset of MultiPL-E: HumanEval and MBPP function-completion problems translated into Java 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 Java by rewriting each problem's function signature, docstring and tests with Java syntax and typing, then asks the model to complete the function body in Java. The underlying algorithmic problem is unchanged from the Python original; only the surface language differs.
Function completion in Java: 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 Java toolchain inside a container and checked against translated unit tests.
| Model | Provider | Score | Card as of |
|---|---|---|---|
| Claude Opus 4 | Anthropic | 91.2 | 2026-04 |
| Claude Opus 4.6 | Anthropic | 91.2 | 2026-04 |
| Claude Sonnet 4 | Anthropic | 89.1 | 2026-04 |
| Claude Sonnet 4.5 | Anthropic | 89.1 | 2026-04 |
| Claude Sonnet 4.5 (latest) | Anthropic | 89.1 | 2026-04 |
| GPT-4.1 | OpenAI | 88.5 | 2026-04 |
| Gemini 2.5 Pro | Google DeepMind | 87.8 | 2026-04 |
| DeepSeek R1 | DeepSeek | 87.2 | 2026-04 |
| DeepSeek R1 0528 | DeepSeek | 87.2 | 2026-04 |
| DeepSeek R1 0528 NVFP4 v2 | NVIDIA | 87.2 | 2026-04 |
| DeepSeek Reasoner | DeepSeek | 87.2 | 2026-04 |
| GPT-4o | OpenAI | 86.5 | 2026-04 |
| GPT-4o (2024-05-13) | OpenAI | 86.5 | 2026-04 |
| GPT-4o (2024-08-06) | OpenAI | 86.5 | 2026-04 |
| GPT-4o (2024-11-20) | OpenAI | 86.5 | 2026-04 |
| GPT-4o mini | OpenAI | 86.5 | 2026-04 |
| Qwen2.5 Coder 32B Instruct | Alibaba / Qwen Team | 83.5 | 2026-04 |
| Qwen2.5 Coder 32B Instruct AWQ | Alibaba / Qwen Team | 83.5 | 2026-04 |
| Gemma 4 31B | Google DeepMind | 81.2 | 2026-04 |
| gemma 4 31B it | Google DeepMind | 81.2 | 2026-04 |
| gemma 4 31B it GGUF | Unsloth | 81.2 | 2026-04 |
| Gemma 4 31B IT NVFP4 | NVIDIA | 81.2 | 2026-04 |
| Mistral Large (latest) | Mistral AI | 80.2 | 2026-04 |
| Mistral Large 2.1 | Mistral AI | 80.2 | 2026-04 |
| Mistral Large 3 | Mistral AI | 80.2 | 2026-04 |
| Codestral (latest) | Mistral AI | 79.5 | 2026-04 |
| Gemma 4 26B | Google DeepMind | 79.2 | 2026-04 |
| Qwen2.5 Coder 14B Instruct | Alibaba / Qwen Team | 78.5 | 2026-04 |
| Llama 3.3 70B Instruct NVFP4 | NVIDIA | 77.5 | 2026-04 |
| Llama-3.3-70B-Instruct | Meta | 77.5 | 2026-04 |
| phi 4 | Microsoft | 76.5 | 2026-04 |
| Phi 4 mini instruct | Microsoft | 76.5 | 2026-04 |
| Llama 3.1 70B | Meta | 75.8 | 2026-04 |
| Llama 3.1 70B Instruct | Meta | 75.8 | 2026-04 |
| Qwen2.5 Coder 7B Instruct | Alibaba / Qwen Team | 72.1 | 2026-04 |
| Qwen2.5 Coder 7B Instruct GPTQ Int4 | Alibaba / Qwen Team | 72.1 | 2026-04 |
| CodeLlama 34B Instruct hf | Meta | 64.5 | 2026-04 |