Mahal Systems

Overview › Benchmark catalog

EHRAgent (EHRSQL-derived agent evaluation)

Fits data-retrieval agents that let clinicians ask questions of structured EHR tables in plain language. Borrow the code-as-plan action format, the interactive debugging loop, and the question complexity levels (number of tables joined).

What it asks the agent to do

  • answer a clinician's question over multi-table EHR data by writing and running code
  • find and join records across patient, admission, lab and prescription tables
  • compute aggregates such as counts, averages or survival rate
  • repair generated code from execution error messages

What to borrow from it

case templatebaseline

Caveats

A method paper whose evaluation set is a re-processed slice of EHRSQL (580 MIMIC-III, 580 eICU, 996 TREQS questions) distributed through a Google Drive link; the underlying MIMIC-III and eICU databases need PhysioNet credentialed access; no license file in the repo; success rate is a single exact-match answer check.

Details

Workloadshealthcare, sql, data analysis, tool calling
Interactionautonomous long horizon
Environmentdatabase
End state checkedNo
ToolsPython code executor, table lookup and SQL helper tools, medical knowledge lookup
Gradingexact match
Size2,156
Datareal public
Personal datapossible
Licenseunknown
Harnessown repo
Statusactive

Links