CLAISEMay 7, 2025

YABLoCo: Yet Another Benchmark for Long Context Code Generation

arXiv:2505.04406v13 citationsh-index: 62025 IEEE/ACM International Workshop on Large Language Models for Code (LLM4Code)
Originality Synthesis-oriented
AI Analysis

This addresses the gap in evaluating LLMs on real-world, long-context code generation tasks, specifically for C and C++ languages, though it is incremental as it builds on existing benchmarking efforts.

The paper introduces YABLoCo, a benchmark for evaluating code generation in large C and C++ repositories with up to 2 million lines of code, featuring 215 functions from four repositories and including tools for scalable evaluation and visual analysis.

Large Language Models demonstrate the ability to solve various programming tasks, including code generation. Typically, the performance of LLMs is measured on benchmarks with small or medium-sized context windows of thousands of lines of code. At the same time, in real-world software projects, repositories can span up to millions of LoC. This paper closes this gap by contributing to the long context code generation benchmark (YABLoCo). The benchmark featured a test set of 215 functions selected from four large repositories with thousands of functions. The dataset contained metadata of functions, contexts of the functions with different levels of dependencies, docstrings, functions bodies, and call graphs for each repository. This paper presents three key aspects of the contribution. First, the benchmark aims at function body generation in large repositories in C and C++, two languages not covered by previous benchmarks. Second, the benchmark contains large repositories from 200K to 2,000K LoC. Third, we contribute a scalable evaluation pipeline for efficient computing of the target metrics and a tool for visual analysis of generated code. Overall, these three aspects allow for evaluating code generation in large repositories in C and C++.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes