GitChameleon 2.0: Evaluating AI Code Generation Against Python Library Version Incompatibilities
Not on the map. Why?
Abstract (arXiv)
The rapid evolution of software libraries poses a considerable hurdle for code generation, necessitating continuous adaptation to frequent version updates while preserving backward compatibility. While existing code evolution benchmarks provide valuable insights, they typically lack execution-based evaluation for generating code compliant with specific library versions. To address this, we introduce GitChameleon 2.0, a novel, meticulously curated dataset comprising 328 Python code completion problems, each conditioned on specific library versions and accompanied by executable unit tests. GitChameleon 2.0 rigorously evaluates the capacity of contemporary large language models (LLMs), LLM-powered agents, code assistants, and RAG systems to perform version-conditioned code generation that demonstrates functional accuracy through execution. Our extensive evaluations indicate that state-of-the-art systems encounter significant challenges with this task; enterprise models achieving baseline success rates in the 48-51% range, underscoring the intricacy of the problem. By offering an execution-based benchmark emphasizing the dynamic nature of code libraries, GitChameleon 2.0 enables a clearer understanding of this challenge and helps guide the development of more adaptable and dependable AI code generation methods. We make the dataset and evaluation code publicly available at https://github.com/mrcabbage972/GitChameleonBenchmark.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 24 of its 87 references that are in the map. First posted on arXiv 16 Jul 2025.
Builds on
24 of 87 references.
References · 24
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
- 2023Teaching Large Language Models to Self-Debugcited by 963
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
- 2025Agentic Retrieval-Augmented Generation: A Survey on Agentic RAGcited by 242
12 more
- 2019Gradio: Hassle-Free Sharing and Testing of ML Models in the Wildcited by 176
- 2022DocPrompting: Generating Code by Retrieving the Docscited by 151
- 2024LLMs Meet Library Evolution: Evaluating Deprecated API Usage in LLM-based Code Completioncited by 29
- 2020Automated Unit Test Generation for Pythoncited by 18
- 2024CodeUpdateArena: Benchmarking Knowledge Editing on API Updatescited by 18
- 2025CODEMENV: Benchmarking Large Language Models on Code Migrationcited by 13
- 2024RGD: Multi-LLM Based Agent Debugger via Refinement and Generation Guidancecited by 12
- 2024LibEvolutionEval: A Benchmark and Study for Version-Specific Code Generationcited by 11
- 2025Prompt Alchemy: Automatic Prompt Refinement for Enhancing Code Generationcited by 8
- 2024A Systematic Evaluation of Large Code Models in API Suggestion: When, Which, and Howcited by 7
- 2024On the Generalizability of Deep Learning-based Code Completion Across Programming Language Versionscited by 2
- 2024Self-Explained Keywords Empower Large Language Models for Code Generationcited by 2
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025CODESYNC: Synchronizing Large Language Models with Dynamic Code Evolution at Scale
- 2025SWE-EVO: Benchmarking Coding Agents in Long-Horizon Software Evolution Scenarios
- 2025AI-Generated Code Is Not Reproducible (Yet): An Empirical Study of Dependency Gaps in LLM-Based Coding Agents
- 2025UTBoost: Rigorous Evaluation of Coding Agents on SWE-Bench
- 2026RoadmapBench: Evaluating Long-Horizon Agentic Software Development Across Version Upgrades
- 2026When LLMs Lag Behind: Knowledge Conflicts from Evolving APIs in Code Generation
- 2026CodeEval: A pedagogical approach for targeted evaluation of code-trained Large Language Models
- 2026PBT-Bench: Benchmarking AI Agents on Property-Based Testing