MEDSWE-BENCH: A Benchmark for Biomedical Software Engineering Agents
Zhaoyang Zhu, Sicong Li, Zihan Liao, Luyao Ma, Zhihua Zhang, Lei Liu, Yue Shen, Jian Wang, Jinjie Gu
Abstract
Subtle bugs in biomedical software can silently invalidate scientific and clinical conclusions without triggering runtime failures. Existing benchmarks miss this failure mode: PR-mined coding benchmarks suffer from pretraining leakage, while biomedical agent benchmarks largely omit multilingual, repository-level tasks, rigorous tests, and strong sandboxing. We introduce \textbf{\bench{}}, comprising \textbf{81} feature-level biomedical engineering tasks across \textbf{33} open-source repositories, \textbf{8} translational domains, and \textbf{8} languages. To construct it, we develop \textbf{\forge{}}, a multi-agent framework that extracts live-repository tasks, stress-tests contract-grounded scientific oracles under formula-free prompts, and evaluates patches in history-stripped, offline containers. Across six frontier reasoning models, top systems (\texttt{GPT-6.2 Sol} and \texttt{Claude Fable 5}) reach only \textbf{49.4\%} and \textbf{45.7\%} accuracy; open-source models trail proprietary ones by \textbf{3.1} while using \textbf{27} more tokens per solve, and \textbf{33.3\%} of tasks remain unsolved. Trajectory auditing reveals that \textbf{86.1\%} of true failures stem from scientific identification and realization rather than localization---over \textbf{80\%} of which pass agents' local tests while violating clinical conventions or repository contracts---and \textbf{75.1\%} attempt blocked upstream lookups, underscoring the need for hardened sandbox isolation.
Create a lesson
Metadata
- Categories
- cs.SE, cs.AI
Related papers
Does Training-Free Delegation Improve Cost Efficiency in Multi-Agent Software Engineering Systems? An Empirical Study
Shared title terminologycs.SEMootez Saad, Mohammad Masudur Rahman, Tushar Sharma
SWE-GPU-Bench: Can Language Models Solve Real-World GPU Software Engineering Tasks?
Shared title terminologycs.SEFeng Chen, Binbin Liu, Wenhan Han et al.
Repairing Model Context Protocol Software: Fix Patterns, Benchmark, and Agent Evaluation
Shared title terminologycs.SEMina Taraghi, Mohammad Mehdi Morovati, Foutse Khomh
Useful but Unwieldy: How Software Engineers Perceive the Design of Chain-of-Thought Explanations in Coding Agents
Shared title terminologycs.SECarlos Rafael Catalan, Lheane Marie Dizon, Patricia Nicole Monderin et al.
Tracing Decisions to Value: Measuring What People Contribute When Agents Build Software
Shared title terminologycs.SEShyam Agarwal, Hideaki Hata, Andrew Macvean et al.
A Causal Loop Diagram supporting tool to bridge System Thinking and Software Engineering
Shared title terminologycs.SEThiago Felippe Neitzke Lahass, Júlia de Souza Borges, Amanda B. Apolinário et al.