# DoctorGym: Beyond Complete-Chart Shortcuts---Benchmarking Clinical Agents from Autonomous Diagnostic Inquiry to Verified Order Execution

> DoctorGym benchmarks clinical agents from test selection to verified EHR orders across 10 tracks and three interfaces. On the same 228 patients, six frontier models scored 99.6–100% on supplied-lab grading but completed autonomous workups at 46.9–89.0%.

- arXiv: https://arxiv.org/abs/2612.03266
- Authors: Ziqian Wang, Jinli Suo
- Published: 2026-12-03
- Topic: Agents
- Visual carousel: https://instaxiv.com/p/2612.03266
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## A complete chart can hide the choice of what to test

**53.1 pp** max gap, 6 models: chart grade vs workup, N=228

## The benchmark starts before the chart is complete

**Complete-chart shortcut:** Many medical benchmarks provide a complete chart, so agents interpret measurements whose selection has already been made.

**DoctorGym's scope:** DoctorGym's frozen suite has 10 tracks and 19,297 instances; its standing-order replay uses Model Context Protocol (MCP) tools, semantic DOM, and native OpenEMR 8.5.0.

It measures evidence seeking as well as interpretation.

## Near-perfect grading masks autonomous-workup misses

![Figure 2](https://cdn.instaxiv.com/figures/2612.03266/figure2.webp)

Panel (a), same 228 MIMIC-IV patients: six frontier models got both supplied potassium grades right in 99.6–100%, but completed 46.9–89.0% of autonomous workups; most failures were premature deferrals. (Figure 2)

## When does an EHR action count as grounded?

1. **Acquire**: Record whether the post-release target report was delivered before commitment.
2. **Document**: Require an accepted signed note with the released value and source ID, or an explicit unavailable status in the Masked arm.
3. **Commit**: Check that a valid maintain, defer, add, replace, or discontinue action was submitted and matched the signed plan.
4. **Ledger**: Independently read back persisted state to distinguish a mutation from continuation; require clean session termination.

## Order counts hide evidence use

**Qwen3.6-27B & Qwen3.8-27B:** Across 16 pre-release MCP standing-order cases, both used identical settings: FP8, greedy decoding, thinking disabled, a 20-call cap, and 512 tokens per call. Each submitted all 16 decisions and changed 8 active orders.

**Evidence after retrieval:** Only 1/8 vs. 4/8 order changes followed report retrieval; evidence-grounded closures were 2/16 vs. 10/16. Without retrieval, notes cited a baseline potassium value that differed from the repeat in 12/14 vs. 5/6 cases, respectively.

An order change alone cannot show whether the new result was read.

## Multi-task supervised fine-tuning (SFT) splits two skills

![Figure 4](https://cdn.instaxiv.com/figures/2612.03266/figure4.webp)

Rows: autonomous workup completion; columns: joint supplied-lab grades. Qwen3.5-4B, Base→SFT, same 228 patients (no training overlap): workups 153→162/228; grades 162→154/228. Only 1/23 new workups also gained grading. (Figure 4)

## What this benchmark does not establish

- **Small standing-order sample**: Controlled multi-turn replay used 16 primary patients from a 48-patient potassium-replacement cohort, with few historical prescription additions.
- **No clinical-optimality verdict**: Retrospective replay checks evidence grounding and order execution, not which of several medically defensible regimens is best.
- **Generalization remains open**: Bootstrap intervals describe sampling variability in assessed cohorts, not transfer to external hospitals, other drug classes, or multiple training seeds.
- **Simulation, not deployment**: Ledgers are isolated research simulations, not live prescribing; retrospective replay also omits counterfactual physiological responses.

Best used when: Use it to diagnose evidence-acquisition, documentation, and order-execution failures, not to certify clinical decisions.

## Key takeaways

- High complete-chart accuracy can conceal weak autonomous test selection.
- Score evidence acquisition, documentation, commitment, and persisted order state separately.
- Will these gaps persist across hospitals, other drug classes, broader cohorts, and training seeds?

## Links

- arXiv: https://arxiv.org/abs/2612.03266
- PDF: https://arxiv.org/pdf/2612.03266
- Code: https://github.com/Daerwang2020/DoctorGym
- Hugging Face: https://huggingface.co/datasets/Ziqianwwww

## Citation

```bibtex
@article{wang2026doctorgym,
  title   = {DoctorGym: Beyond Complete-Chart Shortcuts---Benchmarking Clinical Agents from Autonomous Diagnostic Inquiry to Verified Order Execution},
  author  = {Wang, Ziqian and Suo, Jinli},
  journal = {arXiv preprint arXiv:2612.03266},
  year    = {2026},
  url     = {https://arxiv.org/abs/2612.03266}
}
```
