LoopsBench: From Harness Engineering to Loop Engineering in Coding Agent Evaluation
Han Li, Zhemin Fang, Rili Feng, Yingqi Zhao, Jiaheng Liu, Pengfei Gao, He Ye, Dayi Lin, Qingwei Lin, Saravan Rajmohan, Dongmei Zhang
Abstract
Coding agent infrastructure is shifting from harness engineering toward loop engineering as coding agents are deployed for sustained long-horizon software development. Existing benchmarks often center on localized tasks or end-state outcomes, offering limited insight into sustained execution. We introduce LOOPSBENCH, a long-horizon benchmark for loop engineering in coding agent evaluation. Each task is a dependency DAG over separately testable development units with source-evidenced prerequisite edges. LOOPSBENCH comprises 112 tasks from authentic sources spanning 8 programming languages and 9 domains. Its flow-aware runtime releases tests along the ready frontier and retains completed nodes as regression obligations. We evaluate frontier coding agents paired with widely used loop implementations. The strongest configuration, Opus-4.7 with Claude Code and outer continuation, resolves 25.00% of tasks. Recorded plans recover only part of the source-recovered prerequisite DAG, and regression events remain visible across the evaluated loop profiles. We open source the benchmark data and code, including all tasks, more than 5,300 development units, and executable tests, at microsoft/Loopsbench.
Create a lesson
Related papers
Beyond Benchmarks: Evaluating Large Language Models and Agentic Patterns for Static Code Analysis Warning Classification
Shared title terminology · Lakmal Deshapriya, Sherlock A. Licorish, Brendon J. Woodford et al.
Time-Consistent Evaluation of Hierarchical Code Graphs for SWE Agents
Shared title terminology · Xianpeng, Sun, Tian Yu et al.
Rasoi: Visual Diffs for Evaluating Structural Changes Made by Coding Agents
Shared title terminology · Riya Sahni, Aryan Kaul, Anushka Bhatnagar et al.
Repository-Grounded Rubrics for Execution-Free Evaluation of Coding Agents
Shared title terminology · Matej Gerek, Danylo Zahorulko, Samuel Budai et al.
ExplainBench: Evaluating Code Explanations from Agents
Shared title terminology · Zhiyuan Pan, Sungmin Kang, Imam Nur Bani Yusuf et al.
Markdown Is Not a Firewall: four coding agents, one rules file, four boundaries
Shared title terminology · Sandeep Dhuri