Currently submitted to: JMIR Formative Research
Date Submitted: Nov 9, 2026
Open Peer Review Period: Nov 20, 2026 - Jan 15, 2027
(currently open for review)
Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.
Large Language Models as Test Takers and Test Writers in Congenital Heart Disease Education: Cross-Sectional Study
ABSTRACT
Background:
Large language models (LLMs) are increasingly used by residents to prepare for examinations and by educators to draft assessment items. Most evaluations report only how accurately LLMs answer board-style questions; whether the questions they generate are accurate and correctly calibrated for difficulty has rarely been examined, particularly in subspecialties such as congenital heart disease (CHD).
Objective:
This study aimed to evaluate 3 current LLMs as both test takers and test writers in CHD education, with the main focus on the quality and difficulty calibration of the questions they generate.
Methods:
In this 2-phase cross-sectional study, GPT 6 Plus (ChatGPT), Gemini 3.1 Pro, and Claude Opus 5.5 were accessed through their web interfaces in September 2026. In Phase I, each model answered 150 content-validated, case-based, single-best-answer questions written by a 5-member expert panel (scale-level content validity index 0.93) in 3 independent sessions. In Phase II, each model generated 150 questions with self-assigned difficulty levels (1-4). The 450 generated questions were pooled, randomized, and masked to model identity; 5 experts independently classified each question as valid or as containing a minor or major error and estimated its difficulty with a modified Angoff method. Accuracy was compared with exact McNemar and Cochran Q tests, consistency with Fleiss κ, error distributions with exact tests, and difficulty calibration with Spearman correlation, weighted κ, and Wilcoxon signed-rank tests.
Results:
First-session accuracy was 98.7% (148/150) for ChatGPT and Gemini and 99.3% (149/150) for Claude, with no between-model differences (all Bonferroni-adjusted P>.99), and agreement across sessions was near-perfect (κ=0.988-1.000). Of the generated questions, 92.0% (138/150), 93.3% (140/150), and 90.0% (135/150) were judged valid for ChatGPT, Gemini, and Claude, respectively. Major errors, mostly incorrect answer keys concentrated in hemodynamic calculations and recently updated guideline recommendations, occurred in 1.3% (2/150), 2.7% (4/150), and 6.7% (10/150) of questions (exact test, P=.06). Correlations between model-assigned and expert difficulty levels were ρ=0.41 for ChatGPT, 0.72 for Gemini, and 0.49 for Claude (all P<.001); ChatGPT and Claude systematically labeled their questions as easier than the experts did (both P<.001), whereas Gemini showed no systematic deviation (P=.11). No model assigned any question to the highest difficulty level.
Conclusions:
Current LLMs answer text-based CHD questions almost perfectly, so this task no longer discriminates between them. As question writers, they are useful but fallible: most generated questions were valid, yet every model produced questions with incorrect answer keys, and 2 of the 3 models underestimated difficulty. LLM-generated questions can serve as drafts for educators but require expert review of answer keys and difficulty before they are used in training or assessment.
Citation
Request queued. Please wait while the file is being generated. It may take some time.
Copyright
© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.