arXiv(opens in a new tab)cs.SESep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.01603

Efficient SWE Agent Benchmarking via Trajectory-Aware Evaluation

Kefeng Duan, Dewu Zheng, Yanlin Wang, Xiwen Wang, Ensheng Shi, Xilin Liu, Yuchi Ma, Jiachi Chen, Mingwei Liu, Zibin Zheng

Abstract

Evaluating software engineering agents on realistic benchmarks is costly, since each task may require multi-step code exploration, modification, and test execution. Existing efficient evaluation methods select representative subsets to estimate full-benchmark performance, but are largely result-only: they fit historical pass/fail response matrices or static task semantics, discarding how agents solve problems. We propose PTA-IRT, a Privileged Trajectory-Aware Item Response Theory framework that fuses process and outcome signals. Historical execution trajectories supply process-level evidence beyond pass/fail, such as explored context, attempted edits, and solving paths, which PTA-IRT uses as privileged information for calibration subset selection and ability estimation. Under low calibration budgets, PTA-IRT consistently outperforms prior IRT baselines on score and ranking recovery across four SWE benchmarks. Code and data are publicly available at https://github.com/DeepSoftwareAnalytics/PTA-IRT.

1 Introduction

As Large Language Models (LLMs) are increasingly deployed as software engineering agents, more challenging benchmarks emerge to evaluate their ability to solve real-world software engineering tasks. However, these agentic benchmarks make evaluation substantially more expensive than conventional single-turn settings. Repository-level benchmarks require agents to reason over long horizons, explore codebases, invoke tools, edit source files, and execute tests. These multi-step interactions result in substantial inference costs and long evaluation cycles. For example, SWE-bench contains more than 2,000 programming tasks; a single full-benchmark SWE-agent run has an estimated upper-bound cost exceeding 8,000undera8,000 under a4-per-task limit, while the average cost on successfully resolved instances is $1.59 for SWE-agent with GPT-4 Turbo [1, 2]. This motivates the central question of our work: can we evaluate a new agent on only a small budgeted subset of tasks while reliably recovering its performance and relative ranking on the full benchmark?

To address this question, prior work on efficient benchmarking introduces Item Response Theory (IRT) to select a small but representative subset of benchmark instances and use limited observations to estimate full-benchmark performance [3–6]. IRT-based methods fit historical response matrices to estimate item measurement characteristics and to infer a model's latent ability from a limited set of observed responses. IRT therefore provides a promising framework for budgeted SWE agent evaluation. However, prior IRT methods for efficient benchmarking typically represent each task solely through its final pass/fail response, while a SWE agent's outcome is produced through a multi-step trajectory of reasoning, context exploration, tool use, code editing, and verification. Reducing a trajectory to a binary outcome discards crucial process-level measurement signals about how an agent reaches success or failure, including what context it explores, which actions or edits it attempts, and where its problem-solving process breaks down.

To address this limitation, we propose PTA-IRT (Privileged Trajectory-Aware Item Response Theory), which incorporates historical agent trajectories as privileged information into IRT-based data selection and evaluation. PTA-IRT first converts trajectories into structured semantic summaries and uses them to learn trajectory-aware four-parameter logistic (4PL) item measurement characteristics. It then selects a difficulty-stratified calibration subset using trajectory-aware Fisher information and transfers measurement knowledge to an ability estimator through Learning Using Privileged Information (LUPI). Given a new agent, PTA-IRT executes only the selected calibration tasks and uses limited calibration observations to estimate its full-benchmark performance and ranking.

To validate the effectiveness of PTA-IRT, we conduct experiments on four SWE benchmarks and compare it with prior IRT baselines. Our results show that:

• Under low calibration budgets, PTA-IRT consistently outperforms prior IRT baselines on score and ranking recovery.

• Privileged trajectory information is the source of these gains: outcome-only modeling or corrupted trajectory summaries weaken recovery.

• Structured trajectory summaries carry process signals beyond issue text and submitted patches, making budgeted evaluation more informative.

Our contributions are as follows:

∗^{*}Corresponding author.

DimensionDataset curationBudgeted evaluation (subset→full)
LiteVerifiedClassical IRTDeep/PSN-IRTAutoJudgerPTA-IRT
Target domainSWESWEGeneralGeneralMultimodalSWE
Observation signal——Pass/FailPass/FailPass/FailPass/Fail+Agent Traj.
Modeling methodHeuristic rulesHuman judgmentParametric IRTNeural IRTIRT + LLM selectionTraj.-aware IRT
LLM involvement————Selects tasksSummarizes traj.
Human involvement—Heavy————

Table 1: Comparison of efficient benchmarking for SWE evaluation. Dataset curation: SWE-bench Lite and Verified are fixed smaller subsets filtered from SWE-bench (Lite: rule-based; Verified: human annotation). Budgeted evaluation recovers full-benchmark scores from a calibration subset. “—” denotes not applicable / not involved.

  • We formulate efficient SWE benchmarking as a budgeted subset-to-full evaluation problem under a realistic protocol in which a new agent is executed only on the calibration subset, while historical trajectories are used offline for training.

  • We introduce PTA-IRT, which incorporates historical agent trajectories as privileged information into IRT-based item selection and full-benchmark performance estimation.

  • Extensive experiments on four SWE benchmarks show that PTA-IRT improves budgeted score and ranking recovery over prior IRT baselines.

References (58)