atlas

Research map / Large language models / Agents, code and math

McEval: Massively Multilingual Code Evaluation

ICLR 2025 · Large language models › Agents, code and math · approach: Mathematical and structural reasoning benchmarks

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces McEval, a hand-written 40-language code benchmark (~16K samples) spanning generation, explanation, and completion, plus McEval-Instruct corpus and the mCoder models fine-tuned on CodeQwen1.5 and DeepSeekCoder.

Problem

Existing code benchmarks are mostly Python-only or translate Python samples into a few other languages, lacking diversity and multilingual, multitask coverage for evaluating code LLMs.

Approach

A massively multilingual (40 languages), human-written benchmark covering generation, explanation (two-pass code-to-NL-to-code), and four completion types, paired with an LLM-generated multilingual instruction corpus using cross-lingual code transfer to fine-tune mCoder.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Fine-tune CodeQwen-1.5 on McEval-InstructCodeQwen-1.5 · McEval code generation (40 languages)Pass@1 (%): 33.2 -> 46.7Helped
Use mCoder instead of GPT-4oMcEval code generation (40 languages) · McEval code generation (40 languages)Pass@1 (%): 65.2 -> 46.7Hurt
Use mCoder instead of GPT-4 TurboMcEval completion · McEval single-line completion (40 languages)Pass@1 (%): 82.7 -> 78.9Hurt
Use mCoder instead of GPT-4 TurboMcEval completion · McEval multi-line completion (40 languages)Pass@1 (%): 76.6 -> 60.7Hurt
Use mCoder instead of GPT-4 TurboMcEval completion · McEval span completion (40 languages)Pass@1 (%): 75.0 -> 62.6Hurt
Use mCoder instead of GPT-4 TurboMcEval completion · McEval span completion light (40 languages)Pass@1 (%): 76.5 -> 63.1Hurt

Surprising findings

Limitations

Experimental setup

Datasets: McEval-Instruct open-source code instruction collection

Benchmarks: McEval

Metrics: Pass@1 (greedy) exact match for markup languages

Baselines: GPT-4o GPT-4 Turbo GPT-3.5 Turbo DeepSeekCoder-Instruct CodeQwen1.5-Chat Magicoder-S-DS CodeLlama-Instruct WizardCoder

Builds on: MultiPL-E MBXP HumanEval-X Code Llama DeepSeekCoder

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy