YABLoCo: Yet Another Benchmark for Long Context Code Generation
Aidar Valeev (1), Roman Garaev (1), Vadim Lomshakov (2), Irina, Piontkovskaya (3), Vladimir Ivanov (1), Israel Adewuyi (1) ((1) Research, Center of the Artificial Intelligence Institute, Innopolis University,, Russia, (2) St. Petersburg Department of the Steklov Institute of

TL;DR
This paper introduces YABLoCo, a comprehensive benchmark for evaluating large language models on long-context code generation tasks in large C and C++ repositories, addressing a significant gap in existing benchmarks.
Contribution
The paper presents a new benchmark with large repositories, including a scalable evaluation pipeline and tools for visual analysis, specifically targeting long-context code generation in C and C++.
Findings
Benchmark includes 215 functions from repositories with up to 2 million lines of code.
Introduces a scalable evaluation pipeline for efficient metric computation.
Provides tools for visual analysis of generated code.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software System Performance and Reliability · Software Testing and Debugging Techniques
MethodsSparse Evolutionary Training
