학술

RBioBench: an execution-based benchmark for biomedical R code generation

arXiv CS.AI
CC BY
이 매체는 공공·자유 라이선스로 본문을 직접 표시합니다.

Abstract

Language models and coding agents increasingly generate R code for biomedical analyses, but reliable results require more than code that runs. Existing benchmarks rarely compare outputs with reference results or distinguish execution failures from silent errors that produce plausible but incorrect results. We introduce RBioBench, a benchmark of 296 Bioconductor and Pharmaverse tasks with hidden reference outputs and diagnostic tools that separate interface errors, which prevent code from running, from silent errors. Evaluated directly across all tasks, the best-performing model passes 55.4%; most clinical-task crashes stem from nonexistent functions or arguments. Agents that execute and revise code achieve pass rates of up to 82.4%, primarily by correcting interface errors, yet 25% of their error-free runs still generate incorrect outputs. These findings suggest that execution feedback helps agents learn how to use scientific software more than what analyses to perform. RBioBench offers a benchmark and a verifier for self-correcting scientific agents.
Additional Features

관련 뉴스