Back

Mind the Alignment Gap: A Spatial Transcriptomics Benchmark for Scientific Coding Agents

Chen, Y. T.; Hicks, S. C.

2026-07-09 bioinformatics
10.64898/2026.07.05.736638 bioRxiv
Show abstract

Scientific coding agents are difficult to benchmark because many research tasks require executable work yet produce ambiguous or hard-to-verify outputs. Because benchmark construction requires substantial time and resources, automation offers a path to accelerating methods evaluation. We introduce an interactive framework for constructing scientific-agent benchmarks from peer-reviewed papers and diagnosing agent behavior through trace inspection. We apply it as a case study in spatial transcriptomics alignment, constructing 40 tasks from SABench in which agents submit coordinate tables aligning pairs of two-dimensional tissue slices. Across 120 runs and three configurations, we compare a basic prompt, a package-aware prompt, and a full prompt with a prebuilt virtual environment. In this setting, richer package and environment context increased tool exploration but reduced the mean alignment score relative to the basic prompt (0.36 vs. 0.43; 95% CI, [-0.11,-0.03]). Trace inspection showed that added scaffolding often induced unnecessary transformations, fragile package-first workflows, and infrastructure failures. These results illustrate how specialized tooling can alter agent behavior and why scientific-agent benchmarks should evaluate agent traces and the workflows that produce them in addition to the final outputs.

Matching journals

The top 7 journals account for 50% of the predicted probability mass.

1
Bioinformatics
1204 papers in training set
Top 2%
11.7%
2
Genome Biology
637 papers in training set
Top 0.9%
10.4%
3
PLOS Computational Biology
1863 papers in training set
Top 5%
6.6%
4
Cell Systems
201 papers in training set
Top 0.6%
6.6%
5
GigaScience
212 papers in training set
Top 0.6%
5.4%
6
BMC Bioinformatics
457 papers in training set
Top 2%
4.8%
7
Briefings in Bioinformatics
354 papers in training set
Top 2%
4.8%
50% of probability mass above
8
Nature Communications
5641 papers in training set
Top 31%
4.2%
9
Nature Methods
385 papers in training set
Top 2%
4.0%
10
eLife
5828 papers in training set
Top 30%
4.0%
11
PLOS Biology
486 papers in training set
Top 1%
3.5%
12
Bioinformatics Advances
203 papers in training set
Top 2%
3.2%
13
NAR Genomics and Bioinformatics
242 papers in training set
Top 2%
2.3%
14
PLOS ONE
5266 papers in training set
Top 45%
2.1%
15
Scientific Reports
3612 papers in training set
Top 51%
1.9%
16
Molecular Biology of the Cell
311 papers in training set
Top 2%
1.7%
17
Cell Reports Methods
165 papers in training set
Top 2%
1.5%
18
Nucleic Acids Research
1281 papers in training set
Top 10%
1.3%
19
Journal of the American Medical Informatics Association
71 papers in training set
Top 2%
1.1%
20
Patterns
78 papers in training set
Top 2%
1.0%
21
Molecular Systems Biology
162 papers in training set
Top 3%
1.0%
22
iScience
1154 papers in training set
Top 31%
1.0%
23
Proceedings of the National Academy of Sciences
2444 papers in training set
Top 42%
0.8%
24
PeerJ
308 papers in training set
Top 13%
0.6%
25
Genome Research
468 papers in training set
Top 7%
0.6%
26
The American Journal of Human Genetics
234 papers in training set
Top 3%
0.6%
27
Life Science Alliance
285 papers in training set
Top 9%
0.6%