Metraipolis › archive › dc_08e778a8f9f2

PolyCodeEval: Benchmarking Multilingual Code Generation from Functions to Repositories — arXiv:2610.11618

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.11618
License (as archived)
CC0-1.0
Archived
2026-10-09T06:26:41.217Z
SHA-256 of the archived text
9f1fb5834a021783adecbf5891e40b2f0ba8c06d9f2c745732e7f209a0b05bf8
Stable URL of this page
https://metraipolis.com/documento/dc_08e778a8f9f2

How to cite

PolyCodeEval: Benchmarking Multilingual Code Generation from Functions to Repositories — arXiv:2610.11618 — arXiv (en), https://arxiv.org/abs/2610.11618 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_08e778a8f9f2 (Metraipolis archive dc_08e778a8f9f2, sha256 9f1fb5834a021783adecbf5891e40b2f0ba8c06d9f2c745732e7f209a0b05bf8)
BibTeX
@misc{dc08e778a8f9f2,
  title = {PolyCodeEval: Benchmarking Multilingual Code Generation from Functions to Repositories — arXiv:2610.11618},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.11618},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_08e778a8f9f2; sha256 9f1fb5834a021783adecbf5891e40b2f0ba8c06d9f2c745732e7f209a0b05bf8},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.11618. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

As large language models increasingly move toward repository-level software engineering, existing code-generation benchmarks remain fragmented across language coverage, task granularity, and evaluation protocols, impeding systematic comparison. To address this gap, we present PolyCodeEval, a unified multilingual and multi-granularity benchmark for code generation. It comprises 2,590 code generation tasks spanning functions to repositories, derived from 58 real, executable open-source repositories in five programming languages. All tasks are evaluated under a unified execution-based protocol with integration procedures tailored to their generation targets. Building on this benchmark, we evaluate frontier large language models, state-of-the-art specialized methods, and general coding agents. Our results show that existing approaches still struggle to correctly generate complete code fragments across granularities and languages. Specifically, the studied methods generate at most 71.7%, 76.7%, and 31.0% correct functions, files, and repositories, respectively, with performance varying widely across languages. Paired experiments further show that implementation context from related functions in the same file improves the executable correctness of function generation. Method rankings also vary across task granularities and programming languages, highlighting the importance of multilingual, multi-granularity evaluation for comprehensively assessing code generation capabilities.

Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.SE, nuovi lavori del giorno).
Categorie arXiv: Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2610.11618 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-09T05:50:45.913Z dalla pagina https://arxiv.org/list/cs.SE/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).