- Rating
- 4
- Clarity
- 4
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper proposes DPIAgent, an agent framework for reproduction test generation. The method decomposes the task into two phases: defect exploration and test generation. It enforces a structured handoff summary between the phases and isolates the available tools in each phase so that the agent first understands the bug before writing tests. The paper evaluates DPIAgent on SWT-Bench Verified across three backbone models and reports consistent improvements over SWE-Agent and other baselines. It also studies test selection, localization accuracy, ablations of the two-phase design, and tool-efficiency behavior.
Strengths and weaknesses
Strengths The proposed DPI design is simple and well aligned with the task structure. Dividing exploration from generation, requiring an explicit handoff protocol, and isolating tools by phase are intuitive choices. The method is easy to understand and could plausibly be reused in other agentic software engineering settings. The experimental results are strong. On SWT-Bench Verified, DPIAgent improves over SWE-Agent across GPT-5-Mini, GPT-5, and Claude-Opus-4.5. The gains are especially large for weaker backbones, suggesting that structured workflow design can compensate for limited model capability. The additional test-selection stage further improves success rates. The ablation studies are useful and directly connected to the paper’s claims. Removing the protocol or collapsing the two-phase design lowers performance, and the behavioral analysis shows that DPIAgent substantially increases explore-first trajectories while reducing exploration underuse and interleaved exploration/editing. This makes the mechanism of improvement more convincing than a pure end-to-end score comparison. Weaknesses While the DPI protocol is a useful and clearly articulated contribution, its novelty is mostly in how existing agent-control ideas are organized for reproduction test generation. Task decomposition, structured handoff summaries, phase-specific tool access, and candidate selection have appeared in related agent and software-engineering systems. The paper would benefit from a sharper discussion of what is unique about DPI compared with prior multi-stage workflows and pipeline-style test generation methods. The attribution of gains is somewhat confounded by the use of specialized exploration tools. DPIAgent does not only impose Divide/Protocol/Isolate; it also uses graph-based repository exploration tools. Although the paper includes a tool ablation, the improvement may come from both better workflow structure and better retrieval/exploration infrastructure. The paper should more clearly separate these two sources of gain. The evaluation is limited to SWT-Bench Verified, which mainly covers Python repositories. The paper argues that DPI is a general principle, but the evidence for generality across languages, project types, or non-test-generation coding tasks is limited.
Questions
Could the authors clarify what is unique about DPI compared with prior multi-stage agent workflows and pipeline-style reproduction test generation methods? In particular, which part of Divide, Protocol, and Isolate is essential beyond standard task decomposition with a structured intermediate summary? Could the authors better separate the gains from the DPI protocol and the gains from the graph-based exploration tools? Although the paper includes a tool ablation, DPIAgent changes both the workflow structure and the exploration infrastructure. A controlled comparison using the same graph-based tools without strict phase/tool isolation, or using DPI with only standard SWE-Agent tools, would help identify how much of the improvement is due to DPI itself. How does DPIAgent behave when the Phase 1 exploration summary is wrong or incomplete? Since Phase 2 removes exploration tools, it is important to understand whether the agent can recover from an incorrect handoff, or whether early diagnostic errors are propagated into test generation. Can the authors provide more evidence or discussion about generality beyond SWT-Bench Verified? Even a small experiment on another language, another reproduction-test benchmark, or a qualitative analysis of non-Python cases would help support the claim that DPI is a general agentic design principle.
Limitations
Yes, in Appendix D
Paper formatting concerns
No
Final justification
My recommendation remains positive. In my original review, I found DPIAgent to be a clear and useful protocol for reproduction test generation, with strong results on SWT-Bench Verified and ablations that directly support the main claims.
The rebuttal addresses my main concern about attribution by adding controlled ablations separating DPI’s framework contribution from specialized exploration tools. The D/P/I component analysis also clarifies the role of each part of the protocol, and the discussion of incomplete handoffs helps explain how the system can recover when Phase 1 is imperfect.
One limitation remains: the generality evidence beyond SWT-Bench Verified is still mostly case-study level. However, this does not outweigh the clear empirical gains and the strengthened evidence for the DPI protocol itself. I therefore maintain my positive score.
Response to Reviewer ptTX
Thank you for your constructive review. We provide our responses below to address your questions.
Empirical Evidence for DPI's Mechanism
Following the LLM-as-Judge paradigm, we construct an independent analysis agent to evaluate each trajectory. For each instance, the agent identifies the first substantive test edit and scores it on two dimensions:
A test edit is Ready when Tgt=2 and Spec=2. We instantiate the judge with GPT-5.6-Terra, run it three times independently and apply outcome-aware correction (override to Ready if F2P is achieved without post-first-edit modification). All numbers below are absolute case counts.
To understand why the Total F2P gain shrinks for stronger models, we break down the Not-Ready cases:
Causal evidence: phase structure improves diagnostic quality. To further isolate the causal effect of phase structure, we take the 140 cases that w/o 2P fails on (GPT-5-Mini) and categorize them by the first-edit diagnostic quality under w/o 2P (evaluated by GPT-5.6-Terra), then measure how many Full DPI rescues in each category. Since the comparison is on identical instances, task difficulty is controlled.
DPI's rescue concentrates on the spec-incomplete category. The middle row has the highest rescue rate at 58.8%, confirming that DPI's phase boundary bridges the gap between understanding and test writing. Cases with inadequate targeting show a lower but non-trivial rescue rate of 30.4%.
Attribution of Gains: Framework vs Tools
Thank you for raising this point. Compared to SWE-Agent, DPI's main tool-level difference is phase-specific tool gating: Phase 1 adds
Search Codefor graph-based exploration but removes editing tools; Phase 2 removes graph-based exploration tools and restores editing. The table below summarizes the detailed availability. For controlled ablations on whether these tool differences contribute to the reported gains, please see Q2.Standard ExploreStandard ViewStandard EditbashStandard Explore,Search CodeStandard Viewbashready_to_write_testStandard ExploreStandard ViewStandard EditbashTo answer whether these tool differences contribute to the reported gains, we note that the tool-level differences between SWE-Agent and DPI include:
Search Codein Phase 1ready_to_write_testtransition mechanismWe conduct controlled ablations to disentangle each contribution:
Search Codealone improves S but TDD drops by 3.89, showing that better exploration tools alone do not yield higher-quality tests.ready_to_write_testcontrol provides only the transition tool and its description to a monolithic agent without DPI's phase structure or workflow instructions, testing whether the tool itself produces gains; the marginal improvement (+1.08 S) confirms it does not.Building on the w/o Divide and w/o Protocol ablations already reported in Table 4, we additionally ablate Isolate (phase-specific tool gating) to complete the picture. Divide causes the largest overall drop (-6.62 S, -10.92 ΔC), measuring the full phase-structure bundle. Isolate primarily affects test quality (-6.11 ΔC, -8.17 Cov.), consistent with tool gating reducing cross-phase interference. Protocol mainly affects successful reproduction (-3.38 S), providing an explicit state-transfer artifact across phases.
Furthermore, we apply DPI on top of TraeAgent[1] without adding specialized graph-based exploration tools, and observe +6.61 S and +10.69 TDD (GPT-5-Mini). This both demonstrates that DPI generalizes to different agent platforms and further confirms that the framework, not tool differences, is the source of improvement.
Novelty
Our motivation is to decompose compound-objective tasks into finer-grained stages with explicit boundaries, so that the agent focuses exclusively on the current stage's objective and produces higher-quality outputs at each stage. As our mechanistic analysis in Q1 shows, this decomposition directly improves pre-feedback test design quality, which is the primary bottleneck for weaker models. For test generation, DPI ensures the agent completes bug diagnosis before writing tests, resulting in higher first-edit Ready rates and consequently more F2P successes.
We acknowledge that task decomposition, structured handoff, and tool subsetting have precedents individually. The novelty of DPI is not "task decomposition" itself, but making decomposition an executable phase-boundary control mechanism. Concretely, this mechanism provides three benefits that prior approaches lack:
Regarding generality beyond a single task, due to time constraints we currently provide case studies (Go, JavaScript, TypeScript for both test generation and bug fixing) rather than full-scale evaluations. Details are in Reviewer edYV's response (Generality, subsections 1-3).
Presentation
We appreciate the detailed feedback on presentation clarity. We agree that Figure 2 can be simplified. In the final revision, we plan to: (1) reorder the diagram to follow the temporal flow of Phase 1 → Protocol → Phase 2 linearly, (2) visually distinguish Protocol as a transition mechanism rather than a standalone phase, and (3) replace the bottom bar with a clearer two-phase annotation. We will also expand the textual explanation of the workflow, the role of each component, and the phase transitions as suggested.
Thank you for catching these. We will fix the noted errors and thoroughly polish the manuscript in the revision.
Ref:
[1] Trae Agent: An LLM-based Agent for Software Engineering with Test-time Scaling, Technical Report, ByteDance