mlsanityData to 14 Oct 2026

AgentLens: Revealing The Lucky Pass Problem in SWE-Agent Evaluation

arXiv 2605.12925 ↗First posted 13 May 2026cs.SE cs.AIcited by 15

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 15 papers in the map (data through 14 Oct 2026). Builds on 31 of its 47 references that are in the map. First posted on arXiv 13 May 2026.

Builds on

31 of 47 references.

References · 31

  1. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
  2. 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
  3. 2023Let's Verify Step by Stepcited by 3,789
  4. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
  5. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
  6. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
  7. 2023AgentBench: Evaluating LLMs as Agentscited by 1,267
  8. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 1,002
  9. 2023Math-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotationscited by 928
  10. 2022Solving math word problems with process- and outcome-based feedbackcited by 901
  11. 2025Why Do Multi-Agent LLM Systems Fail?cited by 604
  12. 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 585
19 more
  1. 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 546
  2. 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 421
  3. 2024AgentBoard: An Analytical Evaluation Board of Multi-turn LLM Agentscited by 339
  4. 2024ProcessBench: Identifying Process Errors in Mathematical Reasoningcited by 292
  5. 2024AutoCodeRover: Autonomous Program Improvementcited by 278
  6. 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 263
  7. 2025Multi-SWE-bench: A Multilingual Benchmark for Issue Resolvingcited by 171
  8. 2025R2E-Gym: Procedural Environments and Hybrid Verifiers for Scaling Open-Weights SWE Agentscited by 158
  9. 2025SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agentscited by 142
  10. 2025SWE-Lancer: Can Frontier LLMs Earn 1 Million from Real-World Freelance Software Engineering?cited by 105
  11. 2025TRAIL: Trace Reasoning and Agentic Issue Localizationcited by 104
  12. 2025Establishing Best Practices for Building Rigorous Agentic Benchmarkscited by 102
  13. 2025Understanding Software Engineering Agents: A Study of Thought-Action-Result Trajectoriescited by 81
  14. 2025Web-Shepherd: Advancing PRMs for Reinforcing Web Agentscited by 41
  15. 2025Understanding Code Agent Behaviour: An Empirical Study of Success and Failure Trajectoriescited by 33
  16. 2025SWE-RM: Execution-free Feedback For Software Engineering Agentscited by 28
  17. 2025Process-Centric Analysis of Agentic Software Systemscited by 24
  18. 2021An Exploratory Study of Debugging Episodescited by 3
  19. 2026Learning Correct Behavior from Examples: Validating Sequential Execution in Autonomous Agentscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 15.

15 papers.

Sort:

By area:

  1. 2026Failure as a Process: An Anatomy of CLI Coding Agent Trajectoriescited by 13
  2. 2026Fail-Fast, Restart-Smart: Early Failure Prediction and Restart for SWE Agentic Taskscited by 5
  3. 2026Building to the Test: Coding Agents Deliver What You Check, Not What You Requestedcited by 4
  4. 2026Beyond Final Scores: A Systematic Evaluation of Agents for Long-Horizon AI Research and Developmentcited by 4
  5. 2026Execution-First Synthetic Tool-Use Trace Generation for LLM Agentscited by 2
  6. 2026trajectory-judge: What Outcome-Only LLM Judges Miss on Agent Trajectoriescited by 2
  7. 2026Looping Is Not Reliability: State-Bound Evidence and Typed Revision Contracts for Agentic Code Repaircited by 1
  8. 2026The Working Set of a Coding Agent: Coherence Debt in Repository-Scale Taskscited by 1
  9. 2026Skill Issue: Lessons from Optimizing Repository SKILLs for Coding Agentscited by 1
  10. 2026Maintaining Benchmarks Against Increasingly Capable Agents: Detection and Remediation of Unearned Passescited by 1
  11. 2026Validation Evidence in LLM Repair Agents: How Much of What Passes Actually Tests the Bug?cited by 0
  12. 2026Coding Agents Have Converged: Why the SWE-bench Leaderboard Can No Longer Order Its Top Entries, and What to Measure Insteadcited by 0
3 more
  1. 2026Trajectory-Aware Benchmark Subset Selection for Cost-Efficient Software Engineering Agent Regression Testingcited by 0
  2. 2026What Did the Agent Actually Do? Evidence-Grounded Oversight for Long-Horizon Agentscited by 0
  3. 2026SWE-Critix: Post-Training Generalist Verifiers for Assessing Coding-Agent Trajectoriescited by 0