SWE-Time: Benchmarking Temporal Repository Understanding
Shijun Xiao, Xinrong Chen, Hao Liu, Wensheng Zhang, Yongqiang Tang
Key points
From the paper's conclusion- We introduce SWE-Time, a benchmark for temporal repository understanding that makes repository evolution itself the reasoning target.
Abstract
Repository-level code-understanding benchmarks have progressively expanded the spatial scope of reasoning, from local code to entire repositories, while largely treating each repository as a static snapshot. However, how models reason about repository evolution over time remains largely unexplored. We introduce SWE-Time, a benchmark for temporal repository understanding that makes repository evolution itself the reasoning target. SWE-Time evaluates two complementary temporal directions: retrospective understanding of repository evolution through historical regression analysis and prospective understanding of intended changes from pre-change repository states. To enable realistic yet reliable evaluation in these settings, we introduce the RealWorld-to-Verifiable Construction Framework, which transforms real-world developer queries and historical evidence into verifiable evaluation tasks. We evaluate 15 coding agents on 1,661 cases from 65 GitHub repositories. Within Claude Code, Claude Opus 4.8 achieves the highest SWE-Time Avg. of 61.9, leaving substantial headroom. Controlled analyses highlight the importance of historical code evidence and developer intent, while consistent reasoning across repository states remains challenging. These results highlight repository evolution as a distinct and challenging dimension of code understanding.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Chronos Enables Code Agents to Reason over Software EvolutionarXiv · 2026
- Time-Consistent Evaluation of Hierarchical Code Graphs for SWE AgentsarXiv · 2026
- Temporal Adaptive Fine-Tuning for Code ComprehensionarXiv · 2026
- WEAVE: Weaving Real-World Code Evolution into Dependency-Structured Tasks for Benchmarking and Training Code AgentsarXiv · 2026
- UserSWE: Evaluating Coding Agents in Multi-Turn Conversations with Dynamic UsersarXiv · 2026
- RepoEviAgent: Scalable Synthesis of Evidence-Grounded Repository-Level Question Answering TasksarXiv · 2026