MedEvoEval: Evaluating Continual Evolution of Doctor Agents through Simulated Clinical Episodes
Summary
MedEvoEval is a longitudinal evaluation framework for doctor agents that simulates outpatient episodes, assessing how agents acquire evidence, use resources, and evolve across episodes through memory and reflection mechanisms.
View Cached Full Text
Cached at: 06/30/26, 05:32 AM
# MedEvoEval: Evaluating Continual Evolution of Doctor Agents through Simulated Clinical Episodes
Source: [https://arxiv.org/html/2606.28900](https://arxiv.org/html/2606.28900)
###### Abstract
Doctor agents are moving beyond single\-turn answer generation toward evolving clinical decision systems\. Within an outpatient episode, they acquire evidence, use examination and consultation resources, and decide when to finalize a diagnosis and management plan\. Across episodes, their behavior may change through memory, retrieval, reflection, or other update mechanisms\. Current evaluations only partially cover this setting\. Fixed\-input medical QA benchmarks score final answers from complete inputs, whereas many interactive benchmarks still focus on individual encounters or fixed runs, providing limited support for evaluating how episode\-level decisions interact with cross\-episode experience\. We introduceMedEvoEval, an executable longitudinal evaluation framework based on action\-gated simulated outpatient episodes\. Each source case is converted into role\-specific patient, examination, and manager views; evidence is revealed only through valid actions; and each episode records a structured trace that links observations, actions, final outputs, manager scores, and optional experience write\-back\. We release a runnable E&D artifact with 700 processed episodes, provenance notes, schemas, an episode runner, scoring scripts, configurations, example logs, analysis code, and trajectory\- and step\-level derivatives\. Experiments show that episode traces expose process costs hidden by final\-answer scoring, show how MDT\-style consultation reallocates resources, and support longitudinal analyses of memory maturation, held\-out transfer, update\-stage response, and backward retention\. Together, these results show thatMedEvoEvalprovides a concrete basis for evaluating whether doctor agents improve through experience, transfer useful behavior, and retain earlier capabilities over time\.
## 1Introduction
Doctor agents are increasingly evaluated as clinical decision systems rather than single\-turn answer generators\. In an outpatient episode, an agent must decide what to ask, which examinations to request, when to seek consultation, and when the available evidence is sufficient to support a diagnosis and management plan\. When memory, retrieval, reflection, or other update mechanisms are enabled, later decisions may also depend on prior episodes\. The evaluation target therefore shifts from a single medical answer to an evolving clinical decision process\.
Current evaluation practice only partially covers this target\. Fixed\-input medical QA benchmarks provide the complete clinical vignette upfront and score the final response against a reference answer\[[6](https://arxiv.org/html/2606.28900#bib.bib6),[17](https://arxiv.org/html/2606.28900#bib.bib17),[25](https://arxiv.org/html/2606.28900#bib.bib25)\]\. This format remains useful for measuring medical knowledge, but it leaves evidence acquisition, action validity, and resource use outside the evaluation\. Recent benchmarks have moved closer to clinical workflows by evaluating interactive reasoning, simulated consultations, tool use, and medical\-agent environments\[[26](https://arxiv.org/html/2606.28900#bib.bib26),[13](https://arxiv.org/html/2606.28900#bib.bib13),[1](https://arxiv.org/html/2606.28900#bib.bib1),[5](https://arxiv.org/html/2606.28900#bib.bib5),[16](https://arxiv.org/html/2606.28900#bib.bib16)\]\. Many of these settings, however, still evaluate individual encounters or fixed benchmark runs\. Once prior episodes can affect later decisions through memory or other updates, evaluation must also measure experience\-driven behavioral change across episodes\.
This evaluation problem has two coupled layers\. Within an episode, the evaluator must observe how the agent acquires evidence, uses resources, handles invalid or unavailable actions, and reaches a final diagnosis\. Across episodes, the evaluator must measure whether experience improves later behavior, whether the improvement transfers to unseen cases, and whether later updates preserve earlier\-stage performance\. These layers are linked in doctor\-agent evaluation: the trajectory that explains one episode can also become the experience source that influences later episodes\.
We introduceMedEvoEval, an executable longitudinal evaluation framework for doctor agents\. Each source case is converted into role\-specific patient, examination, and manager views\. During an outpatient episode, evidence is revealed only through valid actions such as inquiry and examination requests, and every action is recorded in an event trace\. After finalization, the manager scores the diagnosis, supporting evidence, and management plan\. Optional experience write\-back allows later episodes to retrieve compact memory records under controlled conditions, making experience reuse a measurable evaluation condition\.
We instantiate this protocol as a runnable E&D artifact and evaluate it with episode\-level and longitudinal studies\. The experiments show that traces expose hidden process costs, MDT\-style consultation mainly shifts resource allocation, and the longitudinal setup supports analysis of memory maturation, held\-out transfer, and backward retention under fixed execution rules\.
This paper makes three contributions\.MedEvoEvalformalizes doctor\-agent evaluation as a longitudinal episode\-level problem that links within\-episode decision traces with cross\-episode behavioral change\. The protocol defines fixed execution rules for information access, valid actions, evidence release, scoring, memory write\-back, and longitudinal analysis, making experience reuse and retention measurable under controlled conditions\.
We also release a runnable E&D artifact that instantiates the protocol\. The artifact includes a 700\-episode processed outpatient corpus, source attribution and provenance notes, schemas, an episode runner, configuration templates, scoring scripts, event logs, analysis code, and trajectory\- and step\-level derivatives for agent\-policy research\. These components support inspection from processed episode fields to event traces and aggregate metrics\.
Empirically,MedEvoEvalcaptures evaluation phenomena hidden by final\-answer scoring\. Across studies of model comparison, MDT\-style consultation, memory maturation, held\-out transfer, and update stability, the protocol separates clinical output quality from process cost, resource use, memory maturity, external transfer, and backward\-retention risk\.
## 2Related Work
#### Medical QA and fixed\-input evaluation\.
Medical QA benchmarks such as MedQA and MedMCQA evaluate exam\-style medical knowledge\[[6](https://arxiv.org/html/2606.28900#bib.bib6),[17](https://arxiv.org/html/2606.28900#bib.bib17)\], while medical LLM studies such as generalist foundation\-model evaluations and Med\-PaLM show progress toward expert\-level medical question answering\[[25](https://arxiv.org/html/2606.28900#bib.bib25),[15](https://arxiv.org/html/2606.28900#bib.bib15)\]\. More recent resources and studies broaden evaluation toward EHR\-like records and sequential diagnosis\[[7](https://arxiv.org/html/2606.28900#bib.bib7),[5](https://arxiv.org/html/2606.28900#bib.bib5),[16](https://arxiv.org/html/2606.28900#bib.bib16)\], while medical LLM work such as PMC\-LLaMA illustrates the growing model ecosystem\[[30](https://arxiv.org/html/2606.28900#bib.bib30)\]\. These evaluations remain important for measuring medical knowledge and final\-response quality\. Their fixed\-input format, however, provides most evidence upfront and therefore offers limited information about how an agent obtains the evidence used in its answer\. Table[1](https://arxiv.org/html/2606.28900#S3.T1)later contrasts fixed\-input medical QA with the information\-access, action\-validity, resource\-use, memory, stability, and auditability controls exposed byMedEvoEval\.
This distinction matters for doctor\-agent evaluation because two systems with similar final\-answer accuracy can follow different clinical paths\. One agent may ask targeted questions and request a small number of discriminative examinations, whereas another may rely on broad testing, premature finalization, or unsupported evidence\.MedEvoEvalevaluates the episode trajectory in addition to the final output, allowing outcome quality to be interpreted together with evidence acquisition and resource use\.
#### Interactive agents, tools, and medical simulation\.
General LLM\-agent research has explored reasoning\-action loops, tool use, modular tool routing, multi\-agent communication, and simulated social behavior\[[34](https://arxiv.org/html/2606.28900#bib.bib34),[20](https://arxiv.org/html/2606.28900#bib.bib20),[8](https://arxiv.org/html/2606.28900#bib.bib8),[21](https://arxiv.org/html/2606.28900#bib.bib21),[12](https://arxiv.org/html/2606.28900#bib.bib12),[31](https://arxiv.org/html/2606.28900#bib.bib31),[19](https://arxiv.org/html/2606.28900#bib.bib19),[27](https://arxiv.org/html/2606.28900#bib.bib27)\]\. Medical\-agent systems adapt these ideas to diagnosis, consultation, and clinical workflow\. MedAgents, MDAgents, MMedAgent, MedAide, AI Hospital, Agent Hospital, MedAgentBench, and MedAgentSim model collaboration, tool use, patients, examinations, EHR environments, or hospital\-like interactions\[[26](https://arxiv.org/html/2606.28900#bib.bib26),[9](https://arxiv.org/html/2606.28900#bib.bib9),[11](https://arxiv.org/html/2606.28900#bib.bib11),[29](https://arxiv.org/html/2606.28900#bib.bib29),[3](https://arxiv.org/html/2606.28900#bib.bib3),[13](https://arxiv.org/html/2606.28900#bib.bib13),[5](https://arxiv.org/html/2606.28900#bib.bib5),[1](https://arxiv.org/html/2606.28900#bib.bib1)\]\. MedAgentSim further studies self\-evolving multi\-agent clinical simulation with doctor, patient, and measurement agents plus experience buffers\[[1](https://arxiv.org/html/2606.28900#bib.bib1)\]\.
These systems move evaluation closer to clinical workflow by exposing parts of the within\-episode decision process\. A remaining challenge is to measure how interaction traces and experience mechanisms influence later decisions\.MedEvoEvaladdresses this challenge as an E&D evaluation artifact: it provides a released processed episode corpus, construction files, role\-specific schemas, gated evidence release, structured event logs, reproducible scoring, held\-out transfer tests, and update\-retention analysis\.
This artifact\-level control matters for medical\-agent evaluation\. Prompts, state transitions, information access, action validity, consultant authority, and memory exposure can all change the interpretation of an evaluation result\.MedEvoEvalmakes these components explicit in the benchmark interface, allowing episode execution, scoring, and longitudinal comparisons to be inspected\.
#### Efficient adaptation and biomedical deployment\.
Efficient adaptation and inference methods form a complementary line of work for making medical and multimodal agents practical under resource constraints\. Recent LoRA variants study low\-load sensitivity\-based fine\-tuning and faster rank allocation through hypernetworks\[[36](https://arxiv.org/html/2606.28900#bib.bib36),[37](https://arxiv.org/html/2606.28900#bib.bib37)\]; visual\-token pruning methods reduce multimodal context cost in large vision\-language models\[[39](https://arxiv.org/html/2606.28900#bib.bib39),[40](https://arxiv.org/html/2606.28900#bib.bib40)\]; and targeted prefill\-decode pruning addresses serving efficiency during inference\[[38](https://arxiv.org/html/2606.28900#bib.bib38)\]\. Biomedical model development also includes domain\-specific architectures such as hierarchical multi\-scale MRI feature fusion for multi\-center major depressive disorder classification\[[2](https://arxiv.org/html/2606.28900#bib.bib2)\]\. These studies are orthogonal toMedEvoEval: they improve the efficiency or domain capability of candidate systems, while our benchmark evaluates how such systems acquire evidence, use resources, and evolve across simulated clinical episodes\.
#### Memory, retrieval, and continual evaluation\.
Continual learning studies adaptation under sequential data while preserving earlier capabilities\[[14](https://arxiv.org/html/2606.28900#bib.bib14),[18](https://arxiv.org/html/2606.28900#bib.bib18),[28](https://arxiv.org/html/2606.28900#bib.bib28),[32](https://arxiv.org/html/2606.28900#bib.bib32),[22](https://arxiv.org/html/2606.28900#bib.bib22)\]\. For LLM agents, lightweight adaptation often relies on retrieval, reflection, experience replay, or rule accumulation rather than parameter updates\[[10](https://arxiv.org/html/2606.28900#bib.bib10),[4](https://arxiv.org/html/2606.28900#bib.bib4),[24](https://arxiv.org/html/2606.28900#bib.bib24),[35](https://arxiv.org/html/2606.28900#bib.bib35),[23](https://arxiv.org/html/2606.28900#bib.bib23),[33](https://arxiv.org/html/2606.28900#bib.bib33)\]\. Medical simulators have begun to show that memory can improve average performance\[[13](https://arxiv.org/html/2606.28900#bib.bib13),[1](https://arxiv.org/html/2606.28900#bib.bib1)\]\. For doctor agents, however, average improvement is only one part of the evaluation problem\. A useful protocol should also test whether experience reduces process cost, transfers to unseen cases, remains stable after updates, and avoids backward degradation\.MedEvoEvalbrings these requirements into a single medical\-agent evaluation setting by combining controlled evidence access within episodes with longitudinal measurements of experience\-driven change across episodes\.
## 3MedEvoEval: An Executable Evaluation Protocol
MedEvoEvalevaluates doctor agents as evolving clinical decision systems through standardized, executable outpatient episodes\. As shown in Figure[1](https://arxiv.org/html/2606.28900#S3.F1), a source case first enters the system as a structured clinical record and is converted into role\-specific patient, examination, and manager views\. The case is then executed as an action\-gated outpatient episode\. At runtime, the doctor starts from a brief opening complaint rather than the full patient view, gathers patient facts through inquiry, requests examinations through a controlled test interface, optionally consults an MDT\-style advisor, and finally submits a diagnosis, supporting evidence, management plan, and follow\-up\. After finalization, the manager scores the output, the system records structured event logs, and compact experience records may be written back for later episodes\. Across the resulting episode sequence,MedEvoEvalanalyzes improvement, held\-out transfer, update retention, and backward degradation\.
The protocol turns the two\-layer evaluation problem introduced in Section[1](https://arxiv.org/html/2606.28900#S1)into an executable procedure\. Within each episode, it controls what information the doctor can observe and which actions can reveal new evidence\. Across episodes, it records trajectories, manager feedback, and optional experience write\-back so that later behavior can be evaluated as a function of prior experience\. The environment models outpatient first\-visit diagnostic episodes because this setting has a clear clinical boundary while preserving the key properties removed by fixed\-input QA: partial initial information, active evidence acquisition, explicit resource use, and controlled experience updates\.
Figure 1:Overview of MedEvoEval\. Source cases are transformed into role\-specific episode views, executed as action\-gated clinical episodes, scored by the manager, recorded as event logs with memory write\-back, and analyzed longitudinally for improvement, transfer, update retention, and backward degradation\.#### Design goals\.
The framework is built around role\-specific observability, gated evidence release, separate measurement of outcome and process, and longitudinal adaptation analysis\. These requirements make unnecessary tests, missed questions, hallucinated findings, memory shortcuts, and backward degradation visible in the evaluation record\.MedEvoEvalcontrols what evidence is visible, which actions are valid, how many turns and tests are used, whether memory is available, and how transfer or update stability is measured\.
Table 1:WhatMedEvoEvalcontrols beyond fixed\-input medical QA\.
### 3\.1Role\-Specific Episode Views
Each case is represented as three role\-specific views:
ci=\(Vipatient,Viexam,Vimanager\)\.c\_\{i\}=\(V\_\{i\}^\{\\mathrm\{patient\}\},V\_\{i\}^\{\\mathrm\{exam\}\},V\_\{i\}^\{\\mathrm\{manager\}\}\)\.This representation is both a data format and the access\-control mechanism that makes each episode executable\. The patient view contains demographics, chief complaint, history, and facts that can be revealed through consultation; the examination view maps allowed test names to examination results that remain hidden until explicitly requested; and the manager view contains the reference diagnosis, acceptable aliases, evidence rubrics, and management rubrics used after finalization for scoring and feedback\. The doctor observes only the current visible state and never directly accesses unrevealed examination fields, manager\-side rubrics, or provenance metadata\. The transformation pipeline converts existing source cases into this three\-view representation by separating consultation\-revealed patient facts from examination\-only findings, normalizing test names against a controlled catalog, and constructing manager\-side rubrics for diagnosis, evidence, and management\. Each transformed episode retains source metadata for attribution and downstream source requirements, and the released construction files preserve an audit path from the source manifest to processed episode fields\. Appendix[B\.1](https://arxiv.org/html/2606.28900#A2.SS1)gives the role\-specific schema and a synthetic sample\.
### 3\.2Action\-Gated Evidence Acquisition
The doctor selects from four structured actions:
𝒜=\{ASK,REQUEST\_TEST,CALL\_MDT,FINALIZE\}\.\\mathcal\{A\}=\\\{\\texttt\{ASK\},\\texttt\{REQUEST\\\_TEST\},\\texttt\{CALL\\\_MDT\},\\texttt\{FINALIZE\}\\\}\.ASKsends a question to the patient simulator, which answers only from the patient\-visible facts\.REQUEST\_TESTqueries the examination service for a specific catalog item; a result is returned when the requested test is available for the current case, and unavailable or invalid requests are recorded\.CALL\_MDToptionally invokes a consultant and is disabled when the experiment isolates single\-doctor memory\.FINALIZEterminates the episode and requires a final diagnosis, supporting evidence, a management plan, and follow\-up\.
After each action, the environment updates the observable history and records the event\. The next doctor decision is conditioned on the accumulated observable history\. Resource limits, including the maximum number of consultation turns and the maximum number of tests, are specified in configuration files\. These constraints allow different agents and conditions to be compared under the same visible state, action space, evidence\-release rules, and resource budget\.
### 3\.3Event Traces and Manager Scoring
Each episode produces both a final clinical output and a process trace\. The JSONL event log records the turn index, action type, question or requested test, returned\-result status, MDT status, termination reason, final outputs, judge scores, and memory write\-back status\. These fields connect episode execution to later measurement: turn counts and examination counts come from the action trace, invalid\-test rates come from test\-return status, diagnosis and management scores come from manager\-side judging, and memory effects can be inspected against the retrieved cards shown to the doctor\.
Manager scoring is applied afterFINALIZE\. The manager evaluates the submitted diagnosis, supporting evidence, management plan, and follow\-up against the manager\-side rubric\. This process produces normalized diagnosis, evidence, and management scores, together with auxiliary indicators such as strict correctness, pass/fail status, and unsafe or unsupported elements\. The trace therefore supports decomposition of a low utility score into weak diagnosis, unsupported evidence, long consultation, excessive examination use, or invalid test requests\.
### 3\.4Experience Write\-Back and Cross\-Episode Evaluation
The same trace creates the longitudinal link between one episode and later episodes\. After scoring, the manager may write compact rule\-like cards into success and failure\-correction memory banks\. Success cards capture reusableIF \.\.\. THEN \.\.\.patterns, correction cards captureIF \.\.\. AVOID \.\.\.failure modes, and rule cards capture action conditions such asACTION=ASK,ACTION=REQUEST\_TEST,ACTION=CALL\_MDT, orACTION=FINALIZE\. Before later decisions, the doctor retrieves the top\-KKrelevant cards and appends them to the current context\.
We treat retrieve\-and\-replay memory as a controlled evaluation condition\. Memory can be disabled, initialized as empty, or pre\-populated from previous stages while the doctor model, patient simulator, test catalog, scoring rubric, and case stream remain fixed\. This design isolates experience reuse from model choice, patient simulation, examination availability, and scoring changes\. It also provides the basis for longitudinal comparisons of memory maturation, held\-out transfer, update response, and backward retention\.
### 3\.5Released Artifact
For the experiments, we use a 700\-case processed episode corpus released in the accompanying artifact asChinese MedEvoEval\-MedQA\-700\. The corpus is split into 500 longitudinal\-stream cases, 100 held\-out transfer cases, and 100 cross\-sectional cases; the 80\-case model\-comparison set is sampled from the cross\-sectional pool\. The artifact includes the processed corpus, construction files, schemas, runner, configurations, scoring scripts, logs, analysis scripts, and source notes\. Appendix[A](https://arxiv.org/html/2606.28900#A1)summarizes the artifact inventory\.
## 4Evaluation Protocol
The metrics follow the two\-layer structure ofMedEvoEval\. Episode\-level metrics evaluate clinical output quality and process cost within a single encounter\. Longitudinal metrics evaluate how experience changes later behavior across encounters, including transfer to unseen cases and retention after updates\. Each episode produces a structured final output and an event log\. The final output is used to score diagnosis, evidence, and management, while the event log is used to compute interaction turns, examination use, invalid actions, and memory exposure\. Full rubrics, parsing rules, parameter settings, and sensitivity checks are provided in Appendix[C](https://arxiv.org/html/2606.28900#A3)\.
#### Episode\-level outcome\.
For episodeii, the manager assigns three normalized scores: diagnostic qualitySidiagS\_\{i\}^\{\\mathrm\{diag\}\}, evidence consistencySieviS\_\{i\}^\{\\mathrm\{evi\}\}, and management qualitySiplanS\_\{i\}^\{\\mathrm\{plan\}\}\. The diagnostic score uses a graded rubric, while evidence and management scores compare the final structured output with manager\-side rubric points\. The total outcome score is
Si=0\.5Sidiag\+0\.3Sievi\+0\.2Siplan\.S\_\{i\}=0\.5S\_\{i\}^\{\\mathrm\{diag\}\}\+0\.3S\_\{i\}^\{\\mathrm\{evi\}\}\+0\.2S\_\{i\}^\{\\mathrm\{plan\}\}\.We also report strict diagnostic accuracy and pass rate\. Strict accuracy indicates whether the normalized final diagnosis matches an acceptable reference diagnosis\. Pass rate counts episodes whose total outcome score reaches the predefined threshold,Si≥0\.7S\_\{i\}\\geq 0\.7\.
#### Process cost and utility\.
Process metrics are computed from event logs\. LetTiT\_\{i\}denote the number of non\-final interaction actions, including inquiry, examination requests, and consultation when enabled\. LetEiE\_\{i\}denote the number of requested examinations, and letRiR\_\{i\}denote the invalid\-test rate, covering unavailable, unparseable, redundant, or low\-value examination requests\. We summarize the outcome\-cost trade\-off with a fixed utility score:
Ui=0\.6Si−0\.2\(Ti/Tmax\)−0\.1\(Ei/Emax\)−0\.1Ri\.U\_\{i\}=0\.6S\_\{i\}\-0\.2\(T\_\{i\}/T\_\{\\max\}\)\-0\.1\(E\_\{i\}/E\_\{\\max\}\)\-0\.1R\_\{i\}\.Utility represents benchmark performance under a fixed outcome\-cost weighting\. We reportUiU\_\{i\}together with its components so that outcome quality, turns, examinations, and invalid\-test behavior remain separately inspectable\.
#### Experience reuse and held\-out transfer\.
For longitudinal analysis, a case stream is partitioned into ordered stagesW1,…,WMW\_\{1\},\\ldots,W\_\{M\}\. For any episode\-level metricZiZ\_\{i\}, the stage mean is
Z¯m=1\|Wm\|∑i∈WmZi\.\\bar\{Z\}\_\{m\}=\\frac\{1\}\{\|W\_\{m\}\|\}\\sum\_\{i\\in W\_\{m\}\}Z\_\{i\}\.Held\-out transfer measures whether experience accumulated on the longitudinal stream improves behavior on unseen cases\. The same held\-out case set is evaluated under two memory conditions:H0H\_\{0\}runs the held\-out cases without loading a mature memory bank, whereasH3H\_\{3\}runs the same cases after loading the mature memory accumulated from the longitudinal stream\. Thus, the comparison asks whether the mature memory learned from earlier episodes transfers to new cases rather than only improving replay on the original stream\. For any metricZZ,
ET\(Z\)=Z¯H3−Z¯H0\.\\mathrm\{ET\}\(Z\)=\\bar\{Z\}\_\{H\_\{3\}\}\-\\bar\{Z\}\_\{H\_\{0\}\}\.Positive transfer in outcome or utility indicates better held\-out performance, while negative transfer in turns or examinations indicates lower process cost\.
#### Update retention\.
To measure whether later updates preserve earlier\-stage performance, we evaluate earlier stages after the system has been updated through later stages\. LetAk,j\(Z\)A\_\{k,j\}^\{\(Z\)\}be the value of metricZZon stagejjafter the system has been updated through stagekk\. For higher\-is\-better metrics, backward transfer is
BWT\(Z\)=1K−1∑j=1K−1\(AK,j\(Z\)−Aj,j\(Z\)\)\.\\mathrm\{BWT\}\(Z\)=\\frac\{1\}\{K\-1\}\\sum\_\{j=1\}^\{K\-1\}\\left\(A\_\{K,j\}^\{\(Z\)\}\-A\_\{j,j\}^\{\(Z\)\}\\right\)\.Negative values indicate backward degradation\. We report BWT primarily forSSandUUto keep the sign convention consistent\.
#### Statistical comparisons\.
Most comparisons use paired case sets\. For continuous or ordinal metrics, including total outcome score, utility, turns, examination count, invalid\-test rate, and diagnostic quality, we report paired differences and use Wilcoxon signed\-rank tests\. For paired binary outcomes such as strict diagnostic correctness and pass/fail status, we use exact McNemar tests\. Mean estimates and paired differences are accompanied by 95% bootstrap confidence intervals computed by resampling cases while preserving the pairing\.
## 5Experiments
The experiments are staged to answer progressively broader evaluation questions\. Section[5\.1](https://arxiv.org/html/2606.28900#S5.SS1)first tests whether episode traces expose differences hidden by answer\-only scoring\. Section[5\.2](https://arxiv.org/html/2606.28900#S5.SS2)then treats MDT consultation as a controlled process intervention with the primary doctor fixed\. Section[5\.3](https://arxiv.org/html/2606.28900#S5.SS3)finally asks whether experience reuse matures on the stream, transfers to held\-out cases, and remains stable after an update\.
Unless otherwise specified, episodes useTmax=10T\_\{\\max\}=10,Emax=3E\_\{\\max\}=3, seed 7, the same runner, the same scoring rules, and the split described in Section[3](https://arxiv.org/html/2606.28900#S3)\. Across conditions, we use paired case sets, common case order, fixed action limits, and identical scoring code\. The patient simulator and manager are held fixed within each study, and memory is enabled only in experiments where experience reuse is the variable under study\.
Figure 2:MedEvoEvalexperiment overview\. \(A\) Episode traces expose outcome and process metrics beyond answer\-only scoring\. \(B\) MDT\-style consultation tests resource reallocation with the primary doctor fixed\. \(C\) Mature memory is evaluated on the longitudinal stream and held\-out transfer cases\. \(D\) Update\-retention diagnostics separate adaptation from backward degradation\.### 5\.1What Does the Episode Trace Add Beyond Final\-Answer Scoring?
As shown in Figure[2](https://arxiv.org/html/2606.28900#S5.F2)\(A\), this experiment asks what final\-answer scoring leaves unobserved\. We compare four API\-accessible doctor models on the same 80 outpatient episodes with memory and MDT disabled\. Table[2](https://arxiv.org/html/2606.28900#S5.T2)contrasts an answer\-only projection with the full episode trace: the trace columns retain the same outcome scores and add utility, turns, examinations, and invalid\-test rate\.
Table 2:Answer\-only projection and episode\-trace metrics on 80 shared episodes\. Trace columns additionally expose process cost\.#### Episode traces expose process cost\.
The trace view reveals differences that answer\-only scoring does not show\. GLM\-5 obtains the highest total score and utility in this subset\. Kimi\-K2\.5 achieves strong outcome quality, but it uses more examinations and has a higher invalid\-test rate\. Qwen3\.5\-122B\-A10B requests fewer examinations, but it uses more turns and obtains lower outcome quality\. These patterns decompose final\-answer quality, examination behavior, invalid actions, and utility\. Appendix[D\.2](https://arxiv.org/html/2606.28900#A4.SS2)reports confidence intervals and paired deltas\.
### 5\.2Does MDT Change Diagnostic Quality or Resource Allocation?
As shown in Figure[2](https://arxiv.org/html/2606.28900#S5.F2)\(B\), this experiment uses MDT\-style consultation as a process intervention\. We keep the primary doctor fixed as Qwen\-Turbo and compare three conditions on 100 shared episodes: no MDT, same\-model MDT, and stronger\-consultant MDT\. This design isolates consultation from changes in the primary doctor model\. Full paired results are reported in Appendix[D\.3](https://arxiv.org/html/2606.28900#A4.SS3)\.
#### MDT changes resource allocation more than diagnostic accuracy\.
In the Qwen\-Turbo setting, MDT\-style consultation mainly changes resource allocation\. Strict accuracy and total score remain close across conditions, while examination use decreases from 1\.37 tests per episode to 0\.66 and 0\.63 under MDT, accompanied by more consultation turns\. The trace shows where the intervention acts: it shifts the process away from examinations and toward consultation, while final diagnostic accuracy changes little\.
### 5\.3Does Experience Reuse Improve, Transfer, and Retain?
As shown in Figure[2](https://arxiv.org/html/2606.28900#S5.F2)\(C,D\), the main finding is that experience reuse is useful only after it becomes a mature resource: it improves the longitudinal stream, transfers to held\-out cases, and introduces only mild backward degradation after later updates\. Table[3](https://arxiv.org/html/2606.28900#S5.T3)summarizes these three claims\.
We evaluate a single\-doctor agent without MDT over a 500\-case stream split into ten 50\-case stages\. E0 disables memory; E1 starts with empty memory; E2 and E3 reuse accumulated memory\. We then compare no mature memory \(H0\) with mature memory \(H3\) on 100 unseen cases, and use BWT to measure earlier\-stage retention after later adaptation\.
Table 3:Longitudinal memory, transfer, and update\-retention evidence\. Memory and transfer confidence intervals and paired tests are in Appendix[D\.4](https://arxiv.org/html/2606.28900#A4.SS4); update\-retention diagnostics are in Appendix[D\.5](https://arxiv.org/html/2606.28900#A4.SS5)\.#### Experience memory shows a maturity pattern\.
The key conclusion is that memory does not help much at cold start, but mature memory produces clear stream\-level gains\. E1 yields small cold\-start gains and increases interaction turns, indicating that new memory is not yet a strong reusable resource\. By E2 and E3, outcome score, utility, strict accuracy, and pass rate improve while turns decline\. From E0 to E3, total score rises from 0\.246 to 0\.430, strict accuracy from 0\.092 to 0\.342, and turns fall from 6\.134 to 5\.380; Appendix[D\.4](https://arxiv.org/html/2606.28900#A4.SS4)gives the full longitudinal summary\.
#### Held\-out transfer tests reusable experience\.
The held\-out result supports reusable experience rather than only repeated\-stream adaptation\. On the same 100 unseen cases, mature memory \(H3\) improves total score by 0\.075 and utility by 0\.067, while reducing turns by 0\.99\. Paired tests in Appendix[D\.4](https://arxiv.org/html/2606.28900#A4.SS4)show significant gains in total score, utility, turns, and non\-dangerous diagnosis rate\. Strict accuracy rises from 0\.290 to 0\.330, and pass rate from 0\.180 to 0\.260, consistent with compact memory cards that guide new episodes without revealing patient facts\.
#### Update response and retention measure stability\.
The update result shows adaptation during the shifted interval, with only mild loss on earlier stages afterward\. The update stream contains middle stages with shifted symptom combinations, examination dependencies, or case\-expression patterns\. Table[3](https://arxiv.org/html/2606.28900#S5.T3)summarizes performance before, during, and after the update interval; its BWT row reports final\-stage retention over nine earlier stages, with supporting diagnostics in Appendix[D\.5](https://arxiv.org/html/2606.28900#A4.SS5)\.
The update stages improve performance during the shifted interval for both G0 and G1, while post\-update performance differs across settings\. BWT gives the complementary retention view:BWTS=−0\.0087\\mathrm\{BWT\}\_\{S\}=\-0\.0087andBWTU=−0\.0103\\mathrm\{BWT\}\_\{U\}=\-0\.0103, indicating mild backward degradation\. Reporting update response and BWT together separates current\-stage adaptation from earlier\-stage retention\.
Together, these analyses evaluate whether experience matures, transfers, and preserves earlier\-stage performance\.
## 6Discussion, Limitations, and Ethics
The experiments support evaluating doctor agents at both levels\. Within episodes, similar final\-answer scores can hide different evidence\-acquisition paths, examination use, invalid actions, and unsupported\-evidence risks\. Across episodes, apparent improvement must be interpreted with transfer and retention, because memory and update mechanisms can change later behavior\.
For E&D, the main value ofMedEvoEvalis that the mechanism is executable and inspectable\. The released schemas, runner, configurations, event logs, scoring scripts, and analysis code show how evidence is revealed, actions are recorded, scores are computed, and longitudinal comparisons are derived\. The resulting audit trail can be reweighted, checked for invalid actions, rerun on the corpus, and used to compare memory policies under the same runner\.
MedEvoEvalbinds information access, action validity, resource use, memory exposure, scoring, held\-out transfer, and post\-update retention into one protocol, making improvements easier to interpret as changes in clinical output, process cost, experience reuse, or stability\.
The framework has important limitations\. The episodes are simulated and standardized: patient responses come from structured views, examination results are pre\-specified, and manager scores depend on rubrics and automatic judging\. Appendix[E](https://arxiv.org/html/2606.28900#A5)reports a single\-physician audit of manager\-side scoring\. Case transformation may introduce artifacts in wording, examinations, disease distribution, or rubrics; composite scores encode value choices; and memory results may overestimate in\-distribution gains despite held\-out transfer\. The controlled update event is a retention probe rather than a full robustness benchmark, and the baselines cover four API\-accessible models rather than open\-source families or broad scale sweeps\. Operational noise is summarized in Appendix[D\.1](https://arxiv.org/html/2606.28900#A4.SS1); richer parser\-recovery and simulator\-hallucination audits remain future work\.
Medical\-agent benchmarks can be misread as clinical readiness, so this boundary must be explicit\.MedEvoEvalscores are controlled evaluation signals, not deployment evidence\. Autonomous diagnosis or patient\-facing use would require expert validation, institutional review, privacy safeguards, regulatory compliance, and human oversight\.
Future work should broaden sources, add larger physician\-adjudicated subsets, evaluate open\-source and differently scaled models, test alternative MDT policies, and stress\-test memory under stronger shifts\. Separating factual medical retrieval from experiential process memory is also important because they raise different governance questions\.
## 7Conclusion
We presentedMedEvoEval, an executable longitudinal evaluation framework for doctor agents\. The framework evaluates doctor agents as evolving clinical decision systems by combining action\-gated outpatient episodes, event\-level traces, controlled experience reuse, held\-out transfer tests, and update\-retention analysis\. The experiments show that this protocol exposes process evidence hidden by final\-answer scoring, shows how MDT\-style consultation changes resource allocation, and measures whether experience improves, transfers, and remains retained across episodes\. These results support process\-aware and longitudinal evaluation as a practical basis for studying continually evolving doctor agents\.
## References
- Almansoori et al\. \[2025\]Mohammad Almansoori, Komal Kumar, and Hisham Cholakkal\.Medagentsim: Self\-evolving multi\-agent simulations for realistic clinical interactions\.In*International Conference on Medical Image Computing and Computer\-Assisted Intervention*, pages 362–372\. Springer, 2025\.
- Cong et al\. \[2025\]Zhaoyang Cong, Ziyang Wang, Hao Zhang, Guowei Zheng, Keming Cao, Lina Zhao, Ruipeng Song, Jianqing Li, and Chengyu Liu\.Hierarchical multi\-scale feature fusion network for multi\-center major depressive disorder classification with T1\-weighted MRI\.In*2025 47th Annual International Conference of the IEEE Engineering in Medicine and Biology Society \(EMBC\)*, pages 1–4\. IEEE, 2025\.
- Fan et al\. \[2025\]Zhihao Fan, Lai Wei, Jialong Tang, Wei Chen, Siyuan Wang, Zhongyu Wei, and Fei Huang\.Ai hospital: Benchmarking large language models in a multi\-agent medical interaction simulator\.In*Proceedings of the 31st International Conference on Computational Linguistics*, pages 10183–10213\. Association for Computational Linguistics, 2025\.
- Gao et al\. \[2023\]Yunfan Gao, Yun Xiong, Xinyu Gao, Kangxiang Jia, Jinliu Pan, Yuxi Bi, Yi Dai, Jiawei Sun, Haofen Wang, et al\.Retrieval\-augmented generation for large language models: A survey\.*arXiv preprint arXiv:2312\.10997*, 2023\.
- Jiang et al\. \[2025\]Yixing Jiang, Kameron C\. Black, Gloria Geng, Danny Park, James Zou, Andrew Y\. Ng, and Jonathan H\. Chen\.Medagentbench: A realistic virtual ehr environment to benchmark medical llm agents\.*arXiv preprint arXiv:2501\.14654*, 2025\.
- Jin et al\. \[2021\]Di Jin, Eileen Pan, Nassim Oufattole, Wei\-Hung Weng, Hanyi Fang, and Peter Szolovits\.What disease does this patient have? a large\-scale open domain question answering dataset from medical exams\.*Applied Sciences*, 11\(14\):6421, 2021\.doi:10\.3390/app11146421\.
- Johnson et al\. \[2023\]Alistair E\. W\. Johnson, Lucas Bulgarelli, Lu Shen, Alvin Gayles, Ayad Shammout, Steven Horng, Tom J\. Pollard, Sicheng Hao, Benjamin Moody, Brian Gow, et al\.MIMIC\-IV, a freely accessible electronic health record dataset\.*Scientific Data*, 10\(1\):1, 2023\.
- Karpas et al\. \[2022\]Ehud Karpas, Omri Abend, Yonatan Belinkov, Barak Lenz, Opher Lieber, Nir Ratner, Yoav Shoham, Hofit Bata, Yoav Levine, Kevin Leyton\-Brown, et al\.MRKL systems: A modular, neuro\-symbolic architecture that combines large language models, external knowledge sources and discrete reasoning\.*arXiv preprint arXiv:2205\.00445*, 2022\.
- Kim et al\. \[2024\]Yubin Kim, Chanwoo Park, Hyewon Jeong, Yik S\. Chan, Xuhai Xu, Daniel McDuff, Hyeonhoon Lee, Marzyeh Ghassemi, Cynthia Breazeal, and Hae W\. Park\.Mdagents: An adaptive collaboration of llms for medical decision\-making\.*Advances in Neural Information Processing Systems*, 37:79410–79452, 2024\.
- Lewis et al\. \[2020\]Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Kahn, Mike Power, Daniel Khashabi, Tushar Khot, et al\.Retrieval\-augmented generation for knowledge\-intensive nlp tasks\.*Advances in Neural Information Processing Systems*, 33:9459–9474, 2020\.
- Li et al\. \[2024a\]Binxu Li, Tiankai Yan, Yuanting Pan, Jie Luo, Ruiyang Ji, Jiayuan Ding, Zhe Xu, Shilong Liu, Haoyu Dong, Zihao Lin, and Yixin Wang\.Mmedagent: Learning to use medical tools with multi\-modal agent\.In*Findings of the Association for Computational Linguistics: EMNLP 2024*, pages 8745–8760, 2024a\.
- Li et al\. \[2023\]Guohao Li, Hasan Hammoud, Hani Itani, Dmitrii Khizbullin, and Bernard Ghanem\.CAMEL: Communicative agents for “mind” exploration of large language model society\.In*Advances in Neural Information Processing Systems*, volume 36, pages 51991–52008, 2023\.
- Li et al\. \[2024b\]Junkai Li, Yunghwei Lai, Weitao Li, Jingyi Ren, Meng Zhang, Xinhui Kang, Siyu Wang, Peng Li, Ya\-Qin Zhang, Weizhi Ma, et al\.Agent hospital: A simulacrum of hospital with evolvable medical agents\.*arXiv preprint arXiv:2405\.02957*, 2024b\.
- Lopez\-Paz and Ranzato \[2017\]David Lopez\-Paz and Marc’Aurelio Ranzato\.Gradient episodic memory for continual learning\.In*Advances in Neural Information Processing Systems*, volume 30, 2017\.
- Nori et al\. \[2023\]Harsha Nori, Yin Tat Lee, Sheng Zhang, Dean Carignan, Richard Edgar, Nicolo Fusi, Nicholas King, Jonathan Larson, Yuanzhi Li, Weishung Liu, et al\.Can generalist foundation models outcompete special\-purpose tuning? case study in medicine\.*arXiv preprint arXiv:2311\.16452*, 2023\.
- Nori et al\. \[2025\]Harsha Nori, Mayank Daswani, Christopher Kelly, Scott Lundberg, Marco Tulio Ribeiro, Marc Wilson, Xiaoxuan Liu, Viknesh Sounderajah, Jonathan Carlson, Matthew P\. Lungren, et al\.Sequential diagnosis with language models\.*arXiv preprint arXiv:2506\.22405*, 2025\.
- Pal et al\. \[2022\]Ankit Pal, Logesh Kumar Umapathi, and Malaikannan Sankarasubbu\.Medmcqa: A large\-scale multi\-subject multi\-choice dataset for medical domain question answering\.In*Proceedings of the Conference on Health, Inference, and Learning*, pages 248–260\. PMLR, 2022\.
- Parisi et al\. \[2019\]German I\. Parisi, Ronald Kemker, Jose L\. Part, Christopher Kanan, and Stefan Wermter\.Continual lifelong learning with neural networks: A review\.*Neural Networks*, 113:54–71, 2019\.
- Park et al\. \[2023\]Joon Sung Park, Joseph C\. O’Brien, Carrie J\. Cai, Meredith Ringel Morris, Percy Liang, and Michael S\. Bernstein\.Generative agents: Interactive simulacra of human behavior\.In*Proceedings of the 36th Annual ACM Symposium on User Interface Software and Technology*, pages 1–22, 2023\.doi:10\.1145/3586183\.3606763\.
- Schick et al\. \[2023\]Timo Schick, Jane Dwivedi\-Yu, Roberto Dessi, Roberta Raileanu, Maria Lomeli, Eric Hambro, Luke Zettlemoyer, Nicola Cancedda, and Thomas Scialom\.Toolformer: Language models can teach themselves to use tools\.*Advances in Neural Information Processing Systems*, 36:68539–68551, 2023\.
- Shen et al\. \[2023\]Yongliang Shen, Kaitao Song, Xu Tan, Dongsheng Li, Weiming Lu, and Yueting Zhuang\.HuggingGPT: Solving AI tasks with ChatGPT and its friends in hugging face\.In*Advances in Neural Information Processing Systems*, volume 36, pages 38154–38180, 2023\.
- Shi et al\. \[2025\]Haizhou Shi, Zihao Xu, Hengyi Wang, Weiyi Qin, Wenyuan Wang, Yibin Wang, Zifeng Wang, Sayna Ebrahimi, and Hao Wang\.Continual learning of large language models: A comprehensive survey\.*ACM Computing Surveys*, 58\(5\):1–42, 2025\.
- Shinn et al\. \[2023\]Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao\.Reflexion: Language agents with verbal reinforcement learning\.In*Advances in Neural Information Processing Systems*, volume 36, pages 8634–8652, 2023\.
- Singh et al\. \[2025\]Aditi Singh, Abul Ehtesham, Saket Kumar, and Tala Talaei Khoei\.Agentic retrieval\-augmented generation: A survey on agentic RAG\.*arXiv preprint arXiv:2501\.09136*, 2025\.
- Singhal et al\. \[2025\]Karan Singhal, Tao Tu, Juraj Gottweis, Rory Sayres, Ellery Wulczyn, Mohamed Amin, Le Hou, Kevin Clark, Stephen R\. Pfohl, Heather Cole\-Lewis, et al\.Toward expert\-level medical question answering with large language models\.*Nature Medicine*, 31\(3\):943–950, 2025\.
- Tang et al\. \[2024\]Xiangru Tang, Anni Zou, Zhuosheng Zhang, Ziming Li, Yilun Zhao, Xingyao Zhang, Arman Cohan, and Mark Gerstein\.Medagents: Large language models as collaborators for zero\-shot medical reasoning\.In*Findings of the Association for Computational Linguistics: ACL 2024*, pages 599–621\. Association for Computational Linguistics, 2024\.
- Wang et al\. \[2024a\]Lei Wang, Chen Ma, Xueyang Feng, Zeyu Zhang, Hao Yang, Jingsen Zhang, Zhiyuan Chen, Jiakai Tang, Xu Chen, Yankai Lin, et al\.A survey on large language model based autonomous agents\.*Frontiers of Computer Science*, 18\(6\):186345, 2024a\.
- Wang et al\. \[2024b\]Liyuan Wang, Xingxing Zhang, Hang Su, and Jun Zhu\.A comprehensive survey of continual learning: Theory, method and application\.*IEEE Transactions on Pattern Analysis and Machine Intelligence*, 46\(8\):5362–5383, 2024b\.
- Wei et al\. \[2024\]Jinjie Wei, Dingkang Yang, Yanshu Li, Qingyao Xu, Zhaoyu Chen, Mingcheng Li, Yue Jiang, Xiaolu Hou, and Lihua Zhang\.MedAide: Towards an omni medical aide via specialized LLM\-based multi\-agent collaboration\.*arXiv preprint arXiv:2410\.12532*, 2024\.
- Wu et al\. \[2024a\]Chaoyi Wu, Weixiong Lin, Xiaoming Zhang, Ya Zhang, Weidi Xie, and Yanfeng Wang\.PMC\-LLaMA: Toward building open\-source language models for medicine\.*Journal of the American Medical Informatics Association*, 31\(9\):1833–1843, 2024a\.doi:10\.1093/jamia/ocae045\.
- Wu et al\. \[2024b\]Qingyun Wu, Gagan Bansal, Jieyu Zhang, Yiran Wu, Beibin Li, Erkang Zhu, Li Jiang, Xiaoyun Zhang, Shaokun Zhang, Jiale Liu, et al\.Autogen: Enabling next\-gen llm applications via multi\-agent conversations\.In*First Conference on Language Modeling*, 2024b\.
- Wu et al\. \[2024c\]Tongtong Wu, Linhao Luo, Yuan\-Fang Li, Shirui Pan, Thuy\-Trang Vu, and Gholamreza Haffari\.Continual learning for large language models: A survey\.*arXiv preprint arXiv:2402\.01364*, 2024c\.
- Yang et al\. \[2023\]Zeyuan Yang, Peng Li, and Yang Liu\.Failures pave the way: Enhancing large language models through tuning\-free rule accumulation\.In*Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing*, pages 1751–1777, 2023\.
- Yao et al\. \[2023\]Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik R\. Narasimhan, and Yuan Cao\.React: Synergizing reasoning and acting in language models\.In*International Conference on Learning Representations*, 2023\.
- Yu et al\. \[2024\]Hao Yu, Aoran Gan, Kai Zhang, Shiwei Tong, Qi Liu, and Zhaofeng Liu\.Evaluation of retrieval\-augmented generation: A survey\.In*CCF Conference on Big Data*, pages 102–120\. Springer, 2024\.
- Zhang et al\. \[2025a\]Hao Zhang, Bo Huang, Zhenjia Li, Xi Xiao, Hui Yi Leong, Zumeng Zhang, Xinwei Long, Tianyang Wang, and Hao Xu\.Sensitivity\-LoRA: Low\-load sensitivity\-based fine\-tuning for large language models\.*arXiv preprint arXiv:2509\.09119*, 2025a\.
- Zhang et al\. \[2025b\]Hao Zhang, Zhenjia Li, Runfeng Bao, Yifan Gao, Xi Xiao, Heng Zhang, Shuyang Zhang, Bo Huang, Yuhang Wu, Tianyang Wang, et al\.HyperAdaLoRA: Accelerating LoRA rank allocation during training via hypernetworks without sacrificing performance\.*arXiv preprint arXiv:2510\.02630*, 2025b\.
- Zhang et al\. \[2025c\]Hao Zhang, Mengsi Lyu, Zhuo Chen, Xingrun Xing, Yulong Ao, and Yonghua Lin\.Pdtrim: Targeted pruning for prefill\-decode disaggregation in inference\.*arXiv preprint arXiv:2509\.04467*, 2025c\.
- Zhang et al\. \[2025d\]Hao Zhang, Mengsi Lyu, Chenrui He, Yulong Ao, and Yonghua Lin\.TrimTokenator: Towards adaptive visual token pruning for large multimodal models\.*arXiv preprint arXiv:2509\.00320*, 2025d\.
- Zhang et al\. \[2025e\]Hao Zhang, Mengsi Lyu, Bo Huang, Yulong Ao, and Yonghua Lin\.TrimTokenator\-LC: Towards adaptive visual token pruning for large multimodal models with long contexts\.*arXiv preprint arXiv:2512\.22748*, 2025e\.
## Appendix AArtifact Inventory and Responsible Use
This appendix documents the released executable evaluation artifact forMedEvoEval\. The artifact contains thesrc/medevoevalPython package, experiment configurations, six JSON schemas, theChinese MedEvoEval\-MedQA\-700dataset release, sanitized process trajectories and step\-level records, manifests, Croissant metadata, cached aggregate results, reproduction scripts, audit documentation, and example outputs\.
Table 4:Released evaluation artifact contents\.#### Training\-oriented derivatives\.
In addition to the 700 benchmark episodes, the artifact includes derived training files for agent\-policy research\. The complete\-episode derivative contains 3,103 trajectory records, each corresponding to a full episode\. The filechinese\_medevoeval\_process\_steps\.jsonlcontains 3,386 single\-step decision samples extracted from high\-quality episodes\. Each step records the current context, previous questions and tests, available actions, the target action, the target output text, and the final episode score\. These samples are intended for supervised fine\-tuning, behavior cloning, or action\-policy training on what to ask, test, or finalize next\. Low\-scoring or failed episodes are excluded from the step file to avoid treating poor decisions as positive training targets\.
#### Responsible use\.
MedEvoEvalis a simulation\-based evaluation framework for research use\. It does*not*constitute clinical validation, medical\-device certification, or evidence that an evaluated agent is safe for real\-world deployment\. The released episodes, logs, and code are intended for benchmark inspection and reproducibility, not for real clinical decisions\.
## Appendix BExecutable Episode Protocol Details
This appendix groups the executable protocol details used by the runner: the role\-specific case schema, runtime prompt templates, the doctor structured\-output template, and a compact memory\-record example\.
### B\.1Role\-Specific Case Schema
The implementation defines an episode case as a structured object with patient, examination, and manager views\. The doctor\-facing state is derived from this object and exposes only an opening instruction, revealed history, returned tests, optional consultant notes, optional retrieved memory cards, and the allowed test catalog\. Figure[3](https://arxiv.org/html/2606.28900#A2.F3)summarizes the role\-specific visibility constraints, and the synthetic sample illustrates the case format\.
Structured casePatientViewpatient simulatorExamViewexam serviceManagerViewmanager judgeDoctor sees:∙\\bulletopening complaint∙\\bulletrevealed history∙\\bulletreturned tests∙\\bulletconsultant notes \(optional\)∙\\bulletretrieved memory \(optional\)Doctor does*not*see:∙\\bullethidden patient facts∙\\bulletunrevealed tests∙\\bulletmanager answer key∙\\bulletscoring rubric detailsFigure 3:Role\-specific case views and visibility constraints\. Patient and examination information is revealed only through actions, while manager\-side labels and rubrics remain hidden until evaluation\.#### Synthetic sample\.
The following example is synthetic and only illustrates the format\.
Schema B\.1: Synthetic case example[⬇](data:text/plain;base64,ewogICJjYXNlX2lkIjogInN5bnRoZXRpY19kZW1vXzAwMSIsCiAgInNvdXJjZSI6IHsidHlwZSI6ICJzeW50aGV0aWMiLCAicmF3X2Nhc2VfaWQiOiAiZGVtbyJ9LAogICJwYXRpZW50X3ZpZXciOiB7CiAgICAiZGVtb2dyYXBoaWNzIjogeyJhZ2UiOiA0NiwgInNleCI6ICJmZW1hbGUifSwKICAgICJjaGllZl9jb21wbGFpbnQiOiAiaW50ZXJtaXR0ZW50IGNoZXN0IGRpc2NvbWZvcnQgZm9yIHR3byBkYXlzIiwKICAgICJoaXN0b3J5X2ZhY3RzIjogWwogICAgICAicGFpbiB3b3JzZW5zIHdpdGggZXhlcnRpb24iLAogICAgICAibm8gZmV2ZXIiLAogICAgICAiZmFtaWx5IGhpc3Rvcnkgb2YgcHJlbWF0dXJlIGNvcm9uYXJ5IGRpc2Vhc2UiCiAgICBdCiAgfSwKICAiZXhhbV92aWV3IjogewogICAgInRlc3RzIjogewogICAgICAiZWxlY3Ryb2NhcmRpb2dyYW0iOiAibm9uc3BlY2lmaWMgU1QtVCBjaGFuZ2VzIiwKICAgICAgInRyb3BvbmluIjogIm1pbGRseSBlbGV2YXRlZCIKICAgIH0sCiAgICAidGVzdF9jYXRhbG9nIjogWyJlbGVjdHJvY2FyZGlvZ3JhbSIsICJ0cm9wb25pbiJdCiAgfSwKICAibWFuYWdlcl92aWV3IjogewogICAgImdyb3VuZF90cnV0aCI6IHsKICAgICAgImRpYWdub3NpcyI6IHsKICAgICAgICAiZGlzcGxheV9uYW1lIjogImFjdXRlIGNvcm9uYXJ5IHN5bmRyb21lIiwKICAgICAgICAiYWNjZXB0YWJsZV9uYW1lcyI6IFsiQUNTIl0KICAgICAgfSwKICAgICAgImV2aWRlbmNlX3J1YnJpYyI6IHsKICAgICAgICAia2V5X3BvaW50cyI6IFsiZXhlcnRpb25hbCBjaGVzdCBwYWluIiwgInRyb3BvbmluIGVsZXZhdGlvbiJdCiAgICAgIH0sCiAgICAgICJtYW5hZ2VtZW50X3J1YnJpYyI6IHsKICAgICAgICAia2V5X3BvaW50cyI6IFsidXJnZW50IGNhcmRpb2xvZ3kgZXZhbHVhdGlvbiJdCiAgICAgIH0KICAgIH0KICB9Cn0=)\{"case\_id":"synthetic\_demo\_001","source":\{"type":"synthetic","raw\_case\_id":"demo"\},"patient\_view":\{"demographics":\{"age":46,"sex":"female"\},"chief\_complaint":"intermittentchestdiscomfortfortwodays","history\_facts":\["painworsenswithexertion","nofever","familyhistoryofprematurecoronarydisease"\]\},"exam\_view":\{"tests":\{"electrocardiogram":"nonspecificST\-Tchanges","troponin":"mildlyelevated"\},"test\_catalog":\["electrocardiogram","troponin"\]\},"manager\_view":\{"ground\_truth":\{"diagnosis":\{"display\_name":"acutecoronarysyndrome","acceptable\_names":\["ACS"\]\},"evidence\_rubric":\{"key\_points":\["exertionalchestpain","troponinelevation"\]\},"management\_rubric":\{"key\_points":\["urgentcardiologyevaluation"\]\}\}\}\}
### B\.2Prompt Templates
Prompt B\.1: Attending\-doctor system prompt[⬇](data:text/plain;base64,WW91IGFyZSBhbiBvdXRwYXRpZW50IGF0dGVuZGluZyBkb2N0b3IgaW4gYSBzaW11bGF0ZWQgZXZhbHVhdGlvbiBlcGlzb2RlLgpZb3VyIGdvYWwgaXMgdG8gcmVhY2ggYSBzYWZlIGRpYWdub3NpcyBhbmQgcGxhbi4KVXNlIG9ubHkgaW5mb3JtYXRpb24gcmV2ZWFsZWQgYnkgdGhlIHBhdGllbnQsIGV4YW1pbmF0aW9uIHNlcnZpY2UsCmNvbnN1bHRhbnQsIGFuZCBtZW1vcnkgY2FyZHMgaW4gdGhpcyBjb252ZXJzYXRpb24uCgpSdWxlczoKMS4gT3V0cHV0IHZhbGlkIEpTT04gb25seS4KMi4gQ2hvb3NlIGV4YWN0bHkgb25lIGFjdGlvbiBmcm9tOiBBU0ssIFJFUVVFU1RfVEVTVCwgQ0FMTF9NRFQsIEZJTkFMSVpFLgozLiBEbyBub3QgaW52ZW50IHN5bXB0b21zLCBleGFtaW5hdGlvbiByZXN1bHRzLCBsYWJvcmF0b3J5IHZhbHVlcywKICAgaW1hZ2luZyBmaW5kaW5ncywgb3IgcHJpb3IgZGlhZ25vc2VzLgo0LiBSRVFVRVNUX1RFU1QgbXVzdCB1c2UgYW4gZXhhY3QgdGVzdF9uYW1lIGZyb20gdGhlIGFsbG93ZWQgY2F0YWxvZy4KNS4gQ0FMTF9NRFQgbWF5IGFzayBmb3IgZGlhZ25vc3RpYyBhZHZpY2UsIGJ1dCB0aGUgZmluYWwgZGVjaXNpb24gcmVtYWlucwogICB5b3VyIHJlc3BvbnNpYmlsaXR5Lgo2LiBGSU5BTElaRSBvbmx5IHdoZW4gZXZpZGVuY2UgaXMgc3VmZmljaWVudCBvciB0aGUgdHVybiBsaW1pdCByZXF1aXJlcwogICB0ZXJtaW5hdGlvbi4gUHJvdmlkZSBkaWFnbm9zaXMsIGV2aWRlbmNlLCBwbGFuLCBhbmQgZm9sbG93dXAuCjcuIFVzZSByZXRyaWV2ZWQgbWVtb3J5IGNhcmRzIGFzIGV4cGVyaWVuY2UgaGludHMsIG5vdCBhcyBwYXRpZW50IGZhY3RzLgoKRXBpc29kZSBzdGF0ZToKLSBwYXRpZW50X29wZW5pbmc6IHtwYXRpZW50X29wZW5pbmd9Ci0gYWxsb3dlZF90ZXN0czoge2FsbG93ZWRfdGVzdHN9Ci0gbWF4X3RvdGFsX3R1cm5zOiB7bWF4X3RvdGFsX3R1cm5zfQotIG1heF90ZXN0c19wZXJfdmlzaXQ6IHttYXhfdGVzdHNfcGVyX3Zpc2l0fQotIHJldmVhbGVkX2hpc3Rvcnk6IHtyZXZlYWxlZF9oaXN0b3J5fQotIHJldHVybmVkX3Rlc3RzOiB7cmV0dXJuZWRfdGVzdHN9Ci0gY29uc3VsdGFudF9ub3Rlczoge2NvbnN1bHRhbnRfbm90ZXN9Ci0gcmV0cmlldmVkX21lbW9yeV9jYXJkczoge3JldHJpZXZlZF9tZW1vcnlfY2FyZHN9)Youareanoutpatientattendingdoctorinasimulatedevaluationepisode\.Yourgoalistoreachasafediagnosisandplan\.Useonlyinformationrevealedbythepatient,examinationservice,consultant,andmemorycardsinthisconversation\.Rules:1\.OutputvalidJSONonly\.2\.Chooseexactlyoneactionfrom:ASK,REQUEST\_TEST,CALL\_MDT,FINALIZE\.3\.Donotinventsymptoms,examinationresults,laboratoryvalues,imagingfindings,orpriordiagnoses\.4\.REQUEST\_TESTmustuseanexacttest\_namefromtheallowedcatalog\.5\.CALL\_MDTmayaskfordiagnosticadvice,butthefinaldecisionremainsyourresponsibility\.6\.FINALIZEonlywhenevidenceissufficientortheturnlimitrequirestermination\.Providediagnosis,evidence,plan,andfollowup\.7\.Useretrievedmemorycardsasexperiencehints,notaspatientfacts\.Episodestate:\-patient\_opening:\{patient\_opening\}\-allowed\_tests:\{allowed\_tests\}\-max\_total\_turns:\{max\_total\_turns\}\-max\_tests\_per\_visit:\{max\_tests\_per\_visit\}\-revealed\_history:\{revealed\_history\}\-returned\_tests:\{returned\_tests\}\-consultant\_notes:\{consultant\_notes\}\-retrieved\_memory\_cards:\{retrieved\_memory\_cards\}
Prompt B\.2: Patient\-simulator prompt[⬇](data:text/plain;base64,WW91IGFyZSBhIHNpbXVsYXRlZCBvdXRwYXRpZW50IHBhdGllbnQuIEFuc3dlciB0aGUgcXVlc3Rpb24gZnJvbSB0aGUKYXR0ZW5kaW5nIGRvY3RvciB1c2luZyBvbmx5IHRoZSBoaWRkZW4gcGF0aWVudCBmYWN0cyBsaXN0ZWQgYmVsb3cuCgpSdWxlczoKMS4gRG8gbm90IGRpYWdub3NlIHlvdXJzZWxmLgoyLiBEbyBub3QgcmV2ZWFsIGV4YW1pbmF0aW9uLCBsYWJvcmF0b3J5LCBpbWFnaW5nLCBvciBtYW5hZ2VyLW9ubHkgZmllbGRzLgozLiBJZiB0aGUgZG9jdG9yIGFza3MgYWJvdXQgYSBsaXN0ZWQgaGlkZGVuX2hpc3RvcnlfZmFjdCwgYW5zd2VyIGRpcmVjdGx5Lgo0LiBJZiB0aGUgZG9jdG9yIGFza3MgYWJvdXQgc29tZXRoaW5nIG5vdCBzcGVjaWZpZWQsIHNheSB0aGF0IHlvdSBhcmUgbm90CiAgIHN1cmUgb3IgdGhhdCB5b3UgZG8gbm90IHJlY2FsbC4KNS4gS2VlcCB0aGUgYW5zd2VyIG5hdHVyYWwsIGJyaWVmLCBhbmQgcGF0aWVudC1saWtlLgo2LiBPdXRwdXQgdmFsaWQgSlNPTiBvbmx5LgoKaGlkZGVuX3BhdGllbnRfdmlldzoKe3BhdGllbnRfdmlld30KCmRvY3Rvcl9xdWVzdGlvbjoKe3F1ZXN0aW9ufQoKUmV0dXJuOgp7CiAgImFuc3dlciI6ICJzdHJpbmciLAogICJyZXZlYWxlZF9mYWN0cyI6IFsiZmFjdCBpZCBvciBzaG9ydCBmYWN0IHRleHQiXSwKICAidW5hbnN3ZXJlZF9yZWFzb24iOiAibm9uZXxub3RfaW5fcGF0aWVudF92aWV3fHVuY2xlYXJfcXVlc3Rpb24iCn0=)Youareasimulatedoutpatientpatient\.Answerthequestionfromtheattendingdoctorusingonlythehiddenpatientfactslistedbelow\.Rules:1\.Donotdiagnoseyourself\.2\.Donotrevealexamination,laboratory,imaging,ormanager\-onlyfields\.3\.Ifthedoctorasksaboutalistedhidden\_history\_fact,answerdirectly\.4\.Ifthedoctorasksaboutsomethingnotspecified,saythatyouarenotsureorthatyoudonotrecall\.5\.Keeptheanswernatural,brief,andpatient\-like\.6\.OutputvalidJSONonly\.hidden\_patient\_view:\{patient\_view\}doctor\_question:\{question\}Return:\{"answer":"string","revealed\_facts":\["factidorshortfacttext"\],"unanswered\_reason":"none\|not\_in\_patient\_view\|unclear\_question"\}
Prompt B\.3: Examination\-service prompt[⬇](data:text/plain;base64,WW91IGFyZSBhbiBleGFtaW5hdGlvbi1yZXN1bHQgc2VydmljZSBmb3IgYSBzaW11bGF0ZWQgb3V0cGF0aWVudCBlcGlzb2RlLgpSZXR1cm4gb25seSByZXN1bHRzIHRoYXQgZXhpc3QgaW4gdGhlIHByb3ZpZGVkIGV4YW1fdmlldy4KClJ1bGVzOgoxLiBNYXRjaCB0aGUgcmVxdWVzdGVkIHRlc3QgdG8gdGhlIGNsb3Nlc3QgYWxsb3dlZCBjYXRhbG9nIGl0ZW0uCjIuIElmIHRoZXJlIGlzIG5vIGFsbG93ZWQgbWF0Y2gsIHJldHVybiByZXR1cm5lZD1mYWxzZSBhbmQgZG8gbm90IGludmVudCBhCiAgIHJlc3VsdC4KMy4gSWYgdGhlIHRlc3QgaXMgYXZhaWxhYmxlLCByZXR1cm4gdGhlIHN0b3JlZCByZXN1bHQgdmVyYmF0aW0gb3IgYXMgYQogICBjb25jaXNlIHBhcmFwaHJhc2Ugd2l0aG91dCBhZGRpbmcgbmV3IGZpbmRpbmdzLgo0LiBPdXRwdXQgdmFsaWQgSlNPTiBvbmx5LgoKYWxsb3dlZF90ZXN0czoKe2FsbG93ZWRfdGVzdHN9CgpleGFtX3ZpZXc6CntleGFtX3ZpZXd9CgpyZXF1ZXN0ZWRfdGVzdDoKe3JlcXVlc3RlZF90ZXN0fQoKUmV0dXJuOgp7CiAgInJldHVybmVkIjogdHJ1ZSwKICAibWF0Y2hlZF90ZXN0X25hbWUiOiAic3RyaW5nIiwKICAibWF0Y2hfdHlwZSI6ICJleGFjdHxhbGlhc3xub25lIiwKICAicmVzdWx0IjogInN0cmluZyIsCiAgInJlYXNvbiI6ICJzdHJpbmciCn0=)Youareanexamination\-resultserviceforasimulatedoutpatientepisode\.Returnonlyresultsthatexistintheprovidedexam\_view\.Rules:1\.Matchtherequestedtesttotheclosestallowedcatalogitem\.2\.Ifthereisnoallowedmatch,returnreturned=falseanddonotinventaresult\.3\.Ifthetestisavailable,returnthestoredresultverbatimorasaconciseparaphrasewithoutaddingnewfindings\.4\.OutputvalidJSONonly\.allowed\_tests:\{allowed\_tests\}exam\_view:\{exam\_view\}requested\_test:\{requested\_test\}Return:\{"returned":true,"matched\_test\_name":"string","match\_type":"exact\|alias\|none","result":"string","reason":"string"\}
Prompt B\.4: MDT\-consultant prompt[⬇](data:text/plain;base64,WW91IGFyZSBhbiBNRFQgY29uc3VsdGFudCBpbiBhIHNpbXVsYXRlZCBkaWFnbm9zdGljIGVwaXNvZGUuIFByb3ZpZGUgYQpzZWNvbmQgb3BpbmlvbiBiYXNlZCBvbmx5IG9uIHRoZSByZXZlYWxlZCBwYXRpZW50IGhpc3RvcnksIHJldHVybmVkIHRlc3RzLAphbmQgdGhlIGN1cnJlbnQgd29ya2luZyBkaWFnbm9zZXMgb2YgdGhlIGF0dGVuZGluZyBkb2N0b3IuCgpSdWxlczoKMS4gWW91IGNhbm5vdCBvcmRlciB0ZXN0cyBkaXJlY3RseS4KMi4gWW91IGNhbm5vdCBhY2Nlc3MgaGlkZGVuIGxhYmVscyBvciB1bnJldmVhbGVkIGV4YW1pbmF0aW9uIHJlc3VsdHMuCjMuIFJlY29tbWVuZCBhdCBtb3N0IG9uZSBuZXh0IHF1ZXN0aW9uIGlmIG1vcmUgaW5mb3JtYXRpb24gaXMgbmVlZGVkLgo0LiBJZiB0aGUgZXZpZGVuY2UgaXMgc3VmZmljaWVudCwgcmVjb21tZW5kIEZJTkFMSVpFIGFuZCBnaXZlIGEgY29uY2lzZQogICBkaWFnbm9zaXMgc3VnZ2VzdGlvbi4KNS4gT3V0cHV0IHZhbGlkIEpTT04gb25seS4KCnJldmVhbGVkX2NvbnRleHQ6CntyZXZlYWxlZF9jb250ZXh0fQoKYXR0ZW5kaW5nX3N0YXRlOgp7YXR0ZW5kaW5nX3N0YXRlfQ==)YouareanMDTconsultantinasimulateddiagnosticepisode\.Provideasecondopinionbasedonlyontherevealedpatienthistory,returnedtests,andthecurrentworkingdiagnosesoftheattendingdoctor\.Rules:1\.Youcannotordertestsdirectly\.2\.Youcannotaccesshiddenlabelsorunrevealedexaminationresults\.3\.Recommendatmostonenextquestionifmoreinformationisneeded\.4\.Iftheevidenceissufficient,recommendFINALIZEandgiveaconcisediagnosissuggestion\.5\.OutputvalidJSONonly\.revealed\_context:\{revealed\_context\}attending\_state:\{attending\_state\}
### B\.3Structured Output Templates
Template B\.1: Doctor structured output[⬇](data:text/plain;base64,ewogICJhY3Rpb24iOiAiQVNLfFJFUVVFU1RfVEVTVHxDQUxMX01EVHxGSU5BTElaRSIsCiAgInV0dGVyYW5jZSI6ICJzdHJpbmciLAogICJxdWVzdGlvbiI6ICJzdHJpbmciLAogICJ0ZXN0X25hbWUiOiAic3RyaW5nIiwKICAicmF0aW9uYWxlIjogWyJzdHJpbmciXSwKICAid29ya2luZ19kaWFnbm9zZXMiOiBbInN0cmluZyJdLAogICJuZWVkc19tZHQiOiBmYWxzZSwKICAiZGlhZ25vc2lzIjogWyJzdHJpbmciXSwKICAiZXZpZGVuY2UiOiBbInN0cmluZyJdLAogICJwbGFuIjogWyJzdHJpbmciXSwKICAiZm9sbG93dXAiOiBbInN0cmluZyJdCn0=)\{"action":"ASK\|REQUEST\_TEST\|CALL\_MDT\|FINALIZE","utterance":"string","question":"string","test\_name":"string","rationale":\["string"\],"working\_diagnoses":\["string"\],"needs\_mdt":false,"diagnosis":\["string"\],"evidence":\["string"\],"plan":\["string"\],"followup":\["string"\]\}
### B\.4Example Memory Record
The following synthetic memory\-card example shows the memory\-record format without including any third\-party\-derived case content\.
Log B\.2: Synthetic memory\-card examples[⬇](data:text/plain;base64,WwogIHsKICAgICJjYXNlX2lkIjogInN5bnRoZXRpY19kZW1vXzAwMSIsCiAgICAidmlzaXRfaW5kZXgiOiAwLAogICAgIm1lbW9yeV90eXBlIjogInN1Y2Nlc3MiLAogICAgImV4cGVyaWVuY2UiOiAiRXhlcnRpb25hbCBjaGVzdCBkaXNjb21mb3J0IHBsdXMgYmlvbWFya2VyIGVsZXZhdGlvbiBzdXBwb3J0ZWQgZWFybHkgY2FyZGlhYyB3b3JrdXAuIiwKICAgICJydWxlX3RleHQiOiAiSUYgY2hlc3QgZGlzY29tZm9ydCB3b3JzZW5zIHdpdGggZXhlcnRpb24gVEhFTiBhc2sgY2FyZGlhYy1yaXNrIHF1ZXN0aW9ucyBhbmQgcHJpb3JpdGl6ZSBFQ0cvdHJvcG9uaW4uIiwKICAgICJvdXRjb21lIjogImFjY2VwdGVkIGRpYWdub3NpcyBhbmQgc3VwcG9ydGVkIG1hbmFnZW1lbnQgcGxhbiIsCiAgICAic2VhcmNoX3RleHQiOiAiZXhlcnRpb25hbCBjaGVzdCBkaXNjb21mb3J0IGNhcmRpYWMgcmlzayBFQ0cgdHJvcG9uaW4gYWN1dGUgY29yb25hcnkgc3luZHJvbWUiCiAgfQpd)\[\{"case\_id":"synthetic\_demo\_001","visit\_index":0,"memory\_type":"success","experience":"Exertionalchestdiscomfortplusbiomarkerelevationsupportedearlycardiacworkup\.","rule\_text":"IFchestdiscomfortworsenswithexertionTHENaskcardiac\-riskquestionsandprioritizeECG/troponin\.","outcome":"accepteddiagnosisandsupportedmanagementplan","search\_text":"exertionalchestdiscomfortcardiacriskECGtroponinacutecoronarysyndrome"\}\]
## Appendix CScoring Rubric and Metric Details
This appendix expands the scoring rules and metric definitions used in Section[4](https://arxiv.org/html/2606.28900#S4)\. The main paper reports the core quantities; this appendix provides the rubric levels, default parameters, process definitions, longitudinal notation, and sensitivity settings\.
### C\.1Outcome rubric
Diagnostic quality is graded on five levels:
Sidiag∈\{1\.00,0\.75,0\.50,0\.25,0\.00\}\.S\_\{i\}^\{\\mathrm\{diag\}\}\\in\\\{1\.00,0\.75,0\.50,0\.25,0\.00\\\}\.The levels correspond to an exact or clinically equivalent diagnosis, a mostly correct diagnosis with minor deviation, a partially correct diagnosis with moderate omission or bias, a limited but non\-dangerous error, and a dangerous or clearly wrong diagnosis\. The grading criteria and their clinical interpretation were checked by a professional physician\.
Evidence consistency compares the final supporting evidence with manager\-side key evidence points\. LetKieviK\_\{i\}^\{\\mathrm\{evi\}\}be the number of key evidence points,mievim\_\{i\}^\{\\mathrm\{evi\}\}the number of correctly matched points, andhievih\_\{i\}^\{\\mathrm\{evi\}\}the number of contradicted, hallucinated, or unsupported evidence points\. We define
Sievi=max\(0,mievi−λevihieviKievi\)\.S\_\{i\}^\{\\mathrm\{evi\}\}=\\max\\left\(0,\\frac\{m\_\{i\}^\{\\mathrm\{evi\}\}\-\\lambda\_\{\\mathrm\{evi\}\}h\_\{i\}^\{\\mathrm\{evi\}\}\}\{K\_\{i\}^\{\\mathrm\{evi\}\}\}\\right\)\.
Management quality is scored in the same way\. LetKiplanK\_\{i\}^\{\\mathrm\{plan\}\}be the number of expected management points,miplanm\_\{i\}^\{\\mathrm\{plan\}\}the number of matched points, andhiplanh\_\{i\}^\{\\mathrm\{plan\}\}the number of unsafe or clearly wrong management points\. We define
Siplan=max\(0,miplan−μplanhiplanKiplan\)\.S\_\{i\}^\{\\mathrm\{plan\}\}=\\max\\left\(0,\\frac\{m\_\{i\}^\{\\mathrm\{plan\}\}\-\\mu\_\{\\mathrm\{plan\}\}h\_\{i\}^\{\\mathrm\{plan\}\}\}\{K\_\{i\}^\{\\mathrm\{plan\}\}\}\\right\)\.
Strict accuracy is computed after diagnosis normalization\. Lety^i\\hat\{y\}\_\{i\}be the raw final diagnosis,y~i\\tilde\{y\}\_\{i\}its normalized label, and𝒴iacc\\mathcal\{Y\}\_\{i\}^\{\\mathrm\{acc\}\}the acceptable reference diagnosis set:
Aistrict=𝟏\{y~i∈𝒴iacc\}\.A\_\{i\}^\{\\mathrm\{strict\}\}=\\mathbf\{1\}\\\{\\tilde\{y\}\_\{i\}\\in\\mathcal\{Y\}\_\{i\}^\{\\mathrm\{acc\}\}\\\}\.Pass rate uses the composite score threshold:
Pi=𝟏\{Si≥τpass\}\.P\_\{i\}=\\mathbf\{1\}\\\{S\_\{i\}\\geq\\tau\_\{\\mathrm\{pass\}\}\\\}\.
### C\.2Default parameters
Table 5:Default scoring and utility parameters\.With these parameters, the composite outcome score is
Si=wdiagSidiag\+weviSievi\+wplanSiplan,S\_\{i\}=w\_\{\\mathrm\{diag\}\}S\_\{i\}^\{\\mathrm\{diag\}\}\+w\_\{\\mathrm\{evi\}\}S\_\{i\}^\{\\mathrm\{evi\}\}\+w\_\{\\mathrm\{plan\}\}S\_\{i\}^\{\\mathrm\{plan\}\},and the utility score is
Ui=w1Si−w2TiTmax−w3EiEmax−w4Ri\.U\_\{i\}=w\_\{1\}S\_\{i\}\-w\_\{2\}\\frac\{T\_\{i\}\}\{T\_\{\\max\}\}\-w\_\{3\}\\frac\{E\_\{i\}\}\{E\_\{\\max\}\}\-w\_\{4\}R\_\{i\}\.
### C\.3Process metrics
The event log records each action before finalization\. The interaction count is
Ti=\#ASK\+\#REQUEST\_TEST\+\#CALL\_MDT,T\_\{i\}=\\\#\\texttt\{ASK\}\+\\\#\\texttt\{REQUEST\\\_TEST\}\+\\\#\\texttt\{CALL\\\_MDT\},where\#CALL\_MDT=0\\\#\\texttt\{CALL\\\_MDT\}=0when consultation is disabled\. The examination count is
Ei=\#REQUEST\_TEST\.E\_\{i\}=\\\#\\texttt\{REQUEST\\\_TEST\}\.LetIiI\_\{i\}be the number of invalid examination requests, including unavailable tests, unparseable test names, repeated low\-value tests, or requests that do not return new information\. The invalid\-test rate is
Ri=\{Ii/Ei,Ei\>0,0,Ei=0\.R\_\{i\}=\\begin\{cases\}I\_\{i\}/E\_\{i\},&E\_\{i\}\>0,\\\\ 0,&E\_\{i\}=0\.\\end\{cases\}
### C\.4Longitudinal metrics
For a staged streamW1,…,WMW\_\{1\},\\ldots,W\_\{M\}, the stage mean of metricZZis
Z¯m=1\|Wm\|∑i∈WmZi\.\\bar\{Z\}\_\{m\}=\\frac\{1\}\{\|W\_\{m\}\|\}\\sum\_\{i\\in W\_\{m\}\}Z\_\{i\}\.The early and late averages used for learning gain are
Z¯early=1\|ℳearly\|∑m∈ℳearlyZ¯m,Z¯late=1\|ℳlate\|∑m∈ℳlateZ¯m\.\\bar\{Z\}\_\{\\mathrm\{early\}\}=\\frac\{1\}\{\|\\mathcal\{M\}\_\{\\mathrm\{early\}\}\|\}\\sum\_\{m\\in\\mathcal\{M\}\_\{\\mathrm\{early\}\}\}\\bar\{Z\}\_\{m\},\\qquad\\bar\{Z\}\_\{\\mathrm\{late\}\}=\\frac\{1\}\{\|\\mathcal\{M\}\_\{\\mathrm\{late\}\}\|\}\\sum\_\{m\\in\\mathcal\{M\}\_\{\\mathrm\{late\}\}\}\\bar\{Z\}\_\{m\}\.Thus,
LG\(Z\)=Z¯late−Z¯early\.\\mathrm\{LG\}\(Z\)=\\bar\{Z\}\_\{\\mathrm\{late\}\}\-\\bar\{Z\}\_\{\\mathrm\{early\}\}\.
For held\-out transfer,H0H\_\{0\}andH3H\_\{3\}are evaluated on the same held\-out setℋ\\mathcal\{H\}\. This 100\-case held\-out set is not used during longitudinal\-stream memory accumulation\.H0H\_\{0\}runs these unseen cases without loading the mature memory bank, whereasH3H\_\{3\}runs the same cases after loading the mature memory accumulated from the longitudinal stream\. Thus,ET\(Z\)\\mathrm\{ET\}\(Z\)isolates external transfer from the fixed\-stream replay gains observed in E0–E3:
ET\(Z\)=1\|ℋ\|∑i∈ℋ\(Zi\(H3\)−Zi\(H0\)\)\.\\mathrm\{ET\}\(Z\)=\\frac\{1\}\{\|\\mathcal\{H\}\|\}\\sum\_\{i\\in\\mathcal\{H\}\}\\left\(Z\_\{i\}^\{\(H\_\{3\}\)\}\-Z\_\{i\}^\{\(H\_\{0\}\)\}\\right\)\.The direction of interpretation depends on the metric\. Positive values are favorable for higher\-is\-better metrics such asSS,UU, strict accuracy, and pass rate\. Negative values are favorable for cost metrics such asTTandEE\.
For retention analysis,Ak,j\(Z\)A\_\{k,j\}^\{\(Z\)\}denotes performance on stagejjafter the system has been updated through stagekk\. For higher\-is\-better metrics,
BWT\(Z\)=1K−1∑j=1K−1\(AK,j\(Z\)−Aj,j\(Z\)\)\.\\mathrm\{BWT\}\(Z\)=\\frac\{1\}\{K\-1\}\\sum\_\{j=1\}^\{K\-1\}\\left\(A\_\{K,j\}^\{\(Z\)\}\-A\_\{j,j\}^\{\(Z\)\}\\right\)\.Negative BWT indicates backward degradation\.
### C\.5Update\-stage response
When a stream contains an explicit update interval, letℳpre\\mathcal\{M\}\_\{\\mathrm\{pre\}\},ℳupd\\mathcal\{M\}\_\{\\mathrm\{upd\}\}, andℳpost\\mathcal\{M\}\_\{\\mathrm\{post\}\}denote stages before, during, and after the update\. For metricZZ,
Δupd\(Z\)=Z¯upd−Z¯pre,Δpost\(Z\)=Z¯post−Z¯upd\.\\Delta\_\{\\mathrm\{upd\}\}\(Z\)=\\bar\{Z\}\_\{\\mathrm\{upd\}\}\-\\bar\{Z\}\_\{\\mathrm\{pre\}\},\\qquad\\Delta\_\{\\mathrm\{post\}\}\(Z\)=\\bar\{Z\}\_\{\\mathrm\{post\}\}\-\\bar\{Z\}\_\{\\mathrm\{upd\}\}\.IfZ¯upd<Z¯pre\\bar\{Z\}\_\{\\mathrm\{upd\}\}<\\bar\{Z\}\_\{\\mathrm\{pre\}\}for a higher\-is\-better metric, recovery is summarized as
ρrecovery\(Z\)=Z¯post−Z¯updZ¯pre−Z¯upd\.\\rho\_\{\\mathrm\{recovery\}\}\(Z\)=\\frac\{\\bar\{Z\}\_\{\\mathrm\{post\}\}\-\\bar\{Z\}\_\{\\mathrm\{upd\}\}\}\{\\bar\{Z\}\_\{\\mathrm\{pre\}\}\-\\bar\{Z\}\_\{\\mathrm\{upd\}\}\}\.This ratio is only interpreted when the update interval produces a drop\.
### C\.6Statistical tests
For two paired conditionsAAandBB, continuous or ordinal metrics are compared using case\-level differences
di\(Z\)=Zi\(B\)−Zi\(A\)d\_\{i\}^\{\(Z\)\}=Z\_\{i\}^\{\(B\)\}\-Z\_\{i\}^\{\(A\)\}on the same case\. We report the mean paired difference and use Wilcoxon signed\-rank tests\. For paired binary outcomes, such as strict correctness and pass/fail status, we use exact McNemar tests\. Bootstrap confidence intervals are computed by resampling cases with replacement while preserving the paired structure\.
For stage sequences, Mann–Kendall tests summarize monotonic trends, augmented Dickey–Fuller tests summarize stationarity, CUSUM curves identify possible change points, and segmented regression describes slope changes or plateau behavior\. These analyses are descriptive diagnostics for longitudinal behavior\.
### C\.7Sensitivity
The main paper reports component metrics alongside composite scores so that conclusions are not determined by a single weighting choice\. As a sensitivity check, we recompute utility rankings under alternative cost weights while keeping the same episode logs and outcome scores\. Table[6](https://arxiv.org/html/2606.28900#A3.T6)reports the resulting rankings\.
Table 6:Utility\-weight sensitivity on the 80\-case model\-comparison subset\. Weights are\(S,turns,tests,invalid\)\(S,\\mathrm\{turns\},\\mathrm\{tests\},\\mathrm\{invalid\}\)\.
## Appendix DReproducibility Notes, Additional Results, and Ablations
This appendix consolidates the reproduction notes and supplementary experimental results for Section[5](https://arxiv.org/html/2606.28900#S5)\. The results are organized by their role in the paper: model\-comparison supplements, MDT consultation supplements, longitudinal memory and held\-out transfer, update and retention diagnostics, and memory ablations\. Exact split membership, commands, and configuration files are provided in the released artifact rather than duplicated as paper\-side command or configuration listings\.
### D\.1Reproducibility and Operational Notes
#### Reproducibility notes\.
The experiments use API\-based inference rather than local model training or fine\-tuning\. The default random seed is 7\. The reported experiments use Qwen\-Turbo, Qwen3\.5\-122B\-A10B, GLM\-5, and Kimi\-K2\.5 as doctor, consultant, patient, or manager models depending on the study\. Tables in the main paper and appendix report the episode counts used for each study, and configuration files specify the model roles, resource limits, memory mode, and retrieval settings\. The reported experiments used API\-based inference with an approximate total operational cost of about USD 100 under our provider configuration\. Because pricing and routing vary across providers, we report this as an approximate operational cost rather than a standardized benchmark cost; future releases should include standardized per\-run cost accounting\.
#### Operational parsing and interaction noise\.
The runner uses JSON\-only prompts together with schema and action validation\. Malformed or unusable LLM turns are logged asllm\_error\_turns, and invalid catalog requests are logged asinvalid\_testsand included in the invalid\-test rate\. Table[7](https://arxiv.org/html/2606.28900#A4.T7)reports these logged noise fields rather than silently dropping them\. We do not treat this as a full audit of simulator hallucination or parser\-recovery behavior; those remain useful targets for future benchmark hardening\.
Table 7:Logged parsing and interaction\-noise indicators\.
### D\.2Model\-Comparison Supplements
This subsection supports the model\-comparison experiment in Section[5](https://arxiv.org/html/2606.28900#S5)\. The paired deltas test whether differences relative to Qwen\-Turbo remain visible on the same 80 cases; the confidence\-interval table adds uncertainty estimates; the full\-vignette comparison provides a static complete\-input supplement; and the full summary plus figure decompose outcome and process behavior\.
Table 8:Paired model\-comparison deltas against Qwen\-Turbo on 80 shared cases\. Continuous metrics use Wilcoxon signed\-rank tests; strict accuracy uses exact McNemar tests\.Table 9:Answer\-only and episode\-trace model\-comparison summary with 95% bootstrap CIs\. Answer\-only metrics are projections from the final answer produced during the episode; trace metrics additionally provide utility and process costs\.Table 10:Full\-vignette static QA results and paired dynamic episode comparison on the 80\-case subset for two models\. Static evaluation gives the complete case vignette in a single prompt and excludes manager\-only fields, gold diagnoses, aliases, and rubrics\.The static condition is a paired supplement rather than a replacement for episode evaluation\. It shows that complete\-input final\-answer performance and interactive episode performance can differ in both magnitude and direction: Qwen\-Turbo improves under full\-vignette input, whereas Kimi\-K2\.5 has a higher static composite score but lower static strict diagnostic accuracy than in the dynamic episode condition\. Static QA therefore helps contextualize final\-answer ability, while episode traces remain necessary for measuring information acquisition, examination cost, invalid actions, and utility\.
Table 11:Full model\-comparison summary on 80 shared episodes\.Figure 4:Model\-comparison evidence on 80 shared episodes\. \(A\) Outcome components separate diagnosis, evidence, plan, and total score\. \(B\) Process cost compares interaction turns and requested tests\. \(C\) Case\-level score distributions expose variance across episodes\. \(D\) Outcome\-versus\-testing view shows that higher total score and higher examination use are not identical\.Together, these supplementary results support the main conclusion of Section[5](https://arxiv.org/html/2606.28900#S5): the episode trace separates final clinical quality from process cost, examination use, invalid actions, and utility\.
### D\.3MDT Consultation Supplements
This subsection supports the MDT experiment\. The table gives the full outcome summary, while the figure decomposes whether the intervention changes outcome metrics, consultation behavior, examination use, and diagnosis\-change patterns\.
Table 12:Full MDT summary on 100 shared episodes\.Figure 5:MDT decomposition on 100 shared episodes\. \(A\) Outcome and utility compare no MDT, same\-model consultation, and stronger\-consultant consultation\. \(B\) Process cost shows the trade\-off between more interaction turns and fewer examinations\. \(C\) Diagnosis\-change ratios identify whether MDT improves, preserves, or worsens paired cases\. \(D\) Consultant behavior reports advice patterns together with call rates\.The supplementary MDT results support the interpretation in the main paper: in this Qwen\-Turbo primary\-doctor setting, consultation mainly shifts process effort away from examinations and toward consultation turns, while strict diagnostic accuracy and total score change only slightly\.
### D\.4Longitudinal Memory and Held\-Out Transfer
This subsection supports the longitudinal memory experiment\. The first table summarizes the no\-memory, cold\-start\-memory, mature\-memory, and held\-out transfer conditions\. The learning curves then show how the memory pattern varies across stages, and the paired H0/H3 table tests whether mature memory transfers to unseen cases\.
Table 13:Main longitudinal memory summary\.Stage\-level learning curves are generated by the released analysis scripts for total score, utility, exact diagnosis rate, pass rate, turns, and tests\. The qualitative pattern is consistent across the main outcome plots: E2 and E3 are above E0 and E1 for most stages, but within\-pass stage trends are not monotonically increasing because later windows can be more difficult\.
Figure 6:Stage\-level memory curves\. \(A\) Total score improves mainly after memory matures\. \(B\) Utility follows the same mature\-memory pattern while penalizing cost\. \(C\) Strict accuracy rises after E2/E3\. \(D\) Pass rate shows the thresholded outcome gain\. \(E\) Turns decline under mature memory\. \(F\) Tests remain a separate resource signal rather than a direct proxy for score\.H0 and H3 are evaluated on the same 100 external holdout cases, which are excluded from the longitudinal stream used to build memory\. H0 is the no\-mature\-memory condition on this held\-out set, while H3 loads the mature memory produced after the third longitudinal pass before evaluating the same cases\. We therefore report paired Wilcoxon signed\-rank tests for continuous or ordinal metrics and exact McNemar tests for paired binary outcomes\. The table below is computed from matched H0/H3 case\-level records in the experiment outputs and tests external transfer rather than repeated evaluation on the original stream\.
Table 14:Paired comparison on the external holdout set \(H0 vs\. H3\)\.Figure 7:External transfer comparison between H0 and H3 on 100 held\-out episodes\.The longitudinal and held\-out results support a memory\-maturation interpretation\. E1 shows limited cold\-start gains, while E2 and E3 show larger gains in outcome and utility\. On unseen cases, H3 improves total score and utility and reduces turns, although strict accuracy and pass rate remain weaker binary signals in the 100\-case holdout\.
### D\.5Update and Retention Diagnostics
This subsection collects diagnostics for the update and retention analysis\. The early–late table checks whether within\-pass stage means show monotonic improvement, while the update/BWT table and figure separate update\-stage response from backward retention\.
Table 15:Early–late stage diagnostics for the main memory stream\.Table 16:Update response and backward\-transfer diagnostics\.#### Descriptive time\-series diagnostics\.
Mann–Kendall, ADF, CUSUM, and segmented\-regression outputs are treated as descriptive checks rather than definitive significance evidence because update analyses use only ten stage points\. In the update experiment, the update windows raise both G0 and G1 means, so the event is interpreted as a distributional response test rather than a purely adverse shock\.
Figure 8:Update and retention diagnostics\. \(A\) Stage total score separates pre\-update, update, and post\-update windows\. \(B\) Stage utility repeats the analysis with resource penalties\. \(C\) Backward\-transfer deltas compare final evaluation against first evaluation on earlier stages\. \(D\) G1 CUSUM curves provide a descriptive check for stage\-level shifts\.The update results should therefore be read together with BWT\. The update interval produces a positive current\-stage response, while the BWT values indicate mild backward degradation rather than catastrophic forgetting\.
### D\.6Memory\-Content and Retrieval\-Scale Ablations
This subsection reports mechanism\-oriented ablations on a 100\-case subset\. The memory\-content ablation compares success\-plus\-failure memory with failure\-only memory, and the retrieval\-scale ablation variesKretK\_\{\\mathrm\{ret\}\}under the same success\-and\-failure memory setting\.
Figure 9:Memory ablations on the 100\-case mechanism subset\. \(A\) Memory\-content comparison tests whether success and failure cards differ from failure\-only cards\. \(B\) Retrieval\-scale comparison variesKretK\_\{\\mathrm\{ret\}\}and tracks score, strict accuracy, and utility\.Table 17:Memory\-content ablation on the 100\-case mechanism subset withKret=3K\_\{\\mathrm\{ret\}\}=3\.Table 18:Retrieval\-scale ablation on the 100\-case mechanism subset with success and failure memories enabled\.These ablations do not identify one setting that dominates every metric\. Success memory improves strict diagnosis relative to failure\-only memory but does not improve the composite score in this small subset\. Retrieval size has a larger effect:Kret=5K\_\{\\mathrm\{ret\}\}=5gives the best outcome metrics, whileKret=1K\_\{\\mathrm\{ret\}\}=1gives the best utility and shortest consultations\.
## Appendix EPhysician Audit and Scorer Validity
This appendix supplements the automatic\-scoring limitation discussed in Section[6](https://arxiv.org/html/2606.28900#S6)\.
To stress\-test manager\-side scoring, we performed a single\-physician blinded clinical audit on 100 sampled episode final outputs\. The sample was stratified across model\-comparison and memory/held\-out settings, memory and no\-memory conditions, correct and incorrect diagnoses, and dangerous and non\-dangerous cases\. The physician auditor was blinded to the automatic manager scores and reviewed the final diagnosis, evidence, and plan fields against the reference diagnosis and rubric information\. The audit protocol was: independent physician grading, post\-hoc comparison with manager outputs, disagreement categorization by diagnosis boundary or rubric\-coverage issue, and trace\-level localization using the final structured output, returned examinations, and matched or missing rubric points\.
Table 19:Single\-physician clinical audit summary on 100 sampled final outputs\.Typical disagreements occurred near boundary diagnosis grades and rubric\-coverage judgments, especially when a final answer named a related disease family but omitted decisive evidence or management details\. This audit measures manager\-vs\.\-physician agreement for automatic scoring\. It does not estimate agreement among multiple physicians, and larger physician\-adjudicated subsets remain important future work\.Similar Articles
MetaEvo: A Meta-Optimization Framework for Experience-Driven Agent Evolution
MetaEvo proposes a two-stage framework for continual evolution of LLM-based agents, using preference-based optimization to enhance principle abstraction and modular architecture for experience reuse, outperforming strong baselines on reasoning benchmarks.
EvoMaster: A Foundational Agent Framework for Building Evolving Autonomous Scientific Agents at Scale
EvoMaster is a scalable, self-evolving agent framework for large-scale scientific discovery that enables iterative hypothesis refinement and knowledge accumulation across experimental cycles. It achieves state-of-the-art results on four benchmarks including Humanity's Last Exam (41.1%) and MLE-Bench Lite (75.8%), outperforming general-purpose baselines by up to 316%.
Toward Vibe Medicine: A Self-Evolving Multi-Agent Framework for Clinical Decision Support
This paper presents VIBEMed, a multi-agent framework with a self-evolution mechanism and safety sandbox for robust clinical decision support, integrating specialized agents for diagnosis, treatment planning, and evolving clinical knowledge over time.
Traj-Evolve: A Self-Evolving Multi-Agent System for Patient Trajectory Modeling in Lung Cancer Early Detection
This paper presents Traj-Evolve, a self-evolving multi-agent system that uses an experience pool and multi-agent reinforcement learning to model patient trajectories from longitudinal EHRs for lung cancer early detection, outperforming strong baselines.
EVE-Agent: Evidence-Verifiable Self-Evolving Agents
EVE-Agent introduces a framework for self-evolving search agents that ensure evidence verifiability by generating questions, answers, and evidence spans, and training on marginal accuracy gain of evidence. This improves grounded correctness without human annotations.