atlas

Research map / Large language models / Agents, code and math

LibEvoBench: Probing Temporal Knowledge Stratification in Code Generation Models

NeurIPS 2026 · Large language models › Agents, code and math · approach: Code generation benchmarks · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces LibEvoBench, a version-indexed benchmark over PyTorch, NumPy, and SciPy API evolution plus the SEUS metric, finding frontier LLMs are largely version-oblivious on evolving APIs.

Problem

LLMs must generate code that uses the correct API version of a library, but their training on temporally mixed corpora causes anachronistic errors where APIs from a different library version are called.

Approach

A deterministic, version-indexed API compatibility matrix (built from Sphinx inventories and runtime introspection) enables a three-task benchmark and a hallucination taxonomy that separates anachronistic predictions from fabrication, combined into a stability- and anachronism-penalized score (SEUS).

Key results

Surprising findings

Limitations

Experimental setup

Datasets: GitHub public repositories with requirements.txt pins Sphinx objects.inv documentation inventories runtime package introspection of PyTorch, NumPy, SciPy versions

Benchmarks: LibEvoBench

Metrics: exact match parameter recall parameter F1 SEUS retention anachronism rate

Baselines: GPT-4.1 GPT-5 GPT-5.1 GPT-5.4 GPT-5.5 Gemini 2.0 Flash Gemini 2.5 Flash Gemini 3 Flash Claude Sonnet 4 Claude Sonnet 4.6 Qwen3.5

Builds on: GitChameleon CodeUpdateArena VersiCode LibEvolutionEval

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy