README: Scores of responses by doctors and ChatGPT on the Swedish family medicine licensing exam


BACKGROUND
These scores were compiled as part of a study which compared ChatGPT’s performance with real doctors on the Swedish family medicine licensing exam. At the time of publishing the data, the paper has not been published yet. The data is published here to make it available to other researchers who might want to analyse it directly.


WHAT ARE THE SCORES?
The scores from zero to ten, awarded to responses for the cases of the Swedish family medicine licensing exam years 2017-2022 [1].


ROWS
Each row represents a single response (from a single responder) to a case on a previous Swedish family medicine licensing exam from 2017-2022. These exams are publicly available on the Swedish Association of General Practice (SFAM)’s, website [1]. Since there were three responders, there are three rows per case, one for each responder.


COLUMNS
There are six columns.

1. Case: This is the number of the case. The cases are presented in a randomised order, however, so the number can not be used to associate the scores with the actual case on the exam. This is to ensure the scores are anonymous, even for someone who knows which top-tier answer was selected for which case. The purpose of this column is to group responses pertaining to the same case together.
2. Responder: This column shows who the author of the response was: ChatGPT, the top tier doctor or a randomly selected doctor.
3-5. Rater scores: This represents the scores awarded by the different raters. Each response was rated by two out of the three available raters.
6. Mean score: This is the mean of the two awarded scores for the response. This value was considered the final score awarded to the given response, and used for the subsequent statistical analyses in the study.


HOW WERE THE SCORES DETERMINED
For each case, SFAM  has published an evaluation guide, containing a couple of main points which should be included in a good answer, but the precise scoring guide used for the exam is not public. To quantify the performance of each exam response, the published evaluation guide for each case was adapted into a criteria-based scoring guide. Each scoring guide could award a score ranging from 0 to 10 points. This adaptation involved rephrasing each evaluation guide into a set of true-or-false criteria. For each criterion met, a specific number of points would be awarded. A group of three medical doctors, blinded to the origins of the responses, took part in rating the responses, using the scoring guide. Each response was scored by two of the three raters, and the average of their scores was used for the subsequent statistical analysis. The same pair of raters assessed all responses pertaining to the same case.


EXAMPLE OF CASE AND SCORING GUIDE
An example of a single case and its corresponding evaluation guide and scoring guide is provided below. The case is translated from Swedish to English. The Swedish version was used in the study.


EXAMPLE CASE:
---------------------------------------------------------------
Bengt, 76 years old, comes for an annual check-up for diabetes and hypertension. You don't know him from before. His wife is accompanying him, and they tell you that he has generally deteriorated in the last year. He is tired and feels weak, has a headache, has a poor appetite, is dizzy and falls easily, coughs a bit, feels sick and has become more forgetful.

Before the doctor’s appointment: blood pressure 130/70, height 177 cm, weight 71 kg, pulse 95/minute. Drugs: Metformin 500 mg 2x2, Felodipine 10 mg 1x1, Enalapril 5 mg 1x1. The medicine list also contains Betolvidon 1 mg 1x1 and Folacin 1 mg 1x1, but he is out of these medications.

Lab: HbA1C 34, fasting blood glucose 7.6. ALT 0.36. Creatinine 67. Potassium 4.5. Cholesterol 3.8. Cobalamin 291. Folate 8.
---------------------------------------------------------------


EXAMPLE SCORING KEY:
---------------------------------------------------------------
Does the answer mention the need to let them talk and provide more information? (0.5 p)
Does it prioritise reasonably between the various problems? (0.5p)
Does it suggest an ECG? (0.75p)
Does it suggest haemoglobin (Hb)? (0.75p)
Does it suggest a neurological examination? (0.5p)
Does it express the need to assess his alcohol consumption? (0.5p)
Does it mention heart disease/failure as a possible diagnosis? (0.5p)
Does it mention low blood pressure as a possible diagnosis? (0.5p)
Does it mention low blood sugar (hypoglycaemia) as a possible diagnosis? (0.5p)
Does it mention anaemia as a possible diagnosis? (0.5p)
Does it mention memory loss/dementia as a possible diagnosis? (0.5p)
Does it mention inactivity as a possible diagnosis? (0.5p)
Does it suggest a review of his medications? (2p)
Does it suggest reducing the metformin dose? (0.5p)
Does it suggest reducing the felodipine dose? (0.5p)
Does it suggest a trial of reduced enalapril dose? (0.5p)
---------------------------------------------------------------


REFERENCES
1. 	Specialistexamen – SFAM [Internet]. [cited 2023 Sep 30]. Available from: https://sfam.se/specialistexamen/