SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2412.11716 · 2024

LLMs Can Simulate Standardized Patients via Agent Coevolution

arXiv · PDF · Open in the Atlas

Code that ran

12 of 14 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 11 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2412.11716.json · badge: /api/ran/2412.11716.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
zjumai/evopatient canonical (classifier label)
classifier basis: census
12 ran · 2 no recorded run
FunctionStatusWhere it lives
create_bm25_index Ran
ran; our contract draft was wrong, not the code
zjumai/evopatient/RAG/fusion_retrieval.py
pointer only (licence: NONE) · get_code("dc0cddb1646d34ec")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zjumai/evopatient when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

deduplicate_records Ran
ran; our contract draft was wrong, not the code
zjumai/evopatient/dataset/bulit_dataset.py
pointer only (licence: NONE) · get_code("f2e84ef75b70aa7d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zjumai/evopatient when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_cosine_similarity Ran
ran, violated the contract we drafted
zjumai/evopatient/Simulated/simulated_patient/agent_evolve.py
pointer only (licence: NONE) · get_code("c37863a5d4a5d527")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zjumai/evopatient when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

match_star Ran
ran; our contract draft was wrong, not the code
zjumai/evopatient/utils.py
pointer only (licence: NONE) · get_code("db73ff569ce20a14")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zjumai/evopatient when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

match_star_strict Ran
ran; our contract draft was wrong, not the code
zjumai/evopatient/utils.py
pointer only (licence: NONE) · get_code("c033fc37bce2b39b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zjumai/evopatient when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

normalize_df Ran
ran; our contract draft was wrong, not the code
zjumai/evopatient/dataset/bulit_dataset.py
pointer only (licence: NONE) · get_code("0bd7d818d6a9393d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zjumai/evopatient when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

read_prompt Ran
ran; our contract draft was wrong, not the code
zjumai/evopatient/utils.py
pointer only (licence: NONE) · get_code("0c2b1e68e05635fc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zjumai/evopatient when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

read_qus_embedding_doctor Ran
ran; our contract draft was wrong, not the code
zjumai/evopatient/Simulated/simulated_patient/agent_evolve.py
pointer only (licence: NONE) · get_code("90aa2c4272ec2192")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zjumai/evopatient when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

read_qus_embedding_from_csv Ran
ran; our contract draft was wrong, not the code
zjumai/evopatient/Simulated/simulated_patient/agent_evolve.py
pointer only (licence: NONE) · get_code("7d56b733d4de7166")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zjumai/evopatient when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

replace_t_with_space Ran
ran; our contract draft was wrong, not the code
zjumai/evopatient/RAG/helper_functions.py
pointer only (licence: NONE) · get_code("45c1c2ad001860af")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zjumai/evopatient when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

replace_t_with_space_for_text Ran
ran; our contract draft was wrong, not the code
zjumai/evopatient/RAG/helper_functions.py
pointer only (licence: NONE) · get_code("a46e3a5b0cd120bf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zjumai/evopatient when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

text_wrap Ran
ran; our contract draft was wrong, not the code
zjumai/evopatient/RAG/helper_functions.py
pointer only (licence: NONE) · get_code("eac1ae2a6a33902f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zjumai/evopatient when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_embeddings Not yet run
unverified (harvested, no recorded run)
zjumai/evopatient/embedding_function/sentence_embedding.py
pointer only (licence: NONE) · get_code("fc512197798fe2a7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zjumai/evopatient when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_sheets Not yet run
unverified (harvested, no recorded run)
zjumai/evopatient/dataset/bulit_dataset.py
pointer only (licence: NONE) · get_code("45acbd8d0fa171a9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zjumai/evopatient when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 14 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Training medical personnel using standardized patients (SPs) remains a complex challenge, requiring extensive domain expertise and role-specific practice. Previous research on Large Language Model (LLM)-based SPs mostly focuses on improving data retrieval accuracy or adjusting prompts through human feedback. However, this focus has overlooked the critical need for patient agents to learn a standardized presentation pattern that transforms data into human-like patient responses through unsupervised simulations. To address this gap, we propose EvoPatient, a novel simulated patient framework in which a patient agent and doctor agents simulate the diagnostic process through multi-turn dialogues, simultaneously gathering experience to improve the quality of both questions and answers, ultimately enabling human doctor training. Extensive experiments on various cases demonstrate that, by providing only overall SP requirements, our framework improves over existing reasoning methods by more than 10\% in requirement alignment and better human preference, while achieving an optimal balance of resource consumption after evolving over 200 cases for 10 hours, with excellent generalizability. Our system will be available at https://github.com/ZJUMAI/EvoPatient.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2412.11716")
get_code_for_paper("2412.11716")
have("2412.11716")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2412.11716.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2412.11716.svg)](https://syntology.ai/paper/2412.11716)

Connect an agent — have() is free.