arXiv '26

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

AgentLens assesses the process behind software engineering agent solutions, revealing passing trajectories that succeed despite wasteful or unreliable behavior.

Priyam Sahoo · Gaurav Mittal · Xiaomin Li · Shengjie Ma · Benjamin Steenhoek · Pingping Lin · Yu Hu

AgentLens evaluates software engineering agent trajectories beyond whether their final patches pass tests. It uses task-level process references and context-sensitive action labels to distinguish lucky passes from more reliable solutions.

The work also introduces AgentLens-Bench, a dataset of annotated trajectories with quality scores, waste signals, and divergence points.