Diagnosing Before the Answer: A Gated Environment for Evaluating LLM Agents on Real Emergency Chest-Pain Encounters
Large language models (LLMs) are increasingly evaluated on clinical diagnosis, but mostly on curated cases written after the answer was known, with closed label sets and accuracy as the only measure. Although this evaluation paradigm can measure LLM capabilities in a human-like way, it is far removed from clinical practice. To narrow this gap, we present EDBench-CP, a benchmark that turns 9{,}302 real emergency department chest-pain encounters from MIMIC-IV into an interactive environment, which contains beginning (history of present illness), process (examinations), and ending (diagnosis). In this environment, the agent needs to start from the triage record and arrival information, assess the patient's condition and order different tests, and based on the test results choose whether to continue testing or provide a diagnosis. To better reflect reality, diagnoses are given in free-text format, so we introduced LLM-as-a-judge, where the LLM scores the results according to a rubric calibrated by physicians. Across ten open-weight models, we find systematic gaps in choosing evidence, deciding when to stop, and recognising high-risk disease. Even the best agent is correct on only about half of the encounters, and every model misses 24\% to 45\% of time-critical diagnoses.