English

MERA Code: A Unified Framework for Evaluating Code Generation Across Tasks

Software Engineering 2025-12-02 v3 Artificial Intelligence Computation and Language

Abstract

Advancements in LLMs have enhanced task automation in software engineering; however, current evaluations primarily focus on natural language tasks, overlooking code quality. Most benchmarks prioritize high-level reasoning over executable code and real-world performance, leaving gaps in understanding true capabilities and risks associated with these models in production. To address this issue, we propose MERA Code, a new addition to the MERA benchmark family, specifically focused on evaluating code for the latest code generation LLMs in Russian. This benchmark includes 11 evaluation tasks that span 8 programming languages. Our proposed evaluation methodology features a taxonomy that outlines the practical coding skills necessary for models to complete these tasks. The benchmark comprises an open-source codebase for users to conduct MERA assessments, a scoring system compatible with various programming environments, and a platform featuring a leaderboard and submission system. We evaluate open LLMs and frontier API models, analyzing their limitations in terms of practical coding tasks in non-English languages. We are publicly releasing MERA to guide future research, anticipate groundbreaking features in model development, and standardize evaluation procedures.

Keywords

Cite

@article{arxiv.2507.12284,
  title  = {MERA Code: A Unified Framework for Evaluating Code Generation Across Tasks},
  author = {Artem Chervyakov and Alexander Kharitonov and Pavel Zadorozhny and Adamenko Pavel and Rodion Levichev and Dmitrii Vorobev and Dmitrii Salikhov and Aidar Valeev and Alena Pestova and Maria Dziuba and Ilseyar Alimova and Artem Zavgorodnev and Aleksandr Medvedev and Stanislav Moiseev and Elena Bruches and Daniil Grebenkin and Roman Derunets and Vikulov Vladimir and Anton Emelyanov and Dmitrii Babaev and Vladimir V. Ivanov and Valentin Malykh and Alena Fenogenova},
  journal= {arXiv preprint arXiv:2507.12284},
  year   = {2025}
}
R2 v1 2026-07-01T04:04:24.649Z