ACL 2025long0 citations

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

Abstract

Repository-level code completion has drawn great attention in software engineering, and several benchmarks have been introduced. However, existing repository-level code completion benchmarks usually focus on a limited number of languages (<5), which cannot evaluate the general code intelligence abilities across different languages for existing code Large Language Models (LLMs). Besides, the existing benchmarks usually report overall average scores of different languages, where the fine-grained abilities in different completion scenarios are ignored. Therefore, to facilitate the research of code LLMs in multilingual scenarios, we propose a massively multilingual repository-level code completion benchmark covering 18 programming languages (called M2RC-EVAL), and two types of fine-grained annotations (i.e., bucket-level and semantic-level) on different completion scenarios are provided, where we obtain these annotations based on the parsed abstract syntax tree. Moreover, we also curate a massively multilingual instruction corpora M2RC-INSTRUCT dataset to improve the repository-level code completion abilities of existing code LLMs. Comprehensive experimental results demonstrate the effectiveness of our M2RC-EVAL and M2RC-INSTRUCT.

BibTeX
@inproceedings{liu-etal-2025-m2rc,
    title = "{M}2{RC}-{EVAL}: Massively Multilingual Repository-level Code Completion Evaluation",
    author = "Liu, Jiaheng  and
      Deng, Ken  and
      Liu, Congnan  and
      Yang, Jian  and
      Liu, Shukai  and
      Zhu, He  and
      Zhao, Peng  and
      Chai, Linzheng  and
      Wu, Yanan  and
      JinKe, JinKe  and
      Zhang, Ge  and
      Wang, Zekun Moore  and
      Zhang, Guoan  and
      Tan, Yingshui  and
      Xiang, Bangyu  and
      Zhang, Zhaoxiang  and
      Su, Wenbo  and
      Zheng, Bo",
    editor = "Che, Wanxiang  and
      Nabende, Joyce  and
      Shutova, Ekaterina  and
      Pilehvar, Mohammad Taher",
    booktitle = "Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
    month = jul,
    year = "2025",
    address = "Vienna, Austria",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2025.acl-long.763/",
    doi = "10.18653/v1/2025.acl-long.763",
    pages = "15661--15684",
    ISBN = "979-8-89176-251-0"
}