The dataset could not be loaded because the splits use different data file formats, which is not supported. Read more about the splits configuration. Click for more details.
Error code: FileFormatMismatchBetweenSplitsError
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
RBioBench
An execution-based benchmark for biomedical R code generation (v1.2, 296 tasks).
Language models and coding agents increasingly write R code for biomedical analyses. Such code can fail in two ways:
- Interface error: the R script stops with an error (for example, a function or argument that does not exist).
- Silent error: the script runs without error but its outputs differ from the reference.
RBioBench measures both. Each task gives a natural-language instruction and input files. The R script runs in a locked Docker image (docker.io/xihaopark/r_code@sha256:599df2c5eddc8cf52a7503db875582c81864896f11c8e715ed7af960e01e3c14, no network), and a checker compares every output file with a hidden reference output. An attempt passes only if every expected file matches.
| Track | Tasks | Packages |
|---|---|---|
| Clinical Study | 147 | Pharmaverse (admiral, rtables, aNCA, ...) |
| Bioinformatics | 149 | Bioconductor (genefilter, Seurat, ...) |
What is in this repository
tasks/
tasks.csv one row per task
<track>/<public_id>/
prompt.txt the task instruction given to every system
task.json metadata (package, level, expected outputs)
schema.json output contract
inputs/ input files, read from inputs/ by the script
results/
summary.json task-level pass counts per setting and track
<setting>/
results.csv one row per generated script
code/<public_id>/sample_XX.R the generated script as saved
Reference outputs and reference solutions are withheld so that they do not enter model training data and cannot be optimized against directly (as for the GAIA test set). The authors can grade submitted outputs on request.
Result packages
Complete result packages for two models, each used directly and within an agent:
| Setting | Metric | Clinical Study | Bioinformatics |
|---|---|---|---|
gpt-5.5_direct |
pass@3 | 64/147 (43.5%) | 78/149 (52.3%) |
gpt-5.5_codex-cli (Codex CLI) |
pass@1 | 127/147 (86.4%) | 95/149 (63.8%) |
glm-5.2_direct |
pass@3 | 52/147 (35.4%) | 90/149 (60.4%) |
glm-5.2_mini-swe-agent (30 steps) |
pass@1 | 123/147 (83.7%) | 106/149 (71.1%) |
Direct settings have three independent samples per task (sample_00–sample_02); a task counts as passed if any sample passes. Agent settings have one submitted script per task.
results.csv columns:
outcome:pass,interface_error(the script exited with an error),silent_error(the script ran but an output was missing or differed from the reference) orno_code;passed: 1 if the attempt passed;returncode: exit code ofRscript;code_file: path of the generated script;r_error_tail: the end of the R error message for interface errors (evaluator log lines removed).
Comparison details against the reference outputs are not released. Direct-model scripts are saved as returned by the model; a few contain the full response, from which the evaluator extracted the R code block.
Notes
- Input files derive from public package example data and simulated clinical datasets; they remain subject to the licenses of their source packages.
- For one task (BIO_0149), one expected output is the unmodified input Seurat object; the other expected output (the marker table) is withheld.
Citation
Piao, X. et al. RBioBench: an execution-based benchmark for biomedical R code generation (2026). Preprint to appear on arXiv.
- Downloads last month
- 27