GitChameleon 2.0: Evaluating AI Code Generation Against Python Library Version Incompatibilities
Diganta Misra, Nizar Islah, Victor May, Brice Rauby, Zihan Wang, Justine Gehring, Antonio Orvieto, Muawiz Sajjad Chaudhary, Eilif B. Muller, Irina Rish, Samira Ebrahimi Kahou, Massimo Caccia
acl · 2026
Benchmark design
These annotations use Evidence-Centered Benchmark Design (ECBD) to describe how the authors designed the benchmark and which choices they justify in their publication.
Design annotations from the paper
- Objects of Evaluation
- yes
- Intended Users
- yes
- Intended Interpretation or Use
- yes
- Capabilities Stated
- yes
- Capability Choice Justification
- yes
- Capability Definitions
- defined
- Capability Definition Justification
- yes
- Measured Capability Structure
- no
- Capability Structure Justification
- no
- Data Source
- newly created
- Newly-Created Sub-Type
- human written
- Data Description
- detailed
- Item-to-Capability Mapping
- implicit
- Content Justification
- yes
- Primary Adaptation Method Description
- zero shot, chain of thought, decoding strategy, agent harness, other
- Downstream Adaptation Prescription
- no
- Adaptation Justification
- no
- Assembly Method
- use all
- Assembly Justification
- no
- Evaluation-Set Policy
- full required
- Official Evidence Extraction Method
- automatic metric
- Metric Justification
- yes
- Within-Slice Evidence Accumulation
- pooled counts
- Cross-Slice Evidence Accumulation
- not applicable
- Evidence Accumulation Justification
- no
Reported model results
GitChameleon 2.0
| Rank | Model or baseline | Score | Source |
|---|---|---|---|
Hidden success rate (%)GitChameleon 2.0 · Version-constrained code generation · Greedy decoding | |||
| 1 | 55.2% | ||
| 2 | 50% | ||
| 3 | 49.1% | ||
| 4 | 48.8% | ||
| 5 | 48.5% | ||
| 6 | 48.2% | ||
| 6 | 48.2% | ||
| 8 | 45.1% | ||
| 9 | 44.2% | ||
| 9 | 44.2% | ||
| 11 | 43.6% | ||
| 12 | 40.8% | ||
| 12 | 40.8% | ||
| 14 | 38.1% | ||
| 15 | 37.2% | ||
| 16 | 36.3% | ||
| 17 | 33.8% | ||
Visible success rate (%)GitChameleon 2.0 · Version-constrained code generation · Greedy decoding | |||
| 1 | 61% | ||
| 2 | 55.8% | ||
| 3 | 55.5% | ||
| 4 | 54% | ||
| 5 | 53.7% | ||
| 6 | 51.5% | ||
| 7 | 50.6% | ||
| 8 | 50% | ||
| 9 | 49.1% | ||
| 10 | 46.6% | ||
| 11 | 46.3% | ||
| 12 | 46% | ||
| 13 | 43.3% | ||
| 14 | 41.8% | ||
| 15 | 35.1% | ||
API hit rate (%)GitChameleon 2.0 · Version-constrained code generation · Greedy decoding | |||
| 1 | 52.8% | ||
| 2 | 49.5% | ||
| 3 | 47.7% | ||
| 4 | 46.8% | ||
| 4 | 46.8% | ||
| 6 | 46.5% | ||
| 7 | 46% | ||
| 8 | 45.4% | ||