HPCAgent-Bench: A Framework for Sound Benchmarking of Code-Optimizing Agents, Harnesses, and Skills
ETH Zurich(苏黎世联邦理工学院);Institute of High Performance Computing (IHPC), A*STAR(新加坡国立研究基金会高性能计算研究所)
Yakup Koray Budanaz, Lorenzo Paleari, Marcin Copik, Alexandru Calotoiu, Timo Schneider, Benjamin Chen Ming Choong, Shriram Chandran, Lars Hulsbergen, Levi Widmer, Torsten Hoefler
Coding agents are increasingly used to optimize code, but existing benchmarks fix one accelerator, programming model or harness, so they cannot isolate what each component contributes or show whether added skills and tools repay their cost. We present HPCAgent-Bench with 689 kernels in three tracks: loop-level optimization challenges, kernels extracted from HPC codes, and machine-learning models. The framework specifies each kernel once in NumPy, derives C and Fortran references, accepts submissions through a common C ABI or Python interface, and runs them on CPUs or GPUs, on one or multiple nodes. An external judge checks correctness on hidden fuzzed inputs and times each submission, closing paths agents use to exploit the testing system. We introduce two metrics for reporting results: \textit{intervention efficacy} measures an intervention, such as adding a tool, through paired runs on speedup, success rate and cost, and \textit{weighted token cost} reports input, cached-input and output tokens under explicit weights. Agents reach up to $4.2\times$ speedup over automatic parallelizers, and their optimizations transfer to another machine: $93$--$99\%$ of answers without device-specific code remain correct, and per-kernel speedups keep a rank correlation of $r_s\ge0.84$. Across 40 matched setups, interventions significantly change speedup only twice but token cost by up to $3.0\times$. Because token weighting decides whether a saving is significant, we state the weights and release every token count as a standard for cost reporting. We provide the first comprehensive, broad and hardened benchmark for the sound evaluation of agentic optimization, with transparent cost metrics.
HarnessSecurity-Bench: Do Security Mechanisms Really Protect Coding Agent Harnesses?
School of Software Engineering, Sun Yat-sen University(中山大学软件学院);Peng Cheng Laboratory(鹏城实验室);East China Normal University(华东师范大学);Department of Computer Science, Hong Kong Baptist University(香港浸会大学计算机系);Tsinghua University(清华大学);Department of New Networks, Peng Cheng Laboratory(鹏城实验室新网络部)
SpecGuardBench: Can Coding Agents Construct Reliable Validation Harnesses from Natural Language Specifications?
The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Aalto University(阿尔托大学);Lero, the Research Ireland Centre for Software(Lero——爱尔兰软件研究中心);University of Limerick(利默里克大学);University of Ottawa(渥太华大学)
Ecdysis: Efficient and Effective Training of Runtime Harnesses for LLM Agents
Chengdu Institute of Computer Applications, Chinese Academy of Sciences(中国科学院成都计算机应用研究所);University of Chinese Academy of Sciences(中国科学院大学);Beijing Institute of Technology(北京理工大学);Beijing University of Technology(北京工业大学);Yangtze Delta Region Institute of Tsinghua University, Zhejiang(浙江清华大学长三角研究院);Jiaxing Key Laboratory of Artificial Intelligence and Cyber Resilience(嘉兴人工智能与网络安全重点实验室)