LibEvolutionEval: A Benchmark and Study for Version-Specific Code Generation
Not on the map. Why?
Abstract (arXiv)
Recent advancements in code completion models have primarily focused on local file contexts. However, these studies do not fully capture the complexity of real-world software development, which often requires the use of rapidly-evolving public libraries. To fill the gap, we introduce LibEvolutionEval, a detailed study requiring an understanding of library evolution to perform in-line code completion accurately. LibEvolutionEval provides a version-specific code-completion task comprised of eight libraries (torch, torchvision, scipy, pil, tqdm, pyyaml, matplotlib, and pandas) as they evolve over the year along with a detailed analysis of the evolution of two popular and well-maintained public libraries: PyTorch and Matplotlib. We evaluate popular public models and find that public library evolution significantly influences model performance. We explored mitigation methods by studying how retrieved version-specific library documentation and prompting can improve the model's capability in handling these fast-evolving packages, paving a promising future path in better handling fast-evolving libraries.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 2 of its 5 references that are in the map. First posted on arXiv 19 Nov 2024.
Builds on
2 of 5 references.
References · 2
Built on by
Citing papers per year: 2025: 2; 2026: 9.
11 papers.
- 2025DI-BENCH: Benchmarking Large Language Models on Dependency Inference with Testable Repositories at Scalecited by 7
- 2026Environment-Aware Code Generation: How far are We?cited by 4
- 2026What Breaks When LLMs Code? Characterizing Operational Safety Failures of Agentic Code Assistantscited by 3
- 2025GitChameleon 2.0: Evaluating AI Code Generation Against Python Library Version Incompatibilitiescited by 2
- 2026Automating Database-Native Function Code Synthesis with LLMscited by 2
- 2026TimeMachine-bench: A Benchmark for Evaluating Model Capabilities in Repository-Level Migration Taskscited by 1
- 2026Correct Code, Vulnerable Dependencies: A Large Scale Measurement Study of LLM-Specified Library Versionscited by 1
- 2026Knowledge boundary probing and demand-guided intervention for LLM-based power system code generationcited by 1
- 2026Toward Executable Repository-Level Code Generation via Environment Alignmentcited by 0
- 2026Diagnosing Knowledge Gaps in LLM Tool Use: An Agentic Benchmark for Novel API Acquisitioncited by 0
- 2026LibEvoBench: Probing Temporal Knowledge Stratification in Code Generation Modelscited by 0
- 2026LibEvoBench: Probing Temporal Knowledge Stratification in Code Generation Models24 Jun 2026
- 2026Diagnosing Knowledge Gaps in LLM Tool Use: An Agentic Benchmark for Novel API Acquisition2 Jun 2026
- 2026Knowledge boundary probing and demand-guided intervention for LLM-based power system code generation29 May 2026
- 2026What Breaks When LLMs Code? Characterizing Operational Safety Failures of Agentic Code Assistants29 May 2026
- 2026Correct Code, Vulnerable Dependencies: A Large Scale Measurement Study of LLM-Specified Library Versions7 May 2026
- 2026Toward Executable Repository-Level Code Generation via Environment Alignment4 Apr 2026
- 2026Automating Database-Native Function Code Synthesis with LLMs2 Apr 2026
- 2026TimeMachine-bench: A Benchmark for Evaluating Model Capabilities in Repository-Level Migration Tasks30 Jan 2026
- 2026Environment-Aware Code Generation: How far are We?18 Jan 2026
- 2025GitChameleon 2.0: Evaluating AI Code Generation Against Python Library Version Incompatibilities16 Jul 2025
- 2025DI-BENCH: Benchmarking Large Language Models on Dependency Inference with Testable Repositories at Scale23 Jan 2025