SWE-Time: Benchmarking Temporal Repository Understanding
Shijun Xiao, Xinrong Chen, Hao Liu, Wensheng Zhang, Yongqiang Tang
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.
Create a lesson
Related papers
Git2KG: Mining socio-technical relationships in GitHub repositories as temporal knowledge graphs
Shared title terminology · Lennart Hessenauer, Lisi Qarkaxhija, Ingo Scholtes
Repository-Context-Guided Image Understanding for Agentic Software Development
Shared title terminology · Fumiki Yohena, Toshiaki Sota, Shota Suzuki et al.
Schema-Validated LLM Workflows: A Benchmark Protocol and Comparative Evaluation Across Six Python Implementations
Shared title terminology · Sidney Shapiro, Sanad Al-Khatib, Aurora Pinzón Arzola et al.
SWE-Recreation: Benchmarking Coding Agents for Software Recreation
Shared title terminology · Zhiyao Xu, Zhanjie Ding, Hongyao Yu et al.
Technology-Enabled Fuel Supply Chain Resilience: An Integrated Information System for Real-Time Monitoring and Decision Support
Shared title terminology · Mohamed Loutis, Esma Aïmeur
DVBench: End-to-End Benchmark for Real-World UVM Design Verification Agents
Shared title terminology · Jiaru Qian, Jiawei Li, Xiaolong Hu et al.