M4Bench: Evaluating Procedural Specification for Clinical EHR Derivation Agents
TL;DR - M4Bench evaluates AI coding agents on 28 clinical EHR derivation tasks, finding that clinician-reviewed skills improve performance mainly by providing complete operational specifications. However, strict task completion remains rare, highlighting substantial reliability gaps.
- Skills improved Codex reward by 0.136, with gains on 26 of 28 tasks.
- Operational specifications explained most improvement; skill formatting added no statistically distinguishable benefit.
- Schema obfuscation and restructuring retained 86% and 70% of skill gains, respectively.
- Only 25 of 280 skilled Codex runs passed every strict check, versus 13 of 280 without skills.