Manuscript Offprint
arXiv:2611.12083SWE-Time: Benchmarking Temporal Repository Understanding
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
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.
1 Introduction
"Why do we remember the past but not the future?"
—Stephen Hawking, A Brief History of Time
Coding has become one of the most important applications of large language models, motivating numerous benchmarks for code generation (Chen et al., 2021; Hendrycks et al., 2021; Liu et al., 2023; Jain et al., 2025; Zhuo et al., 2025), software repair (Jimenez et al., 2024), and repository-level reasoning (Liu et al., 2024; Ding et al., 2023; Li et al.,

Figure 1: Existing code-understanding benchmarks focus on a fixed repository snapshot, whereas SWE-Time evaluates how code evolves through retrospective and prospective reasoning. Spatial scope increases from functions to files, cross-file interactions, and repositories. , , and denote repository states, connected by changes and . Dashed future states are hidden from the agent.
2024). Despite their different objectives, these tasks share a common requirement: code understanding (CU), the ability to reason about program behavior and dependencies (Yang et al., 2024; Li et al., 2025; Wang et al., 2026; Lu et al., 2021; Yan et al., 2024; Nguyen et al., 2025). Dedicated CU benchmarks assess this shared capability directly at the repository level. For example, SWE-QA-Pro and RepoProbe use natural-language questions about repository code (Cai et al., 2026; Yang et al., 2026), whereas RepoReason and RepoReasoner evaluate assertion verification, output prediction, and call-chain prediction (Li et al., 2026; Wang et al., 2026).
These benchmarks expand the spatial scope of CU evaluation from individual functions and files to entire repositories. However, they generally assess code within a fixed repository snapshot. In practice, each snapshot is part of an evolving repository history, as shown in Figure 1. Current behavior reflects past changes, while the effects of a new change depend on the current repository state (Ren et al., 2004). For example, when a feature that previously worked starts failing, developers need to identify which change introduced the regression (Zeller, 1999). Before implementing a request, developers need to anticipate its effects on repository components and behavior, even though the modified code does not yet exist (Sillito et al., 2006; Ko et al., 2007). These problems motivate evaluating both retrospective reasoning about the origins of current behavior and prospective reasoning about the consequences of future changes.
To assess these two forms of reasoning, we introduce SWE-Time, a benchmark for temporal repository understanding. Its two tasks instantiate these reasoning directions. In Task Backward, agents trace a reported regression through repository history to identify the first-bad commit. In Task Forward, they reason from developer intent and the pre-change repository state to predict how the requested change would affect repository behavior. They assess whether agents can relate code changes to repository behavior in both directions.
Realistic, reproducible evaluation requires authentic developer queries and verifiable reference answers (Just et al., 2014; Widyasari et al., 2020; Gyimesi et al., 2019; Tomassi et al., 2019). Existing CU benchmarks fall into two categories: natural-language QA benchmarks and programmatic benchmarks. QA benchmarks (Cai et al., 2026; Yang et al., 2026) offer developer-oriented questions but often score open-ended answers with LLM judges (Zheng et al., 2023). Programmatic benchmarks (Li et al., 2026; Wang et al., 2026), by contrast, support deterministic scoring but typically do not start from natural-language developer requests. We introduce the RealWorld-to-Verifiable Construction Framework, using independently verifiable historical evidence to identify authentic development events suitable for reliable evaluation. The resulting tasks combine authentic developer queries with deterministic answer verification.
Applying this procedure yields 1,661 cases from 65 GitHub repositories. We evaluate 15 coding agents on the resulting benchmark, using Claude Code for the main model comparison and Codex for supplementary references. Claude Opus 4.8 achieves the highest SWE-Time Avg. within Claude Code at 61.9. To examine the sources of difficulty, we conduct controlled experiments on historical code evidence and developer intent, and assess correctness across paired repository states using Pair Exact. These analyses show that both historical evidence and developer intent contribute to performance, while maintaining correct predictions across repository states remains difficult. Our contributions are as follows:
-
We formulate temporal repository understanding as retrospective and prospective reasoning, and introduce SWE-Time to evaluate both through repository-grounded tasks.
-
We introduce the RealWorld-to-Verifiable Construction Framework, using independently verifiable historical evidence to identify authentic development events suitable for reliable evaluation.
-
We evaluate 15 coding agents and use controlled experiments to characterize the roles of historical evidence, developer intent, and repository state in their performance.
Programmatic benchmarks instead use fixed targets: RepoReason evaluates assertion verification (Li et al., 2026), and RepoReasoner evaluates output and call-chain prediction (Wang et al., 2026). Their scoring does not require an LLM judge, but their inputs are not authentic natural-language developer requests. These code-understanding tasks primarily assess a given code context. SWE-Time
| Benchmark | Primary Task | Repo-Level? | Real Developer Query? | Verifiable? | Code Understanding? | Temporal? |
|---|---|---|---|---|---|---|
| CRUXEval | Function-Level Code Reasoning | ✕ | ✕ | ✓ | ✓ | ✕ |
| LongCodeU | Long-Code Understanding | ✕ | ✕ | ✓ | ✓ | ✕ |
| SWE-QA | Repository QA | ✓ | △ | ✕ | ✓ | ✕ |
| CoReQA | Repository QA | ✓ | △ | ✕ | ✓ | ✕ |
| SWE-QA-Pro | Repository QA | ✓ | △ | ✕ | ✓ | ✕ |
| SWE-Compass CU | Code Understanding | ✓ | △ | ✕ | ✓ | ✕ |
| RepoProbe | Repository QA | ✓ | △ | ✕ | ✓ | ✕ |
| RepoReason | Assertion Verification | ✓ | ✕ | ✓ | ✓ | ✕ |
| RepoReasoner | Output / Call-Chain Prediction | ✓ | ✕ | ✓ | ✓ | ✕ |
| LLMBisect | Bug-Introducing Commit Localization | ✓ | ✕ | ✓ | ✕ | ✓ |
| AgentSZZ | Bug-Introducing Commit Localization | ✓ | ✕ | ✓ | ✕ | ✓ |
| LinkAnchor | Issue-Commit Linking | ✓ | ✓ | ✓ | ✕ | ✓ |
| SWE-EVO | Long-Horizon Software Evolution | ✓ | ✓ | ✓ | ✕ | ✓ |
| SWE-Time | Temporal Repository Understanding | ✓ | ✓ | ✓ | ✓ | ✓ |
Table 1: Comparison with representative code reasoning, repository understanding, and temporal software-engineering work. ✓ / ✕ indicate whether a work satisfies each property; △ indicates that task queries include LLM synthesis or rewriting of real developer artifacts. The Code Understanding column identifies dedicated comprehension tasks. Sources are discussed in Section 2.
additionally makes changes between repository states part of the evaluation target.
Temporal Software Engineering. SZZ traces bug-fixing changes to historical changes that may have introduced the problem (Sliwerski et al., 2005; Williams and Spacco, 2008; Rosa et al., 2021). LLMBisect and AgentSZZ use LLMs or agents to reason over fixing evidence, code, and commit history to identify bug-inducing commits (Zhang et al., 2026; Lyu et al., 2026). LinkAnchor recovers resolving-commit links from issues and repository history (Akhavan et al., 2026). SWE-EVO uses original release notes and linked developer artifacts to specify long-horizon software evolution tasks, validating resulting code changes with tests (Le et al., 2026). These studies already use software history and involve code and temporal reasoning. SWE-Time differs in its evaluation setting: Backward starts from a sanitized regression report and locates the first-bad boundary without future fixing evidence, while Forward infers workflow consequences from a pre-change issue and repository state. Its outputs directly assess historical localization and change consequences without requiring a repair patch. Table 1 summarizes task, input, scoring, and temporal properties.
3 SWE-Time Benchmark
3.1 Benchmark Overview
SWE-Time evaluates temporal repository understanding. We model repository evolution as a commit-indexed history:
where denotes the repository history, the commit set, the Git parent relations, the repository state at commit , and the changes introduced by . The function identifies the parent commit, and Apply applies to that parent's state. The state-transition expression applies to single-parent commits, while also records merge-parent relations in the Git DAG. SWE-Time assesses this ability through retrospective and prospective reasoning, combining authentic developer queries with deterministically verifiable, repository-grounded Gold. Figure 2 summarizes task construction and evaluation.
3.2 Design Philosophy: Repository Evolution as the Evaluation Target
Task Backward. Task Backward is motivated by developers' need to identify the change that first introduced a reported regression. It evaluates retrospective repository understanding by asking agents to locate the first-bad commit in repository history. The agent receives a sanitized regression report and the repository history available up to cutoff commit , and must return the full 40-character SHA of the first-bad commit. We define the Gold commit and its independently verified behavioral boundary as follows:

Figure 2: RealWorld-to-Verifiable Construction Framework. Task Backward identifies the first-bad commit from a regression report and repository history up to the cutoff. Task Forward predicts activated GitHub Actions workflows from an issue and pre-change repository under a fixed CI context, with the fixing patch hidden. To instantiate these tasks, our framework establishes targets from real developer reports and issue–PR pairs. Backward validates first-bad commits through historical checks and independent behavioral replay; Forward validates workflow targets through an independently tested routing evaluator and human review of plausible implementations. Candidates with divergent Gold or unresolved judgments are excluded. Historical information boundaries separate agent-visible inputs from hidden construction evidence, with packaging checks, network isolation, and human leakage review.
where indexes cases, denotes the repository history visible at cutoff commit , and denotes developer-provided first-bad or completed bisect evidence. The function Resolve maps this evidence to the Gold commit within that history. The states and are immediately before and after that commit. The independently constructed behavioral check returns 0 when the regression symptom is absent and 1 when it is present.
Agents may inspect and execute visible historical states and construct their own symptom checks from the report. Developer-provided first-bad evidence and independent Gold-verification checks are used only during construction and remain hidden from the agent. Each case receives a score of 1 if the predicted commit SHA exactly matches the Gold SHA, and 0 otherwise.
Task Forward. Before implementing a requested change, developers need to anticipate its consequences for the repository. Task Forward evaluates this prospective understanding through GitHub Actions workflow prediction. Given a developer issue, the pre-change repository state, and a fixed pull-request event and branch context, the agent predicts which GitHub Actions workflows an intended but unimplemented change would activate. The historical fixing patch and changed paths remain hidden, requiring agents to infer plausible modi-
fications from developer intent and reason about their workflow consequences. Because reasonable implementations of the same request may yield different workflow sets, we screen candidates for workflow-level ambiguity during construction, as described in Section 3.3. The agent prediction and Gold construction are defined as follows:
where denotes the predicted workflow set, the agent's prediction process parameterized by , the developer issue, and the pre-change repository state at commit . The context fixes the event type, activity type, and target branch. The Gold set is computed by the deterministic workflow-routing function using the historical fixing PR's changed-path set , which is hidden from the agent.
The routing function evaluates workflow activation from the configurations in the pre-change state:
where denotes the workflow configurations in the pre-change state, an individual workflow, and its activation predicate

(a) Programming languages

(b) Developer event period

(c) Backward reasoning space
(d) Forward reasoning scope
Figure 3: Characteristics of SWE-Time. We show (a) the repository-level programming-language distribution, (b) the temporal distribution of real developer events, (c) the historical search space of Task Backward, and (d) the change and repository-context scope of Task Forward. These statistics summarize the diversity and reasoning scale of SWE-Time without relying on model-dependent measurements.
for a changed-path set and routing context . In the second line, the right-hand terms abbreviate , , and , which evaluate event type and action, target-branch filters, and changed-path include/exclude patterns with their matching precedence, respectively; denotes logical conjunction. The conjunction summarizes the conditions for an eligible event entry; a workflow is selected if at least one eligible entry satisfies all three predicates. Substituting the historical scope and fixed context yields the Gold set . Each case receives a score of 1 if the complete predicted workflow set exactly matches the Gold set, and 0 otherwise.
3.3 Construction Framework: RealWorld-to-Verifiable
Real software development activities do not inherently constitute verifiable evaluation tasks (Kalliamvakou et al., 2014). Developer requirements are often open-ended, and their historical implementations may not be the only reasonable solutions. We introduce a RealWorld-to-Verifiable Construction Framework that uses independently verifiable historical evidence to identify authentic development events suitable for reliable evaluation. The framework integrates target construction, Gold validation with ambiguity screening, and temporal isolation.
3.3.1 Constructing Verifiable Targets
We select events with traceable historical evidence and targets verifiable through repository behavior or native rules. For Task Backward, we use regression reports with explicit first-bad localization evidence, taking the reported symptoms as queries and the attributed commits as candidate Gold.
For Task Forward, we pair issues with reliably linked, merged fixing PRs, recover from each PR's base commit, and compute candidate workflow Gold from the historical changed paths under fixed context using the routing function defined in § 3.2.
3.3.2 Validating the Gold
Historical evidence supplies candidate targets; admission additionally requires independent validation and screening for plausible alternative answers.
For Task Backward, developer localization establishes the first-bad target, while repeated symptom-derived tests or probes on the Gold commit and its parent independently verify the reported good-to-bad boundary. All admitted cases pass historical-consistency checks; conflicting, retracted, or unresolved attributions are excluded. These checks support historical localization and behavioral validity without assuming global monotonicity, as detailed in Appendix A.
For Task Forward, routing tests with independently specified expected outputs validate event triggers, branch and path filters, and pattern precedence. Correct routing alone does not resolve implementation ambiguity. Experienced developers review scope sufficiency, consistency between the issue and historical PR, and whether reasonable alternative implementations change workflow Gold. Candidates may be admitted with multiple reasonable implementations when the reviewed alternatives yield the same workflow Gold. Candidates with insufficient scope constraints or divergent Gold are rejected; disputed decisions undergo human adjudication, and unresolved cases are excluded. Of 1,899 candidates, 1,030 are accepted,
| Model | Task Backward | Task Forward | SWE-Time Avg. | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Direct | Staged | Overall | Direct | Staged | Overall | ||||||
| Local | Cross | Local | Cross | Local | Cross | Local | Cross | ||||
| Claude Code | |||||||||||
| Claude Opus 4.8 | 77.7 | 63.0 | 61.0 | 45.5 | 61.2 | 81.1 | 78.5 | 56.3 | 58.0 | 62.7 | 61.9 |
| Claude Sonnet 4.6 | 63.1 | 47.4 | 47.7 | 36.5 | 48.0 | 68.9 | 61.0 | 46.5 | 43.8 | 49.0 | 48.5 |
| Gemini 3.1 Pro | 50.8 | 37.0 | 39.0 | 20.5 | 36.3 | 37.8 | 23.8 | 20.0 | 15.5 | 19.4 | 27.9 |
| Gemini 3.8 Flash | 64.6 | 58.4 | 56.4 | 41.7 | 55.0 | 74.3 | 69.2 | 52.6 | 47.3 | 54.0 | 54.5 |
| Gemini 3.6 Flash | 59.2 | 48.0 | 43.6 | 31.4 | 45.0 | 58.1 | 54.7 | 40.5 | 38.5 | 43.0 | 44.0 |
| DeepSeek V4 Flash | 55.4 | 48.0 | 48.8 | 31.4 | 45.6 | 58.1 | 57.6 | 39.1 | 43.9 | 46.2 | 45.9 |
| GLM 5.3 | 69.2 | 57.8 | 59.3 | 47.4 | 58.0 | 78.4 | 77.3 | 61.4 | 54.3 | 61.4 | 59.7 |
| GLM 5.2 | 63.8 | 53.2 | 57.0 | 42.3 | 53.7 | 74.3 | 73.3 | 54.4 | 53.3 | 58.3 | 56.0 |
| Qwen 3.8 Max | 69.2 | 59.0 | 58.1 | 46.8 | 57.8 | 77.0 | 76.2 | 57.7 | 60.8 | 63.9 | 60.9 |
| Qwen 3.6 Plus | 56.9 | 45.1 | 44.8 | 28.8 | 43.4 | 37.8 | 17.4 | 19.1 | 16.0 | 18.4 | 30.9 |
| Kimi K3 | 73.1 | 62.4 | 56.4 | 44.2 | 58.5 | 75.7 | 75.6 | 54.9 | 57.8 | 61.5 | 60.0 |
| Kimi K2.6 | 66.9 | 54.3 | 55.8 | 41.0 | 54.0 | 74.3 | 73.3 | 54.0 | 51.0 | 57.0 | 55.5 |
| Hunyuan 3 | 31.5 | 25.4 | 23.8 | 14.1 | 23.5 | 36.5 | 27.3 | 25.6 | 22.7 | 25.0 | 24.3 |
| Codex | |||||||||||
| GPT 5.5 | 73.8 | 65.3 | 61.0 | 43.6 | 60.5 | 77.0 | 79.7 | 59.1 | 58.3 | 63.4 | 62.0 |
| GPT 5.4 | 69.2 | 59.5 | 58.7 | 36.5 | 55.6 | 74.3 | 77.3 | 54.4 | 58.0 | 61.7 | 58.7 |
Table 2: Performance (%) on Tasks Backward and Forward. The former traces an observed behavior back to its historical cause, while the latter reasons from a change intent to its repository-level consequences. Claude Code is the main evaluation harness; Codex provides supplementary references for harness diversity. We report temporal complexity (Direct / Staged) using task-specific criteria: historical-localization difficulty in Backward and direct routing versus additional change-scope or impact-propagation inference in Forward. We also report spatial scope (Local: local scope; Cross: across files, components, or workflows). Overall aggregates each task, and SWE-Time Avg. averages the two task-level scores.
740 rejected, and 129 excluded as uncertain, as reported in Appendix B.
3.3.3 Temporal Isolation
Both tasks use the complete history to construct Gold, but restrict agent access to information available at the target historical time. Backward exposes repository history up to the report-derived cutoff and a sanitized regression report, with Gold-verification probes hidden. Forward exposes only the pre-change working tree and sanitized issue, without Git history or fixing-PR evidence.
These boundaries are enforced through input sanitization, automated packaging checks of historical-view integrity and future-evidence exclusion, and runtime network restrictions. Every case also undergoes human review for indirect answer leakage. Detailed procedures are provided in Appendix C.
3.3.4 Benchmark Characteristics
SWE-Time contains 1,661 cases from 65 GitHub repositories: 631 cases from 49 repositories in Backward and 1,030 from 16 in Forward. We characterize the benchmark along two dimensions. Spatial Scope (Local/Cross) distinguishes reasoning within a local component from reasoning across repository components. Temporal Complexity (Direct/Staged) distinguishes direct target recovery from intermediate historical reasoning in Backward or modification-scope and consequence inference in Forward, as defined in Appendix C. Labels are assigned after admission and frozen before model evaluation. Figure 3 summarizes repository languages, developer-event periods, and task scales.
4 Experiments
We organize our experiments around four research questions. §4.2 establishes the capabilities and limitations of current coding agents on SWE-Time. §4.3 examines dependence on historical code evidence and sensitivity to repository-state changes. §4.4 examines how developer intent and gold change-scope information contribute to performance. §4.5 relates performance to history-window, changed-path, and workflow-context sizes.
4.1 Experimental Setup
We evaluate 15 coding agents: 13 under Claude Code (Anthropic, 2026) for the main model comparison, and GPT 5.5 and GPT 5.4 under
Codex (OpenAI, 2026) as supplementary references to broaden harness coverage. Within each harness, models share the tool interface, task instructions, and inference-budget policy. Model rankings are reported within harness groups. All evaluations enforce the historical information boundaries in Section 3.3; execution details appear in Appendix C.
RQ1 baselines and RQ2–RQ3 use fixed 300-case diagnostic subsets per task. Claude Opus 4.8, the highest-scoring Claude Code agent by SWE-Time Avg., serves as the reference. Controlled conditions reuse the same cases; Overall is case-weighted on each subset. RQ4 analyzes this reference agent's full-task predictions.
4.2 RQ1: Overall Capability
Table 2 reports coding-agent performance on the full SWE-Time benchmark. Claude Opus 4.8 leads the Claude Code group with a SWE-Time Avg. of 61.9, scoring 61.2 on Backward and 62.7 on Forward. Qwen 3.8 Max leads Forward within this harness at 63.9. These results show substantial headroom on SWE-Time.
For every agent, Direct cases outperform Staged cases in both tasks, indicating greater difficulty with intermediate historical localization or prospective scope and consequence inference. Local–Cross differences are less consistent.
We compare recency, retrieval, and repository-prior baselines with Claude Opus 4.8 on the same diagnostic cases, as reported in Table 3. For Backward, Recent-1 returns the latest commit in the visible candidate history. The two BM25 baselines (Robertson and Zaragoza, 2009) rank visible commits using either their commit messages or changed paths and unified diffs, returning the top-ranked commit for the sanitized regression report. Repository Prior evaluates for every Git-tracked path and predicts the most frequent complete workflow set, without the issue or .
Under the same historical information boundary, our task-specific Backward baseline, History Retrieval + LLM Reranking, retrieves visible candidate commits and uses Claude Opus 4.8 to rerank them against the regression report. Fix-conditioned localization methods such as AgentSZZ and LLM-Bisect (Lyu et al., 2026; Zhang et al., 2026) require fixing evidence excluded by our historical cutoff, preventing direct evaluation under their original input assumptions.
As shown in Table 3, lightweight baselines re-
| Task | Baseline / Agent | Overall (%) |
|---|---|---|
| Backward | Recent-1 | 0.7 |
| BM25 (commit message) | 2.3 | |
| BM25 (diff / paths) | 9.0 | |
| History Retrieval + LLM Reranking | 14.0 | |
| Claude Opus 4.8 (General Agent) | 62.0 | |
| Forward | Repository Prior | 31.3 |
| Claude Opus 4.8 (General Agent) | 63.3 |
Table 3: Baseline and shortcut analysis.
main substantially below the general agent. On Backward, LLM reranking reaches 14.0%, improving on BM25's 9.0% but remaining below the agent's 62.0%. On Forward, Repository Prior reaches 31.3%, compared with 63.3%. These results indicate that retrieval and repository-level priors alone are insufficient for the two tasks.
The repository-level robustness analysis reported in Appendix D finds case-weighted and repository-macro scores within 2.4 percentage points across five Forward configurations, with the ordering of the four Claude Code models unchanged after removing any single repository.
4.3 RQ2: Temporal Repository Evolution
We examine whether performance depends on repository evolution through two controlled interventions summarized in Table 4. In Backward, we remove historical code states and diffs while preserving the regression report, commit sequence, and metadata. In Forward, we hold developer intent and change scope fixed while placing the same change in a different historical repository state.
| Task Backward | |||||
|---|---|---|---|---|---|
| Condition | D-L | D-C | S-L | S-C | O |
| Meta. only | 47.8 | 24.7 | 23.1 | 18.1 | 28.0 |
| Full hist. | 82.6_{+34.8} | 66.7_{+42.0} | 57.7_{+34.6} | 41.7_{+23.6} | 62.0_{+34.0} |
| Task Forward | ||||
|---|---|---|---|---|
| Original | Paired | Inv. Err. ↓ | Invalid ↓ | Pair Exact |
| 63.3 | 54.3 | 12.8 | 6.0 | 48.7 |
Table 4: Temporal repository evolution. Backward removes historical code while retaining metadata; Forward contrasts historical states with issue, change scope, and routing context fixed. Task scores and paired-state metrics are percentages. Blue subscripts report gains over Metadata-Only.
Overall falls from 62.0 to 28.0, a 34.0-point drop, with declines in all four subsets. Historical code evidence thus contributes substantially to first-bad localization beyond commit metadata.
For Forward, we pair each original state with the nearest valid earlier state in the same first-parent history that changes workflow Gold and reverses at least one shared workflow's activation. We hold the developer issue, change scope (), and evaluation context () fixed, excluding semantically invalid pairs before evaluation. Pair Exact requires correctness in both states; Invariance Error measures unchanged predictions despite different Gold targets among scorable pairs; Invalid denotes pairs containing unscorable outputs.
Table 4(b) shows that Exact drops from 63.3% to 54.3%, with 48.7% Pair Exact, 12.8% Invariance Error, and 6.0% Invalid. Fewer than half of pairs are solved in both states, showing that prediction changes do not ensure correct adaptation to historical routing transitions.
4.4 RQ3: Developer-Intent Contribution
Using the interventions shown in Figure 4, we examine the contributions of developer-query information and gold change scope while holding repository context fixed. In Backward, symptom ablation reduces Overall from 62.0 to 41.7, a 20.3-point drop, with declines in all four subsets. Regression symptoms thus provide substantial information for first-bad localization.

Figure 4: Developer-intent contribution. We intervene on the developer query while holding repository context fixed. –Sym. removes the regression symptom, and + provides the gold change scope.
In Forward, removing the issue lowers Overall from 63.3 to 37.3; adding gold change scope to Full Issue raises it to 85.7. The 26.0-point Full-vs.-No-Issue gap measures the contribution of developer intent, whereas the additional 22.3-point Oracle gain suggests that change-scope inference is a substantial source of difficulty. This gain is especially large on Staged cases; even with the gold scope, residual errors remain in consequence reasoning.
4.5 RQ4: Difficulty Analysis
As shown in Figure 5, performance decreases as the reasoning space grows. In Backward, performance drops from 65.2 to 57.0 across history-window bins. Forward shows larger declines: 21.0 percentage points across changed-path bins and 31.4 across workflow-context bins. The largest gap occurs with workflow context, suggesting that prospective consequence reasoning becomes particularly difficult as the relevant repository context expands. Overall, larger historical search spaces in Backward and more complex pre-change repository contexts in Forward are associated with lower performance.

(a) Task Backward
(b) Task Forward
Figure 5: Performance across task-complexity factors. We group cases by (a) searchable history window in Task Backward and (b) changed-path scope and workflow-context size in Task Forward. Bars show performance within each bin, and error bars denote 95% Wilson confidence intervals (Wilson, 1927). Tables below the panels report the corresponding bin ranges.
5 Conclusion
We introduced SWE-Time, extending repository understanding from static snapshots to evolving trajectories. SWE-Time contains 1,661 cases from 65 GitHub repositories, evaluating first-bad localization and prospective prediction of GitHub Actions workflow activation. Our RealWorld-to-Verifiable Construction Framework pairs authentic developer queries with independently validated Gold for deterministic evaluation. Evaluation of 15 coding agents under two harnesses reveals substantial headroom: Claude Opus 4.8 leads the Claude Code group with a SWE-Time Avg. of 61.9. Controlled analyses further show that historical code evidence and developer intent both contribute materially to performance, while maintaining correct workflow predictions across paired repository states remains difficult. We hope SWE-Time provides a foundation for developing coding agents that understand not only repository state, but also repository evolution.
Limitations
SWE-Time focuses on two concrete forms of temporal repository understanding: retrospective localization of first-bad commits and prospective prediction of GitHub Actions workflow activation. These tasks capture complementary directions along repository history, but they do not cover the full range of temporal reasoning required in software engineering. In particular, Task Forward evaluates CI routing under a fixed pull-request event context, so generalization to other CI systems, build pipelines, or non-GitHub development environments remains to be studied. The benchmark also relies on repositories with sufficiently recoverable public issue, pull-request, commit, and workflow histories, which may bias the dataset toward projects with richer development records. Because the repositories are public, models may have encountered their code or development records during pretraining.
Our experiments cover 15 coding agents under two agent harnesses. Although they span several recent model families, the reported results should not be assumed to characterize future models or alternative agent frameworks.
References
Arshia Akhavan, Alireza Hoseinpour, Abbas Heydarnoori, Hamid Bagheri, and Mehdi Keshani. 2026. Linkanchor: An autonomous llm-based agent for issue-to-commit link recovery. Proc. ACM Softw. Eng., 3(FSE):4184–4207.
Anthropic. 2026. Claude Code: Overview. Online documentation. Accessed October 6, 2026.
Songcheng Cai, Zhiheng Lyu, Yuansheng Ni, Xiangchao Chen, Baichuan Zhou, Shenzhen Zhu, Yi Lu, Haozhe Wang, Chi Ruan, Benjamin Schneider, Weixu Zhang, Xiang Li, Andy Zheng, Yuyu Zhang, Ping Nie, and Wenhu Chen. 2026. Swe-qa-pro: A representative benchmark and scalable training recipe for repository-level code understanding. In Findings of the Association for Computational Linguistics, ACL 2026, San Diego, California, United States, July 2-7, 2026, pages 16958–16999. Association for Computational Linguistics.
Jialiang Chen, Kaifa Zhao, Jie Liu, Chao Peng, Jierui Liu, Hang Zhu, Pengfei Gao, Ping Yang, and Shuiguang Deng. 2025. Coreqa: Uncovering potentials of language models in code repository question answering. CoRR, abs/2501.03447.
Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Pondé de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, Alex Ray, Raul Puri, Gretchen Krueger, Michael Petrov, Heidy Khlaaf, Girish Sastry, Pamela Mishkin, Brooke Chan, Scott Gray, and 39 others. 2021. Evaluating large language models trained on code. CoRR, abs/2107.03374.
Jacob Cohen. 1960. A coefficient of agreement for nominal scales. Educational and Psychological Measurement, 20(1):37–46.
Thomas J. DiCiccio and Bradley Efron. 1996. Bootstrap confidence intervals. Statistical Science, 11(3):189–228.
Yangruibo Ding, Zijian Wang, Wasi Uddin Ahmad, Hantian Ding, Ming Tan, Nihal Jain, Murali Krishna Ramanathan, Ramesh Nallapati, Parminder Bhatia, Dan Roth, and Bing Xiang. 2023. Crosscodeeval: A diverse and multilingual benchmark for cross-file code completion. In Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10 - 16, 2023.
B. Efron. 1979. Bootstrap Methods: Another Look at the Jackknife. The Annals of Statistics, 7(1):1 – 26.
C. A. Field and A. H. Welsh. 2007. Bootstrapping clustered data. Journal of the Royal Statistical Society Series B: Statistical Methodology, 69(3):369–390.
GitHub. 2026. Workflow syntax for GitHub Actions. Online documentation. Accessed October 6, 2026.
Martin Gruber, Stephan Lukasczyk, Florian Kroiß, and Gordon Fraser. 2021. An empirical study of flaky tests in python. In 14th IEEE Conference on Software Testing, Verification and Validation, ICST 2021, Porto de Galinhas, Brazil, April 12-16, 2021, pages 148–158. IEEE.
Alex Gu, Baptiste Rozière, Hugh James Leather, Armando Solar-Lezama, Gabriel Synnaeve, and Sida Wang. 2024. Cruxeval: A benchmark for code reasoning, understanding and execution. In Forty-first International Conference on Machine Learning, ICML 2024, Vienna, Austria, July 21-27, 2024, volume 235 of Proceedings of Machine Learning Research, pages 16568–16621. PMLR / OpenReview.net.
Péter Gyimesi, Béla Vancsics, Andrea Stocco, Davood Mazinanian, Árpád Beszédés, Rudolf Ferenc, and Ali Mesbah. 2019. Bugsjs: a benchmark of javascript bugs. In 12th IEEE Conference on Software Testing, Validation and Verification, ICST 2019, Xi'an, China, April 22-27, 2019, pages 90–101. IEEE.
Dan Hendrycks, Steven Basart, Saurav Kadavath, Mantas Mazeika, Akul Arora, Ethan Guo, Collin Burns, Samir Puranik, Horace He, Dawn Song, and Jacob Steinhardt. 2021. Measuring coding challenge competence with APPS. In Proceedings of the Neural
Information Processing Systems Track on Datasets and Benchmarks 1, NeurIPS Datasets and Benchmarks 2021, December 2021, virtual.
Naman Jain, King Han, Alex Gu, Wen-Ding Li, Fanjia Yan, Tianjun Zhang, Sida Wang, Armando Solar-Lezama, Koushik Sen, and Ion Stoica. 2025. Live-codebench: Holistic and contamination free evaluation of large language models for code. In The Thirteenth International Conference on Learning Representations, ICLR 2025, Singapore, April 24-28, 2025. OpenReview.net.
Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik R. Narasimhan. 2024. Swe-bench: Can language models resolve real-world github issues? In The Twelfth International Conference on Learning Representations, ICLR 2024, Vienna, Austria, May 7-11, 2024. OpenReview.net.
René Just, Darioush Jalali, and Michael D. Ernst. 2014. Defects4j: a database of existing faults to enable controlled testing studies for java programs. In International Symposium on Software Testing and Analysis, ISSTA '14, San Jose, CA, USA - July 21 - 26, 2014, pages 437–440. ACM.
Eirini Kalliamvakou, Georgios Gousios, Kelly Blincoe, Leif Singer, Daniel M. Germán, and Daniela E. Damian. 2014. The promises and perils of mining github. In 11th Working Conference on Mining Software Repositories, MSR 2014, Proceedings, May 31 - June 1, 2014, Hyderabad, India, pages 92–101. ACM.
Amy J. Ko, Robert DeLine, and Gina Venolia. 2007. Information needs in collocated software development teams. In 29th International Conference on Software Engineering (ICSE 2007), Minneapolis, MN, USA, May 20-26, 2007, pages 344–353. IEEE Computer Society.
Tue Le, Minh V. T. Thai, Dung Nguyen Manh, Huy Phan Nhat, and Nghi D. Q. Bui. 2026. Swe-evo: Benchmarking coding agents in long-horizon software evolution scenarios. Preprint, arXiv:2512.18470.
Jia Li, Xuyuan Guo, Lei Li, Kechi Zhang, Ge Li, Jia Li, Zhengwei Tao, Fang Liu, Chongyang Tao, Yuqi Zhu, and Zhi Jin. 2025. Longcodeu: Benchmarking long-context language models on long code understanding. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2025, Vienna, Austria, July 27 - August 1, 2025, pages 27309–27327. Association for Computational Linguistics.
Jia Li, Ge Li, Yunfei Zhao, Yongmin Li, Huanyu Liu, Hao Zhu, Lecheng Wang, Kaibo Liu, Zheng Fang, Lanshen Wang, Jiazheng Ding, Xuanming Zhang, Yuqi Zhu, Yihong Dong, Zhi Jin, Binhua Li, Fei Huang, Yongbin Li, Bin Gu, and Mengfei Yang.
- Deveal: A manually-annotated code generation benchmark aligned with real-world code repositories. In Findings of the Association for Computational Linguistics, ACL 2024, Bangkok, Thailand and virtual meeting, August 11-16, 2024, volume ACL 2024 of Findings of ACL, pages 3603–3614. Association for Computational Linguistics.
Jia Li, Yuxin Su, and Michael R. Lyu. 2026. From laboratory to real-world applications: Benchmarking agentic code reasoning at the repository level. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2026, San Diego, California, United States, July 2-7, 2026, pages 8845–8869. Association for Computational Linguistics.
Jiawei Liu, Chunqiu Steven Xia, Yuyao Wang, and Lingming Zhang. 2023. Is your code generated by chatgpt really correct? rigorous evaluation of large language models for code generation. In Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10 - 16, 2023.
Tianyang Liu, Canwen Xu, and Julian J. McAuley. 2024. Repobench: Benchmarking repository-level code auto-completion systems. In The Twelfth International Conference on Learning Representations, ICLR 2024, Vienna, Austria, May 7-11, 2024. OpenReview.net.
Shuai Lu, Daya Guo, Shuo Ren, Junjie Huang, Alexey Svyatkovskiy, Ambrosio Blanco, Colin B. Clement, Dawn Drain, Daxin Jiang, Duyu Tang, Ge Li, Lidong Zhou, Linjun Shou, Long Zhou, Michele Tufano, Ming Gong, Ming Zhou, Nan Duan, Neel Sundaresan, and 3 others. 2021. Codexglue: A machine learning benchmark dataset for code understanding and generation. In Proceedings of the Neural Information Processing Systems Track on Datasets and Benchmarks 1, NeurIPS Datasets and Benchmarks 2021, December 2021, virtual.
Qingzhou Luo, Farah Hariri, Lamyaa Eloussi, and Darko Marinov. 2014. An empirical analysis of flaky tests. In Proceedings of the 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering, (FSE-22), Hong Kong, China, November 16 - 22, 2014, pages 643–653. ACM.
Yunbo Lyu, Jieke Shi, Hong Jin Kang, Ratnadira Widyasari, Junda He, Yuqing Niu, Chengran Yang, Junkai Chen, Zhou Yang, Julia Lawall, and David Lo. 2026. Agentszz: Teaching the LLM agent to play detective with bug-inducing commits. CoRR, abs/2604.02665.
Dung Manh Nguyen, Thang Chau Phan, Nam Le Hai, Tien-Thong Doan, Nam V. Nguyen, Quang Pham, and Nghi D. Q. Bui. 2025. Codemmlu: A multi-task benchmark for assessing code understanding & reasoning capabilities of codellms. In The Thirteenth International Conference on Learning Representations,
ICLR 2025, Singapore, April 24-28, 2025. OpenReview.net.
OpenAI. 2026. Codex: Open-source coding agent. Online documentation. Accessed October 6, 2026.
Weihan Peng, Yuling Shi, Yuhang Wang, Xinyun Zhang, Beijun Shen, and Xiaodong Gu. 2026. SWE-QA: can language models answer repository-level code questions? In Findings of the Association for Computational Linguistics, ACL 2026, San Diego, California, United States, July 2-7, 2026, pages 8230–8245. Association for Computational Linguistics.
Xiaoxia Ren, Fenil Shah, Frank Tip, Barbara G. Ryder, and Ophelia C. Chesley. 2004. Chianti: a tool for change impact analysis of java programs. In Proceedings of the 19th Annual ACM SIGPLAN Conference on Object-Oriented Programming, Systems, Languages, and Applications, OOPSLA 2004, October 24-28, 2004, Vancouver, BC, Canada, pages 432–448. ACM.
Stephen E. Robertson and Hugo Zaragoza. 2009. The probabilistic relevance framework: BM25 and beyond. Found. Trends Inf. Retr., 3(4):333–389.
Giovanni Rosa, Luca Pascarella, Simone Scalabrino, Rosalia Tufano, Gabriele Bavota, Michele Lanza, and Rocco Oliveto. 2021. Evaluating SZZ implementations through a developer-informed oracle. In 43rd IEEE/ACM International Conference on Software Engineering, ICSE 2021, Madrid, Spain, 22-30 May 2021, pages 436–447. IEEE.
Jonathan Sillito, Gail C. Murphy, and Kris De Volder. 2006. Questions programmers ask during software evolution tasks. In Proceedings of the 14th ACM SIGSOFT International Symposium on Foundations of Software Engineering, FSE 2006, Portland, Oregon, USA, November 5-11, 2006, pages 23–34. ACM.
Jacek Sliwerski, Thomas Zimmermann, and Andreas Zeller. 2005. When do changes induce fixes? ACM SIGSOFT Softw. Eng. Notes, 30(4):1–5.
David A. Tomassi, Naji Dmeiri, Yichen Wang, Antara Bhowmick, Yen-Chuan Liu, Premkumar T. Devanbu, Bogdan Vasilescu, and Cindy Rubio-González. 2019. Bugswarm: mining and continuously growing a dataset of reproducible failures and fixes. In Proceedings of the 41st International Conference on Software Engineering, ICSE 2019, Montreal, QC, Canada, May 25-31, 2019, pages 339–349. IEEE / ACM.
Yanlin Wang, Suiquan Wang, Yanli Wang, Bowen Zhang, Daya Guo, Jiachi Chen, and Zibin Zheng. 2026. Reporeasoner: Evaluating repository-level code reasoning ability of long-context language models. Proc. ACM Softw. Eng., 3(FSE):2790–2812.
Ratnadira Widyasari, Sheng Qin Sim, Camellia Lok, Haodi Qi, Jack Phan, Qijin Tay, Constance Tan, Fiona Wee, Jodie Ethelda Tan, Yuheng Yieh, Brian Goh, Ferdian Thung, Hong Jin Kang, Thong Hoang, David
Lo, and Eng Lieh Ouh. 2020. Bugsinpy: a database of existing bugs in python programs to enable controlled testing and debugging studies. In ESEC/FSE '20: 28th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering, Virtual Event, USA, November 8-13, 2020, pages 1556–1560. ACM.
Chadd C. Williams and Jaime Spacco. 2008. SZZ revisited: verifying when changes induce fixes. In Proceedings of the 2008 Workshop on Defects in Large Software Systems, held in conjunction with the ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA 2008), DEFECTS 2008, Seattle, Washington, USA, July 20, 2008, pages 32–36. ACM.
Edwin B. Wilson. 1927. Probable inference, the law of succession, and statistical inference. Journal of the American Statistical Association, 22(158):209–212.
Jingxuan Xu, Ken Deng, Weihao Li, Songwei Yu, Haoyang Huang, Xinping Lei, Yifan Yao, Huaixi Tang, Zhiyi Lai, Kepeng Lei, Zizheng Zhan, Yanan Wu, Chenchen Zhang, Wenqiang Zhu, Wen Xiang, Zongxian Feng, Han Li, Junqi Xiong, Dailin Li, and 19 others. 2026. SWE-compass: Towards unified evaluation of agentic coding abilities for large language models. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, pages 140878–140902. PMLR.
Weixiang Yan, Haitian Liu, Yunkun Wang, Yunzhe Li, Qian Chen, Wen Wang, Tingyu Lin, Weishan Zhao, Li Zhu, Hari Sundaram, and Shuiguang Deng. 2024. Codescope: An execution-based multilingual multi-task multidimensional benchmark for evaluating llms on code understanding and generation. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2024, Bangkok, Thailand, August 11-16, 2024, pages 5511–5558. Association for Computational Linguistics.
John Yang, Carlos E. Jimenez, Alexander Wettig, Kilian Lieret, Shunyu Yao, Karthik Narasimhan, and Ofir Press. 2024. Swe-agent: Agent-computer interfaces enable automated software engineering. In Advances in Neural Information Processing Systems 37: Annual Conference on Neural Information Processing Systems 2024, NeurIPS 2024, Vancouver, BC, Canada, December 10 - 15, 2024.
Yuexi Yang, Alyssa Wu, Ji Luo, Richeng Xuan, Zhichao Hu, Yuhong Liu, and Zhen Qin. 2026. Repoprobe: Benchmarking architecture-aware repository comprehension with checklists. In Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering, ASE '26, page 1973–1985, New York, NY, USA. Association for Computing Machinery.
Andreas Zeller. 1999. Yesterday, my program worked. today, it does not. why? In Software Engineering -
ESEC/FSE'99, 7th European Software Engineering Conference, Held Jointly with the 7th ACM SIGSOFT Symposium on the Foundations of Software Engineering, Toulouse, France, September 1999, Proceedings, volume 1687 of Lecture Notes in Computer Science, pages 253–267. Springer.
Zheng Zhang, Haonan Li, Xingyu Li, Hang Zhang, and Zhiyun Qian. 2026. Lmbisect: Breaking barriers in bug bisection with A comparative analysis pipeline. In 33rd Annual Network and Distributed System Security Symposium, NDSS 2026, San Diego, California, USA, February 23-27, 2026. The Internet Society.
Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric P. Xing, Hao Zhang, Joseph E. Gonzalez, and Ion Stoica. 2023. Judging llm-as-a-judge with mt-bench and chatbot arena. In Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10 - 16, 2023.
Hao-Nan Zhu and Cindy Rubio-González. 2023. On the reproducibility of software defect datasets. In 45th IEEE/ACM International Conference on Software Engineering, ICSE 2023, Melbourne, Australia, May 14-20, 2023, pages 2324–2335. IEEE.
Terry Yue Zhuo, Minh Chien Vu, Jenny Chim, Han Hu, Wenhao Yu, Ratnadira Widyasari, Imam Nur Bani Yusuf, Haolan Zhan, Junda He, Indraneil Paul, Simon Brunner, Chen Gong, James Hoang, Armel Randy Zebaze, Xiaoheng Hong, Wen-Ding Li, Jean Kaddour, Ming Xu, Zhihan Zhang, and 2 others. 2025. Bigcodebench: Benchmarking code generation with diverse function calls and complex instructions. In The Thirteenth International Conference on Learning Representations, ICLR 2025, Singapore, April 24-28, 2025. OpenReview.net.
A First-Bad Gold Attribution and Validation
Backward evaluates whether an agent can trace a reported regression to the commit that first introduced it within the available repository history. Its Gold originates from a developer's completed historical localization of the reported regression. We subsequently resolve and validate the attributed commit, screen cases for ambiguity and information leakage, and independently check the behavioral transition at the attributed boundary. This appendix describes the construction evidence for the 631 admitted cases from 49 repositories and illustrates why some seemingly relevant reports are excluded.
A.1 First-Bad Gold Attribution
Developer-grounded origin. We discover real GitHub regression reports through high-precision references to historical localization, such as first bad commit, bisected to, regression introduced by, and bisect found. A candidate must contain a completed developer attribution that identifies a specific commit as the first bad revision for the reported symptom. A commit range, a tentative suspect, or an unsubstantiated mention of a SHA is insufficient. Both direct first-bad statements and completed bisect reports are eligible; their differing linguistic formulations do not change the target definition.
Resolving the historical target. We associate each attribution with its original issue or comment and resolve abbreviated hashes against the source repository to a unique, full 40-character commit SHA. We recover a historical cutoff at which the regression report is available and verify that the attributed commit belongs to the permitted history. In particular, the target must be reachable from the cutoff and satisfy the benchmark's default-branch and non-merge selection constraints.
Selection. Semantic screening retained 666 candidates, of which 657 were materialized for evaluation. Final human review retained 631 cases. Table A.1 summarizes these successive selection stages.
The resulting cases retain the regression symptom as the developer-facing query but remove the attribution used to establish the Gold. Thus, the agent must recover the historical origin from the report and the repository, rather than read the bisect answer from the input.
| Selection stage | Cases |
|---|---|
| Accepted by semantic screening | 666 |
| Materialized for evaluation | 657 |
| Retained after final human review | 631 |
Table A.1: Backward candidate selection after semantic screening.
A.2 Historical and Behavioral Validation
Gold validation comprises historical attribution, structural consistency, and independent behavioral confirmation.
Historical and structural checks. For each candidate, we verify the identity and location of the attributed commit in the Git history, its relationship to the cutoff, and the consistency of its parent information. Table A.2 reports the results for the admitted set. Candidates with Gold commits that were merge commits, outside the permitted default-branch history, or later than the cutoff were excluded during construction.
| Validation check | Passed |
|---|---|
| Full, valid 40-character Gold SHA | 631 |
| Gold reachable from the historical cutoff | 631 |
| Gold is a non-merge commit | 631 |
| Parent information consistent across repository checks | 631 |
| Cutoff and temporal-consistency validation | 631 |
| Final construction validation gate | 631 |
Table A.2: Recorded structural validation of the 631 admitted Backward cases.
Independent behavioral confirmation. During dataset construction, the 631 admitted cases underwent independent good-to-bad verification in a separate, build-capable execution environment. For each case, the probe was defined from two observable parts of the developer's regression report: the trigger (reproduction steps, input, or target test) and the reported failure (such as a specific diagnostic, crash, assertion, or failing test). Its pass/fail criterion was fixed for that case before comparing revisions and evaluated through machine-checkable signals, including exit status, test outcomes, crash signals, or diagnostic substrings. A nonzero exit code counted as evidence of the regression only when it corresponded to the reported failure, rather than an unrelated build or environment error (Zhu and Rubio-González, 2023).
For the same trigger and symptom-specific pred-icate , we classified a revision as bad if the reported failure appeared, and good if the trigger completed without that failure (for example, when the relevant test passed). We applied the same criterion under comparable conditions to the Gold commit and its immediate parent par(), verifying the local good-to-bad boundary defined in Equation 2.
Each revision was probed repeatedly, and a stable classification required agreement across repeated executions (Luo et al., 2014; Gruber et al., 2021). Inconsistent outcomes were treated as flaky; failures to exercise the trigger or reproduce the specific reported symptom were treated as non-reproducible rather than counted as evidence of a bad revision. These checks used the independent verification environment, not the repository snapshot distributed to agents, which intentionally did not require project build tools.
Developer localization establishes the historical first-bad target, while repeated adjacent-state probes independently confirm its behavioral boundary. Historical checks and ambiguity screening corroborate the attribution for the reported symptom.
A.3 Ambiguity Screening and Human Review
A developer's reference to a commit is not sufficient for admission unless it clearly identifies the origin of the same regression symptom presented to the agent. We therefore screen for three classes of problems.
Attribution ambiguity. Candidates are flagged when the issue contains competing culprit commits, a later correction or retraction, an explicitly uncertain assertion, or an attribution that refers to another bug. An unresolved conflict cannot be converted into a unique Gold by choosing the most recent or most frequently mentioned SHA.
Insufficient developer-facing evidence. After removing answer-bearing material, the remaining query must still describe an observable regression clearly enough to support meaningful historical investigation. Reports consisting only of version metadata, commit lists, or an isolated bisect transcript are not admitted if their actual symptoms or reproduction context are missing.
Historical inconsistency and leakage. We check that the attributed revision is compatible with the historical cutoff and selected branch, and that the sanitized report does not retain a revealing SHA, culprit link, bisect outcome, or equivalent answer-bearing clue. Sanitization removes such material rather than rewriting the developer's technical symptom. The historical information boundary and evaluation-package isolation are described separately in Appendix C.
Semantic screening uses a five-part rubric covering attribution credibility, authentic regression symptoms, avoidance of answer-derived evidence, absence of answer leakage, and sufficient information. An LLM-assisted pass proposes decisions supported by quotations that are checked against the original source material; Gold SHAs remain grounded in developer attributions. The review process additionally uses an 80-case human calibration sample, explicit human rulings for disputed candidates, and a human review ledger. The final review excluded 26 further cases from the 657 materialized candidates.
Admission requires evidence supporting a historical first-bad target for the same regression symptom. The examples below illustrate both accepted attributions and rejected candidates.
A.4 Worked Regression Cases
The cases below are drawn from the construction records. For accepted cases, the developer's bisect attribution is used to determine the Gold, while the agent-visible query excludes the attribution itself. Rejected cases illustrate where the same construction procedure refuses to turn a historical SHA into a benchmark answer.
A1 • curl-9931
Accept
An explicit bisect across a connection-layer refactor.
Input — regression symptom. An HTTP/3/QUIC request to 127.0.0.1:8443 fails with curl: (35) error:0A00010B:SSL routines::wrong version number. The sanitized report retains the connection mode, error, and diagnostic context.
Historical evidence. A developer explicitly identifies the Gold revision as the first bad commit, according to my bisect. This attribution is removed from the agent-facing report. The searchable history window contains 26 commits.
Repository transition. The Gold, lib: connection filters (cfilter) addition, is a 49-file connection-layer refactor spanning lib/cfilters.*, connect.c, url.c, and TLS/SSH components. Localization requires relating the connection failure to this change across components.
Validation and decision. The completed bisect establishes first-bad attribution; historical and structural checks pass, and independent parent/Gold probes confirm the behavioral boundary. Accept: a specific symptom, definite attribution, and valid historical target.
Gold SHA:
dafdb20a26d0c890e83dea61a104b75408481ebd.
Case ID: curl1_curl__9931__85aaefd8.
Source: curl/curl #9931.
A2 · flutter-177420
Accept
A regression introduced by an engine-roll commit.
Input — regression symptom. On an iOS simulator, BackdropFilterLayer allows blur behind a CupertinoSheetRoute to extend beyond its rounded boundary after the animation settles. Sanitization removes the bisect attribution and answer-bearing reference.
Historical evidence. Completed developer localization identifies the Gold revision within a searchable history window of 43,902 commits.
Repository transition. An automated Flutter Engine roll changes only
bin/internal/engine.version, updating the engine consumed by Flutter. The first-bad target is this repository revision, rather than a lower-level engine commit outside its history.
Validation and decision. The completed bisect identifies the repository-level transition, which passes the structural and behavioral checks. Accept: an automated version-roll commit marking the reported regression's historical boundary.
Gold SHA:
7bb9352911d0471568a77fc57b94a646fe9571af.
Case ID: flutter_flutter__177420__bfb00274.
Source: flutter/flutter #177420.
R1 · curl-17030
Reject
Symptom-Attribution Mismatch.
Input — regression symptom. Configuration lines of certain lengths are ignored.
Historical evidence. Extraction selected the candidate revision listed below from a bisect discussion of a distinct netrc-parsing problem. The configuration-line regression was attributed to a revision beginning d8618f4d. These attributions concern different symptoms.
Validation and decision. Reject: the extracted bisect identifies another problem and does not establish a first-bad target for the agent-visible symptom. A valid SHA alone does not resolve this mismatch.
Candidate SHA:
142ac257b3242459b284020c59f1902b9687a954.
Candidate ID: curl1_curl__17030__6be98a4c.
Source: curl/curl #17030.
R2 · python-86867
Reject
Insufficient symptom after sanitization.
Input — regression report. The issue is titled Discrepancy between configure.ac and configure. The extracted packet contains migration metadata and bisect information; the concrete ./configure failure appears in a comment absent from the packet.
Historical evidence. The candidate commit listed below is identifiable, but its attribution overlaps with the limited technical content in the packet.
Validation and decision. Removing bisect and commit details leaves an underspecified query; retaining them exposes Gold. Reject: the sanitized packet lacks an independently intelligible regression symptom.
Candidate SHA:
c6d7e82d19c091af698d4e4b3623648e259843e3.
Candidate ID: python_cpython__86867__1bc451ca.
Source: python/cpython #86867.
Together, these cases illustrate the admission boundary: a traceable developer first-bad attribution, a consistent Git revision, a behaviorally relevant transition, and a usable regression report are required for a Backward evaluation instance. Candidates failing attribution consistency or query suf-ficiency are excluded rather than assigned speculative Gold labels.
B Forward Gold Construction and Validation
Task Forward predicts the workflows activated by an intended repository change, given a real developer issue and the repository before its implementation. The historical fixing pull request (PR) supplies a reproducible Gold, but a request may admit multiple reasonable implementations. Deterministic routing and unambiguous task construction are therefore separate requirements. We describe the routing checks, developer review protocol, five worked examples, and independent audits used to assess this distinction.
B.1 Gold Construction and Routing Validation
Each candidate originates from a real GitHub issue linked to a merged fixing PR. Within the commit-indexed repository history defined in Section 3.1, we recover the pre-change repository tree at the fixing PR's base commit and extract the paths changed by that PR. We omit the case index in this appendix. Under a fixed routing context , the activated-workflow Gold is
where denotes the Gold workflow set, the pre-change repository state, the historical changed-path set, the fixed routing context, and the frozen routing evaluator. Workflow activation follows Equation 4. The benchmark fixes a non-draft pull-request synchronization context, including eligible pull_request and pull_request_target triggers, direct activation, and the historical target branch. The evaluator uses workflow definitions in , excluding workflow files introduced by the subsequent fix. Gold construction uses neither observed post-change CI executions nor an LLM judge. The agent receives only the sanitized issue , pre-change state , and context , and predicts a workflow set through as defined in Section 3.2. The historical changed paths, fixing PR, and Gold are hidden from the agent; an explicit file-path prediction is not required.
The evaluator implements the activation predicates in Equation 4 from the workflow configurations in . For each eligible event entry, checks the configured event and activity type against E, including whether types admits synchronize. The branch predicate matches the target branch against branches or branches-ignore. The path predicate accepts a paths filter if at least one changed path remains included, and a paths-ignore filter if at least one changed path is not ignored. Absent branch or path filters impose no restriction. Ordered include/exclude patterns preserve their precedence: a later matching negative pattern excludes a branch or path, while a later positive match re-includes it (GitHub, 2026). An event entry activates the workflow only when its event, branch, and path predicates all hold; a workflow is selected if an eligible entry passes. The evaluator also resolves reusable-workflow relationships. The primary evaluation target remains the activated workflow set, rather than the historical PR's observed execution trace.
The frozen evaluator, gold_routing_v4_1.effective_workflows, is checked by a suite with independently hand-specified expected outputs. All 29 workflow-routing tests pass, covering event-action compatibility, target-branch filtering, and path-pattern behavior. This suite independently checks the specified routing semantics. Recomputing each stored Gold from its recorded , reproduces the accepted-case manifest and establishes reproducibility of the recorded labels.
B.2 Human Review and Admission Protocol
The admission criterion is workflow-level answerability, rather than uniqueness of a fixing patch. For two developer-validated change scopes under the same historical context, we define routing equivalence as
where and denote changed-path sets for two reasonable implementations, the fixed pre-change repository state, and the routing context. The workflow sets and are computed by the same frozen evaluator means that both scopes produce the same workflow set.
The review process assesses whether the issue and pre-change context sufficiently constrain the requested change, whether identified reasonable alternatives yield divergent workflow sets, and whether the historical PR and agent-visible inputs are consistent and free of answer leakage. A candidate can
Box B.1. Forward candidate review instructions.
Input. A real developer issue , pre-change repository tree , frozen routing context , and historical PR evidence for provenance and consistency checks. Inspect the agent-visible view separately from evidence reserved for Gold construction.
-
Scope sufficiency. Does the issue, together with , sufficiently constrain a credible modification direction? Identify the implicated components and supporting evidence. Do not demand a unique patch; assign Reject or Uncertain when the request is too underspecified to establish a defensible target.
-
Workflow-level ambiguity. Propose or inspect reasonable alternative implementations. For each credible changed-path set, evaluate the workflows under the same and . Accept code-level variation when the workflow set is unchanged. Reject when a reasonable alternative yields a different target. Record the paths, rationale, and differing outputs; arbitrary paths are not alternative implementations.
-
Historical consistency and leakage. Verify that the fixing PR addresses the issue and that historical evidence supports the case. Check that the agent-visible input does not disclose the future implementation, changed paths, Gold, or other answer-bearing future evidence.
Decision. Assign Accept, Reject, or Uncertain with supporting evidence. Do not admit unresolved cases. Refer disputed decisions to a third human adjudicator.
be admitted with multiple implementation locations when the reviewed alternatives remain routing-equivalent. A reasonable alternative yielding a different workflow set, insufficient evidence, or unresolved uncertainty precludes admission. Box B.1 gives the operational rubric.
The screening considered 1,899 Forward candidates: 1,030 were accepted, 740 rejected, and 129 excluded as uncertain. Two senior software engineers independently annotated a separate reliability sample of 200 candidates using the three decision labels. Pre-adjudication agreement was 91.0%, with Cohen's (Cohen, 1960); a third reviewer adjudicated the 18 disagreements. Agreement is calculated from the reviewers' original labels, before adjudication.
B.3 Worked Admission Cases: Inputs, Implementations, and Outputs
The following five examples make the admission rule concrete. Each specifies the developer-facing issue, relevant excerpts of historical routing rules, changed-path choices, activated workflows, and admission decision. The full configurations remain in the repository snapshots. Historical PRs establish actual changes; the alternative scopes shown here were separately reviewed by developers. A diagnostic routing probe tests a rule but need not implement the issue. For rejected examples, outputs are counterfactual evaluations of historical and alternative scopes; these candidates are excluded from the released benchmark.
Case A — Constrained Modification Scope
A1 • dyninst-2203
Accept
Developer request. In dyninst/dyninst, the issue names Failed to transform trace <N> near line 44 of dyninstAPI/src/Relocation/Transformers/Transformer.C and requests a more informative error message.
Routing evidence. Historical pr-tests.yaml admits PR actions opened, synchronize, reopened, and ready_for_review on master, with paths ** .h, ** .C, ** .c, ** .cmake, **CMakeLists.txt, and tests/*. The other three activated workflows use similarly broad C/C++ patterns.
| Reviewed scope | Output |
|---|---|
| Named Transformer.C statement (historical) | 4 workflows |
| Same fix plus a nearby header | Same 4 |
The workflow set is {binary-tests, codegen-cross-build, libabigail, pr-tests}. An unrelated .C file matches the routing filters but does not implement this issue; it is a diagnostic probe.
Admission rationale. The report directly identifies the emitting statement, and the reviewed fixes preserve the reproducible workflow Gold.
Historical PR #2204. Case ID: dyninst_dyninst__2203__af3e532.
A2 • psutil-2639
Accept
Developer request. In giampaolo/psutil, an AIX source-distribution build of psutil v7.1.0 fails because psutil/_psutil_posix.h is missing. The packaging fix must make this header available.
Routing evidence. build.yml admits push and pull_request without a path filter; bsd.yml matches POSIX source paths; issues.yml admits the fixed PR event.
| Reviewed scope | Output |
|---|---|
| psutil/_psutil_posix.h (historical) | 3 workflows |
| Same header change plus MANIFEST.in | Same 3 |
| Same header change plus setup.py | Same 3 |
All reviewed scopes activate {bsd, build, issues}.
Admission rationale. The issue identifies a specific missing artifact and packaging objective. The historical fix and reviewed packaging variants are routing-equivalent.
Historical PR #2640. Case ID: giampaolo_psutil__2639__fb0792e.
Case B — Equivalent Workflow Gold
B1 • fallow-2400
Accept
Developer request. “Support SvelteKit v3” in fallow-rs/fallow admits core-plugin, extraction-framework, or configuration implementations.
Routing evidence. On PRs to main, fuzz-smoke.yml admits crates/extract/, crates/core/, crates/config/, and crates/types/, among other paths.
Scopes. Paths below are relative to crates/.
| Reviewed scope | Output |
|---|---|
| core/src/plugins/sveltekit.rs plus integration tests/fixtures (historical) | 11 workflows |
| extract/src/frameworks/sveltekit.rs plus a core test config/src/frameworks.rs plus the core plugin | Same 11 Same 11 |
The common set is {allocs, bench, bloat, ci, commitlint, coupling, coverage, cross-arch, dependabot-auto-merge, ecosystem, fuzz-smoke}. A probe restricted to crates/cli and crates/output activates ten workflows, excluding fuzz-smoke; it is not a credible standalone implementation of the framework analyzer.
Admission rationale. The reviewed crate locations lie within the allowlist and preserve all 11 workflows; the accepted-case manifest and frozen evaluator agree.
Historical PR #2488. Case ID: fallow_rs_fallow__2400__75ca70b.
Case C — Divergent Workflow Gold
C1 • data-prep-kit-1047
Reject
Developer request. “HAP transform crashes when using a GPU” can plausibly require a transform-local fix, shared processing-library fix, or GPU toolchain change.
Routing evidence.
test-universal-hap.yml admits PRs to dev or releases/, with .make.*, transforms/universal/hap/, data-processing-lib/, and !.md. test-processing-lib.yml also matches .make.* and data-processing-lib/**, without a transform-local requirement.
| Reviewed scope | Output |
|---|---|
| transforms/universal/hap/dpk_hap/transform.py (historical) | 3 workflows |
| data-processing-lib/** | 33 workflows |
| .makeversions and .make.defaults | 57 workflows |
The historical set is {test-misc, test-universal-hap, test-universal-hap-kfp}. The shared scope adds test-processing-lib and sibling tests; toolchain changes activate further KFP and packaging workflows.
Admission rationale. The same request admits reasonable scopes with different workflow sets (3, 33, and 57). The candidate is excluded from the released benchmark.
Historical PR #1056. Case ID: data_prep_kit_data_prep_kit__1047__3245825.
C2 • data-prep-kit-1015
Reject
Developer request. “Improve performance of the Readability transform” follows a slowdown on a large HuggingFace parquet workload. A fix could optimize the local transform or the shared abstract_transform base class.
Routing evidence.
test-language-readability.yml matches
transform language/readability/** and data-processing-lib/**.
test-processing-lib.yml and roughly 30 related test-* workflows also match the shared-library paths.
| Reviewed scope | Output |
|---|---|
| transform language/ readability/** (historical) | 2 workflows |
| data-processing-lib/.../ abstract_transform.py | 33 workflows |
The historical set is
{test-language-readability, test-misc}. The shared-library fix additionally activates
test-processing-lib and other shared-library-dependent tests.
Admission rationale. The request does not determine local versus shared optimization, and the reasonable scopes yield different outputs (2 versus 33). The candidate is excluded from the released benchmark.
Historical PR #1026. Case ID: data_prep_kit_data_prep_kit__1015__54161c7.
B.4 Independent Audit of Accepted Cases
We independently examined 100 previously accepted cases, sampling 25 from each Direct-Local, Direct-Cross, Staged-Local, and Staged-Cross stratum. This audit was separate from the original admission decisions. Reviewers reassessed scope sufficiency and whether reasonable alternative implementations changed the Gold.
The audit found 97 cases with no identified Gold divergence, one divergent case, and two inconclusive cases. Among the 98 conclusive decisions, 97 showed no identified divergence (99.0%). Table B.1 reports the stratum-level results. The divergent case and both inconclusive cases were removed and replaced by three newly admitted cases satisfying the full review criteria. The released Forward benchmark therefore retains 1,030 cases, while the original pre-replacement audit outcomes remain reported.
| Subset | Audited | No divergence | Divergent | Inconclusive |
|---|---|---|---|---|
| Direct-Local | 25 | 25 | 0 | 0 |
| Direct-Cross | 25 | 24 | 0 | 1 |
| Staged-Local | 25 | 24 | 1 | 0 |
| Staged-Cross | 25 | 24 | 0 | 1 |
| Total | 100 | 97 | 1 | 2 |
Table B.1: Independent audit of previously accepted Task Forward cases.
B.5 Alternative Implementation Audit and Scoring Sensitivity
In the same 100-case audit, developers proposed and reviewed alternative implementation scopes grounded in each issue and its historical repository. 34 cases had at least one developer-validated alternative scope suitable for routing comparison. For 33 cases, the alternative preserved the historical Gold; one produced a different workflow set, yielding 97.1% alternative-scope Gold agreement. The worked cases in Section B.3 illustrate stable and divergent routing. Its two rejected Case C examples are construction-stage candidates, separate from the single divergent case in this independent audit.
We also measure scoring sensitivity to reasonable alternative targets. On the original 100-case pre-replacement audit sample, the reference agent obtains 63.0% Overall against historical Gold and 64.0% Overall when validated alternative Gold sets are additionally accepted, a gain of 1.0 percentage point. This analysis holds predictions fixed and varies the accepted Gold targets. The balanced audit describes the examined sample and its validated alternatives; the benchmark’s primary historical-Gold scoring protocol remains unchanged.
Together, routing validation establishes reproducible labels, human review excludes identified workflow ambiguities, and independent audits detect missed cases and guide corrections before release.
C Historical Information Isolation and Reproducibility
SWE-Time constructs verifiable targets from later repository evidence while evaluating agents at an earlier information boundary. Construction and agent execution use separate environments. This appendix describes historical views, leakage controls, evaluation checks, diagnostic labels, and task instructions; Appendices A and B detail Gold attribution and routing validation, respectively.
C.1 Task-Specific Historical Views
Backward: cutoff-restricted Git history. Each instance contains a sanitized regression report and Git history ending at a case-specific cutoff derived from the report's historical context. The pipeline resolves the developer-attributed first-bad SHA, checks ancestry and first-parent branch consistency, and materializes an isolated repository retaining original commit identities and permitted historical states. Under Full History, agents may inspect permitted revisions and diffs, build or test code, and create diagnostic probes. Developer bisect attributions and construction-time good/bad probes remain hidden.
Historical metadata and evidence removal. The pre-cutoff candidate history includes history_metadata.json1, recording each commit's SHA, parents, timestamp, author, and message. Both Full History and the Metadata-Only condition in RQ2 expose these fields. Full History additionally exposes historical tree and blob objects for code inspection and diff computation; Metadata-Only removes historical code states and diffs while preserving commit sequence and metadata. In RQ1, BM25 (commit message) uses pre-cutoff messages, whereas BM25 (diff / paths) uses changed paths and patch content, which the Metadata-Only agent cannot access.
Reports are sanitized by deletion rather than paraphrasing: culprit SHAs, bisect results, commit or pull-request links, and equivalent answer-bearing spans are removed; reproduction steps, error messages, and substantive symptoms remain. Auxiliary repository materials, including release notes and documents identifying the culprit, are also screened in the agent-visible view. Historical code and changes remain available for investigation.
Forward: pre-change working tree. Each instance exposes the developer issue, the repository state reconstructed from the fixing PR's base commit, and a fixed evaluation context E. The tree is extracted from the historical repository mirror without a .git directory. The actual fixing PR, its patch, the changed-path set , and subsequent workflow definitions remain construction-only evidence. The canonical context represents a non-draft pull-request synchronize event, with the target branch resolved at and provided consistently to both the agent and the routing evaluator. Gold is computed from workflow definitions already present in .
C.2 Packaging and Leakage Checks
Each Backward package has a dedicated evaluation ref. Before admission, the audit checks cutoff availability, Gold membership in the permitted history, inaccessibility of the immediate post-cutoff first-parent probe, and visible-tree consistency with its recorded digest. It also checks for unintended refs and shallow-history artifacts. Packages from the same repository are materialized serially to avoid cross-instance contamination.
Forward packages archive the pre-change tree into the execution image without a Git object database. Snapshot integrity is checked against the historical tree used to compute Gold. The canonical changed-path list and routing target remain hidden for construction and grading. Paths naturally mentioned in the issue remain visible even when they overlap with the fix. Both tasks supplement automatic checks with case-level review for indirect answer leakage.
The runner uses network/DNS restrictions and proxy overrides to block GitHub and other external sources of future issue, commit, or PR evidence while permitting required evaluation infrastructure connections. Network-isolation checks are recorded with each trial.
C.3 Agent Execution and Scoring
The benchmark is executed in per-case containerized tasks using Claude Code v2.1.220 and Codex v0.112.0. Both harnesses have a 3,600-second trial timeout; Codex uses reasoning_effort="high" and override_timeout_sec=3600. Automatic trial retries are disabled (max_retries=0); coverage backfills use separate invocations of the evaluation runner. Comparisons within the same harness and evaluation condition use common task instructions, tool-access policies, and inference-budget policies. Backward permits repository inspection, Git operations, local execution, and agent-authored tests or probes, while the construction-time regression oracle remains hidden. Expiration without a correct submission is unsuccessful. The Backward grader and answer-bearing task metadata are kept outside the agent workspace; grading artifacts are installed only after the agent run. Forward requires predictions of activated workflows, without executing prospective fixes or triggering actual CI runs.
Scoring is deterministic and independent of the agent's explanation. Backward accepts a complete 40-character commit SHA and compares it with the stored first-bad Gold. Forward compares predicted workflow-path sets against the frozen routing Gold. Missing or extra workflow identifiers prevent an Exact match. A well-formed empty workflow set is a scorable prediction and is evaluated by the same set comparison. The Forward evaluator resolves event/action eligibility, target-branch filters, and changed-path include/exclude patterns. The event context, evaluator semantics, case selection, and scoring rules are fixed independently of model predictions.
C.4 Preflight Validation and Result Aggregation
Before model evaluation, task packages and scorers undergo complementary checks: an oracle submission containing the stored Gold must receive full credit, while malformed submissions and valid submissions that differ from Gold must receive no credit. These tests validate agreement among the packaged task, hidden target, output parser, and scorer. Independent historical and behavioral Gold validation is described in Appendix A; hand-specified workflow-routing tests validate evaluator semantics in Appendix B.
Each trial is associated with its canonical case identifier. Task and protocol manifests associate the input state, frozen evaluation context, and Gold with the corresponding result. Reported Overall scores are case-weighted Exact over the relevant task set; timeouts, missing submissions, and unscorable outputs receive zero and remain in the denominator. The SWE-Time average gives Backward and Forward equal weight. Controlled experiments reuse fixed diagnostic subsets, whereas full-task analyses use the complete admitted sets.
In paired-state analyses, semantically invalid candidate pairs are excluded before evaluation. Pair Exact requires correct predictions in both states and is computed over all retained pairs, with any unscorable output counted as a failure. Invariance Error is the proportion of pairs with unchanged predictions despite different Gold targets, computed only among pairs with scorable outputs in both states. Invalid is the percentage of retained pairs containing at least one unscorable output. Gold-construction artifacts, agent-visible inputs, and hidden scoring data are stored and accessed separately.
C.5 Diagnostic Label Definitions
Temporal Low and Temporal High correspond to Direct and Staged, respectively. These labels are assigned independently of model performance and frozen before evaluation. Their task-specific criteria describe the reasoning required to recover the target.
Backward. Local/Cross compares the component implicated by the regression symptom with the component implicated by the Gold change: Local denotes the same component, and Cross denotes different components. Direct denotes a clear historical boundary; Staged denotes cases with credible earlier fix-like changes that must be distinguished when localizing the regression origin. This distinction concerns historical localization difficulty; Gold admission separately requires a resolved developer attribution and behavioral validation.
Forward. Local denotes a historical changed-path set confined to one top-level repository component; Cross spans at least two such components. Temporal labels are assigned through offline inspection of the pre-change snapshot. Direct corresponds to explicit routing, where the request and repository evidence support direct application of workflow rules. Staged covers scope grounding or impact escalation, requiring further inference of the modification scope or its effects before workflow activation can be determined.
C.6 Task Instruction Examples
The following excerpts show the task inputs, evaluation context, and answer format. Long report logs are abbreviated, and the Forward example presents the workflow-level instructions and response fields.
Prompt C.1 • Backward
Excerpt
Task. Locate the commit that introduced this regression.
Report. Assignment to uint series drops datatype. Assigning a uint value to a slice of a uint series results in a dataframe of type int. With Pandas 0.19.2 the series retains uint64; with version 0.21.0 it becomes int64.
What you have. /testbed/repo is a Git clone of pandas-dev/pandas truncated just after the regression was reported. The commit that introduced the regression is an ancestor of HEAD; the later fixing commit is absent. Reading history, gitlog, gitdiff, gitshow, and writing probe scripts support investigation.
What to produce. Write the full SHA of the first-bad commit into
/testbed/answer.txt: exactly one line of 40 lowercase hexadecimal characters, with no explanation or surrounding punctuation. Abbreviated SHAs are rejected, and the commit must exist in the provided repository.
Rules. Do not use the network, rewrite history, add remotes, or fetch objects. Solve the task from the provided repository.
Prompt C.2 · Forward
Excerpt
Task. Recover the symbolic verification state this change produces.
Report. In giampaolo/psutil, an AIX source-distribution build of psutil v7.1.0 fails because psutil/_psutil_posix.h is missing.
What you have. /testbed/repo contains the pre-change working tree, without Git history. The PR that actually fixed the issue is absent and cannot be fetched.
Evaluation context. Assume the prospective fix has updated an existing non-draft PR: action synchronize, target branch master. Consider pull_request and pull_request_target; apply native types, branches, branches-ignore, paths, and paths-ignore. Consider direct workflow activation, excluding push, workflow_dispatch, schedule, and workflow_run.
What to produce. Write JSON to
/testbed/answer.json, with the case
identifier and predicted workflow paths:
{ "case_id": "<case-id", "activated_workflows": [ "<workflow-path>" ] }
Workflow paths must use their exact locations under .github/workflows/ in the provided
snapshot.
Rules. Do not use the network or fetch the upstream fix. Solve the task from the provided repository.
C.7 Controlled Input Interventions
RQ1 baselines and RQ2–RQ3 use a fixed 300-case diagnostic subset for each task. Controlled conditions within a task reuse the same cases. Full Report and Full Issue retain the base instructions; the query interventions below edit the instruction text while reusing the corresponding repository image and task specification.
Symptom-Ablated. For Backward, symptom-defining spans and title phrasing are deleted from the sanitized report. The remaining report content is retained verbatim, and the available historical search space is unchanged.
No Issue. For Forward, the issue-introduction line and the complete report block are removed. Repository access, routing context, task instructions, and the response format remain the same.
Oracle Scope. For Forward, an Actual change scope block containing the normalized, sorted historical changed-path set is inserted before the repository-access instructions. The issue, pre-change snapshot, and routing context are unchanged. This diagnostic condition supplies change-scope information in addition to the base inputs.
The Metadata-Only intervention removes historical code evidence as described in Section C.1. Paired-state contrasts retain the issue, historical change scope, and routing context while replacing the repository state, as described in RQ2.
D Repository-Level Robustness
We assess sensitivity to repository weighting and single-repository removal using full-task predictions. Table D.1 reports Task Forward results for four models under Claude Code and GPT 5.4 under Codex as a reference; model comparisons remain within the Claude Code group. Case-weighted Overall averages case-level correctness, whereas Repo-Macro first computes performance within each repository and then weights repositories equally. Leave-one-repository-out (LOO) evaluation removes each of the 16 repositories in turn and recomputes case-weighted Overall on the remaining cases.
| Model | Case-weighted | Repo-Macro | LOO Range | Max. Shift |
|---|---|---|---|---|
| Qwen 3.8 Max | 63.9 | 61.5 | 59.5–71.2 | 7.3 |
| Claude Opus 4.8 | 62.7 | 64.6 | 58.1–69.9 | 7.2 |
| GLM 5.2 | 58.3 | 58.1 | 53.8–65.0 | 6.7 |
| DeepSeek V4 Flash | 46.2 | 47.8 | 41.5–51.5 | 5.3 |
| GPT 5.4 | 61.7 | 61.6 | 56.8–68.7 | 7.1 |
Table D.1: Repository-level robustness on Task Forward. Scores and LOO ranges report Overall (%). LOO Range gives the minimum and maximum scores after single-repository removal; Max. Shift gives the largest absolute change from the full-task score in percentage points. GPT 5.4 is a Codex reference; the other models use Claude Code.
The small differences between case-weighted and repository-macro scores indicate that the substantial performance headroom persists under equal repository weighting. Across the four Claude Code models, unchanged ordering in all 16 LOO evaluations further shows that their relative performance is robust to removing any single repository. Absolute scores nevertheless remain sensitive to repository composition, and the Opus–Qwen ordering reverses under repository-macro aggregation.
Repository-composition uncertainty. For Claude Opus 4.8, repository-clustered bootstrap (Field and Welsh, 2007; Efron, 1979) gives 95% confidence intervals (CIs) for case-weighted Overall of [55.4, 66.9] for Backward and [49.4, 71.6] for Forward. We use 10,000 resamples and random seed 20261011. Within each task, we draw repositories uniformly with replacement, drawing the original number of repositories (49 for Backward and 16 for Forward). Each selected repository contributes all its case outcomes, with repeated contributions when sampled more than once. We recompute case-weighted Overall from the pooled correct and total counts and take the 2.5th and 97.5th percentiles as the interval endpoints (DiCiccio and Efron, 1996). These intervals quantify uncertainty under repository-level resampling; the wider Forward interval indicates greater sensitivity to repository composition.