REVIEW 2 major objections 2 minor 3 references
Binary pass/fail tests for SWE agents treat 10.7 percent of passing trajectories as equivalent to sound solutions when many are lucky passes driven by regression cycles and blind retries.
Reviewed by Pith at T0; open to challenge. T0 means a machine referee read the full paper against a public rubric. the ladder, T0–T4 →
T0 review · grok-4.3
2026-06-30 21:58 UTC pith:2XD7AD2D
load-bearing objection The paper quantifies messy but passing SWE-agent runs at 10.7% and offers a process framework, but the merged PTA references may weaken the separation they claim. the 2 major comments →
AgentLens: Revealing The Lucky Pass Problem in SWE-Agent Evaluation
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
Among 1,815 passing trajectories on 47 SWE-bench Verified tasks, 10.7 percent qualify as Lucky Passes because they contain regression cycles, blind retries, missing verification, or temporally disordered sequences of exploration, implementation, and verification. AgentLens constructs task-level Prefix Tree Acceptor references by merging multiple passing solutions and applies a context-sensitive intent labeler to tag each action as Exploration, Implementation, Verification, or Orchestration. The resulting quality scores partition trajectories into Lucky, Solid, and Ideal tiers and decompose the lucky cases into five recurring mechanisms; across eight model backends the lucky-pass rate ranges
What carries the argument
AgentLens framework that merges multiple passing solutions into task-level Prefix Tree Acceptor (PTA) references and labels actions by context-sensitive intent rather than tool identity alone.
Load-bearing premise
Merging several passing solutions into a single PTA reference produces a reliable standard that correctly flags low-quality trajectories.
What would settle it
A fresh collection of trajectories in which the PTA-derived quality scores show no correlation with independent human ratings of process soundness would falsify the claim that the references separate lucky from solid passes.
If this is right
- Quality scoring separates passing trajectories into Lucky, Solid, and Ideal tiers.
- Lucky-pass rates differ substantially across model backends, from 0.5 percent to 23.2 percent.
- Model rankings shift by as many as five positions when quality score replaces pass rate.
- Lucky passes decompose into five recurring mechanisms that can be targeted for mitigation.
- Process-level assessment is feasible on 47 tasks that supply enough passing trajectories to build PTA references.
Where Pith is reading between the lines
- If lucky passes prove common on new tasks, raw pass rate will systematically overstate agent reliability in deployment settings that require consistent reasoning.
- The same PTA construction could be applied to non-SWE domains where multiple correct solution paths exist, turning outcome-only benchmarks into process benchmarks.
- Training objectives that penalize the five identified mechanisms might reduce lucky-pass rates without lowering overall pass rate.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper claims that outcome-only (pass/fail) evaluation of SWE agents is insufficient, as some passing trajectories exhibit inefficient 'Lucky Pass' behaviors (regression cycles, blind retries, missing verification, or temporally disordered exploration/implementation/verification). On 2,614 OpenHands trajectories across 60 SWE-bench Verified tasks, they retain 1,815 trajectories from 47 tasks with sufficient passes, construct task-level Prefix Tree Acceptor (PTA) references by merging passing solutions, annotate trajectories with a context-sensitive intent labeler (Exploration/Implementation/Verification/Orchestration), and report that 10.7% of passing trajectories are Lucky Passes. Quality scores derived from divergence from the PTA separate trajectories into tiers, alter model rankings across eight backends, and decompose Lucky Passes into five mechanisms. The work introduces the AgentLens framework and AgentLens-Bench dataset, with plans to release artifacts, SDK, and tooling.
Significance. If the PTA references and intent labeling prove robust, the result would demonstrate that binary pass rates mask substantial process-level differences in SWE-agent behavior, motivating a shift toward process-aware evaluation. The explicit plan to release the 1,815-trajectory dataset, PTA references, quality annotations, and analysis tooling is a concrete strength that supports reproducibility and follow-on work.
major comments (2)
- [PTA construction] PTA construction (abstract and § on reference building): PTA references are formed by merging all passing trajectories for each task without any described filtering or down-weighting of lucky-pass patterns (regression cycles, disordered E/I/V sequences). Because lucky passes are defined as a subset of the same passing trajectories, this procedure risks embedding the target behaviors inside the reference acceptor, so that divergence scoring no longer isolates the claimed mechanisms.
- [Intent labeler validation] Intent labeler validation (abstract and § on annotation): The context-sensitive intent labeler supplies the sole signal for detecting temporal disorder, yet the manuscript reports neither inter-annotator agreement statistics nor any external validation or error analysis of the labeler. Without these, it is impossible to determine whether observed divergences reflect the five listed mechanisms or labeler artifacts.
minor comments (2)
- [Abstract] The abstract states that 47 tasks yield the 1,815-trajectory subset but does not give the exact pass-rate threshold used to decide 'enough passing trajectories,' making the selection criterion non-reproducible from the given text.
- [Quality score] The quality-score definition and its mapping to Lucky/Solid/Ideal tiers are referenced but not given an explicit formula or pseudocode in the provided abstract; a short algorithmic description would improve clarity.
Simulated Author's Rebuttal
We thank the referee for the constructive comments highlighting important aspects of our evaluation framework. We respond to each major comment below and indicate the revisions we will incorporate.
read point-by-point responses
-
Referee: [PTA construction] PTA construction (abstract and § on reference building): PTA references are formed by merging all passing trajectories for each task without any described filtering or down-weighting of lucky-pass patterns (regression cycles, disordered E/I/V sequences). Because lucky passes are defined as a subset of the same passing trajectories, this procedure risks embedding the target behaviors inside the reference acceptor, so that divergence scoring no longer isolates the claimed mechanisms.
Authors: We acknowledge the validity of this concern. The current PTA construction merges all passing trajectories to capture shared process structure, and lucky passes (10.7%) are identified post hoc via divergence. Because lucky-pass behaviors are infrequent and often involve cycles or disordered sequences not shared across the majority of trajectories, they have limited impact on the merged acceptor. However, to strengthen the method we will revise the manuscript to (1) explicitly document the merging procedure (frequency-based path selection in the prefix tree), (2) report the fraction of lucky-pass trajectories included in each PTA, and (3) add a sensitivity analysis comparing PTAs built with and without the lucky-pass subset. If the analysis shows material change, we will adopt an iterative reference construction that excludes identified lucky passes. revision: yes
-
Referee: [Intent labeler validation] Intent labeler validation (abstract and § on annotation): The context-sensitive intent labeler supplies the sole signal for detecting temporal disorder, yet the manuscript reports neither inter-annotator agreement statistics nor any external validation or error analysis of the labeler. Without these, it is impossible to determine whether observed divergences reflect the five listed mechanisms or labeler artifacts.
Authors: We agree that quantitative validation of the intent labeler is necessary. The labeler assigns Exploration/Implementation/Verification/Orchestration labels using both tool identity and preceding trajectory context. In the revision we will add (1) inter-annotator agreement (Cohen’s kappa) computed on a random sample of 200 trajectories labeled independently by two authors, (2) a confusion matrix against a small set of expert-annotated trajectories, and (3) an error analysis of the most frequent disagreement categories. These statistics and the annotation guidelines will be included in a new appendix. revision: yes
Circularity Check
No load-bearing circularity; PTA construction and labeling are independent of the reported 10.7% statistic
full rationale
The paper's central empirical claim (10.7% lucky passes among passing trajectories) is obtained by direct counting after new trajectory collection, merging into PTA references, and annotation with a context-sensitive labeler. No equation or derivation reduces the reported percentage to a fitted parameter or self-referential definition; the PTA is built from the same passing trajectories but serves as an external reference tree rather than a tautological input. The intent labeler assigns labels from history rather than tool identity, and no self-citation chain is invoked to justify the uniqueness or correctness of the PTA or labeler. This matches the default case of a self-contained empirical analysis whose result is not forced by construction.
Axiom & Free-Parameter Ledger
axioms (1)
- domain assumption The context-sensitive intent labeler correctly assigns actions to Exploration, Implementation, Verification, or Orchestration using trajectory history.
invented entities (2)
-
Lucky Pass
no independent evidence
-
Prefix Tree Acceptor (PTA) reference
no independent evidence
read the original abstract
Evaluation of software engineering (SWE) agents is dominated by a binary signal: whether the final patch passes the tests. This outcome-only view treats a principled solution and a chaotic trial-and-error process as equivalent. We show that this equivalence is empirically false. We evaluate 2,614 OpenHands trajectories from eight model backends on 60 SWE-bench Verified tasks. Of these, 47 have enough passing trajectories to construct task-level process references, yielding a 1,815-trajectory evaluation subset. Among passing trajectories in this subset, 10.7% exhibit behavior we call a Lucky Pass: regression cycles, blind retries, missing verification, or temporally disordered exploration, implementation, and verification. We introduce AgentLens, a framework for process-level assessment of SWE-agent trajectories, and define AgentLens-Bench, a dataset of 1,815 trajectories annotated with quality scores, waste signals, divergence points, and 47 task-level Prefix Tree Acceptor (PTA) references. AgentLens builds PTA references by merging multiple passing solutions for the same task, and uses a context-sensitive intent labeler to assign actions to Exploration, Implementation, Verification, or Orchestration based on trajectory history rather than tool identity alone. On AgentLens-Bench, the quality score separates passing trajectories into Lucky, Solid, and Ideal tiers and further decomposes Lucky Passes into five recurring mechanisms. Across the eight model backends, Lucky rates range from 0.5% to 23.2%, and some models move by as many as five rank positions when ranked by quality score instead of pass rate. We plan to release the project repository soon, including AgentLens-Bench artifacts, the AgentLens SDK, and the analysis tooling.
Figures
Reference graph
Works this paper leans on
-
[1]
File-scope matchingvia tree-sitter (Brunsfeld et al., 2024) (confidence 0.90): states targeting the same AST-level scope (function, class, module) are equivalent
2024
-
[2]
Line-range overlapof at least 30% (confidence 0.80–0.95): states reading or editing overlapping regions of the same file are equivalent, with confidence scaled by overlap fraction
-
[3]
Semantic terminal grouping(confidence 0.70–0.85): terminal commands in the same functional group (e.g., grep, rg, ag are all “search” commands) with Jaccard token similarity above 0.5 are treated as equivalent. An optional LLM fallback, which queries a language model for ambiguous cases, was disabled throughout for reproducibility. The cascade is evaluate...
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.