Research map / Large language models / Agents, code and math
M2RC-EVAL: Massively Multilingual Repository-level Code Completion Evaluation
Jiaheng Liu, Ken Deng, Congnan Liu, Jian Yang, Shukai Liu, He Zhu, Peng Zhao, Linzheng Chai, Yanan Wu, Ke Jin, Ge Zhang, Zekun Wang and 6 more
Alibaba Group · Nanjing University · University of Waterloo · Chinese Academy of Sciences
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| fine-tune on M2RC-Instruct (with retrieval) | StarCoder-7B · M2RC-Eval test avg | exact match: 24.1 -> 44.5 | Improved |
| fine-tune on M2RC-Instruct (with retrieval) | DeepSeekCoder-6.7B · M2RC-Eval test avg | edit similarity: 51.7 -> 74.1 | Improved |
| add cross-file retrieval context (ablation) | Code Llama-7B · M2RC-Eval test avg | edit similarity: 50.3 -> 46.1 | Hurt |
| add cross-file retrieval context (ablation) | StarCoder-7B · M2RC-Eval test avg | exact match: EM 21.0 -> 24.1; ES 52.0 -> 50.0 | Mixed |
| add cross-file retrieval context (ablation) | DeepSeekCoder-6.7B · M2RC-Eval test avg | exact match: EM 22.6 -> 25.1; ES 54.7 -> 51.7 | Mixed |
| fine-tune with Retrieval & Tuning versus StarCoder-7B inference only | StarCoder-3B · M2RC-Eval validation avg | exact match: 41.7 (3B tuned) vs 20.6 (7B untuned) | Improved |
| fine-tune only on Python data instead of all 18 languages (ablation) | StarCoder-7B · M2RC-Eval validation avg | edit similarity: 71.4 -> 67.9 (EM 44.4 -> 39.2) | Mixed |
| increase fine-tuning data from 0.1k to 50k samples per language (ablation) | StarCoder-7B · M2RC-Eval validation | EM/ES | Improved |
| increase input length up to 4096 tokens (ablation) | StarCoder-7B (Retrieval & Tuning) · M2RC-Eval test | EM/ES | Improved |
| add retrieval and tuning (CodeBLEU) | StarCoder-7B · M2RC-Eval test, 10 languages | CodeBLEU: 48.7 -> 55.9 | Improved |
Open problems in code generation benchmarks
Do code benchmarks and methods hold beyond Python, small test sets and leaked data?
- Tested on Python or a few languages, so other languages are untested. · 25 papers state it
- Benchmarks are small, with a few dozen to a few hundred problems. · 14 papers state it
- Iterative or multi-step methods cost more tokens, latency and compute. · 12 papers state it
Closest papers by meaning
- McEval: Massively Multilingual Code Evaluation (ICLR 2025 · similarity 0.91)
- Multi-lingual Evaluation of Code Generation Models (ICLR 2023 · similarity 0.90)
- CodeRAG: Finding Relevant and Necessary Knowledge for Retrieval-Augmented Repository-Level Code Completion (EMNLP 2025 · similarity 0.90)
- Hierarchical Context Pruning: Optimizing Real-World Code Completion with Repository-Level Pretrained Code LLMs (AAAI 2025 · similarity 0.89)
- RepoBench: Benchmarking Repository-Level Code Auto-Completion Systems (ICLR 2024 · similarity 0.88)
- Repoformer: Selective Retrieval for Repository-Level Code Completion (ICML 2024 · similarity 0.88)
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.