TRANSMISSION // 2612.03266v1

DoctorGym asks whether clinical AI can choose tests—and act on the results

Source published

A new benchmark finds that strong scores on supplied patient charts can hide weaknesses in choosing tests, using fresh results and completing electronic-record orders.

AI-generated conceptual illustration for DoctorGym asks whether clinical AI can choose tests—and act on the results
AI-generated conceptual illustration; not documentary evidence.

Clinical decisions begin before a test result appears: a clinician must decide what evidence to seek. DoctorGym tests whether AI agents can manage that inquiry and carry decisions through to verified electronic-record changes.

A patient chart can look complete when a benchmark hands an AI system all the relevant test results in advance. But in practice, deciding what to measure—and whether a new result should change an existing order—is part of the clinical problem. DoctorGym, a research benchmark introduced in a preprint by Ziqian Wang and Jinli Suo, is designed to test those steps rather than just ask models to interpret supplied information.

The researchers built 10 evaluation tracks containing 19,297 instances, drawing on several clinical and imaging datasets. They also created controlled electronic health record (EHR) tasks, including reassessment of existing potassium-replacement orders after a repeat blood test. Agents could interact through structured tools, a browser-style interface, or the native interface of OpenEMR 8.5.0.

DoctorGym checks more than an agent’s final answer. Its four-stage audit asks whether the agent acquired the new evidence, documented the result and its source, submitted a decision, and left the expected state in the order ledger—the record of active orders. This matters because a note saying “continue” does not prove that an order was actually submitted, while an unchanged order could mean either a deliberate decision or a failed attempt.

Supplied results and autonomous workups diverged

On 228 MIMIC-IV cases, six frontier models scored 227 or 228 correct when the relevant potassium results were supplied. When the same cases required the models to choose an initial test, completed workups ranged from 107 to 203. In the researchers’ analysis, most frontier-model failures in this task involved deferring before ordering the test needed to receive the target result. The comparison suggests that interpreting available evidence and deciding what evidence to obtain are distinct abilities in this benchmark; high performance on the first does not establish high performance on the second.

A separate test used 300 eICU cases and charged a small cost for each query. Every evaluated model spent queries, yet its reported cost-adjusted return fell below that of a simple baseline that made no queries and used a fixed risk estimate. This result is specific to the study’s scoring setup, not evidence that medical tests are generally unhelpful. It does show why an evaluation can ask whether information gathering improves decisions enough to justify its assigned cost.

Order changes did not always follow new evidence

In a controlled replay involving 16 patients with standing potassium orders, two 27-billion-parameter model checkpoints each changed eight orders. But the researchers found different levels of evidence-grounded action: only one of the first checkpoint’s eight changes, and four of the second’s, came after retrieving the new report. In many encounters without retrieval, agents’ notes cited an earlier potassium value. Counting changes alone would therefore have missed whether those changes followed the newly available result.

The interface itself also mattered. In one OpenEMR test, agents initially failed to open reports under the study’s pixel-based setup. The researchers’ subsequent interface adjustments improved some steps, illustrating that a failed workflow can reflect software-navigation or validation problems as well as a decision-making error. Those adjustments were diagnostic experiments, however, not a clean comparison planned in advance.

Training did not improve every measured skill at once. For the Qwen3.5-4B model, supervised fine-tuning increased completed autonomous workups from 153 to 162 of 228 cases, while correct grading when evidence was supplied fell from 162 to 154. Of 23 cases newly completed after training, only one also gained correct grading. The result cautions against treating improvement on one workflow measure as a general improvement in clinical reasoning.

What the benchmark can—and cannot—show

DoctorGym’s contribution is an evaluation framework that separates information gathering, documentation, decisions and persisted changes. Its results point to gaps that a final answer or database snapshot might conceal. They do not establish that the models are safe or unsafe in clinical care, or that a particular order was medically optimal.

The authors note that the detailed standing-order study covered a small, filtered group of potassium-replacement cases, with 16 patients in the main replay experiments. The retrospective replays reconstruct recorded timelines; they do not simulate how a patient’s physiology would respond to a changed treatment. Results may not transfer to other hospitals, medications or clinical workflows. The paper also describes the environments as research simulations and warns against connecting them to live prescribing systems.

DoctorGym is presented as an arXiv preprint, so its findings should be treated as preliminary rather than as settled clinical evidence. The benchmark can help researchers ask more demanding questions about AI agents, but performance in a simulated evaluation is not a substitute for clinical validation and oversight.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • MedUIGym tests whether AI can navigate clinical software

    Shared method: Both evaluate clinical agents through a graphical EHR interface alongside a structured tool interface, with outcomes checked against chart state: DoctorGym synchronizes MCP, semantic DOM and OpenEMR over an order ledger, while MedUIGym pairs screenshot-based GUI actions with native tools over the same records. The interface implementations and task scopes differ, so this is a shared evaluation design, not evidence of comparable performance.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2612.03266v1 — Original paper

      Excerpt reference: static/papers/2612.03266v1.md:199-273
      Basis: Paper text
      Source file SHA-256: 1a95d450a24341192b1405e2972d79e8a71b0405f298c50c459528d892f4fc26

    • 2611.30983v1 — Original paper

      Excerpt reference: static/papers/2611.30983v1.md:234-294
      Basis: Paper text
      Source file SHA-256: 5a00052c42dafde457ce2a1d8029bbb98688252e023bfbe447ae3f20d3b32b8c

  • Why chart-reading guidance can help AI—and still reveal errors

    Supporting evidence: Both studies show why outcome checks should distinguish process failures that can be obscured by a seemingly acceptable result. DoctorGym reports that an unchanged order can reflect either deliberate continuation or failed execution; PatientFlowSynth reports that failed retrieval can yield a correct insufficient-evidence label without examining relevant records. These are compatible, bounded examples from different simulated or retrospective evaluation settings, not directly comparable outcome rates.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2612.03266v1 — Original paper

      Excerpt reference: static/papers/2612.03266v1.md:93-198
      Basis: Paper text
      Source file SHA-256: 1a95d450a24341192b1405e2972d79e8a71b0405f298c50c459528d892f4fc26

    • 2611.31521v1 — Original paper

      Excerpt reference: static/papers/2611.31521v1.md:378-534
      Basis: Paper text
      Source file SHA-256: 2a98aa386dc24c20b1cace9641e0314116e53535637095f989f4de9ebd256d74

    • 2611.31521v1 — Original paper

      Excerpt reference: static/papers/2611.31521v1.md:1026-1117
      Basis: Paper text
      Source file SHA-256: 2a98aa386dc24c20b1cace9641e0314116e53535637095f989f4de9ebd256d74

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.