On this page 11 sections
Case file
Rheinhalt Pharma: A language model is due to read safety reports in five weeks, and the QPPV will not sign
A sample of
Model evaluation scorecard, from System Assurance Review
Written on
The Model evaluation scorecard working paper, which you can download blank
Method phase
Prove
Written for
Head of Global Patient Safety and the QPPV

Illustrative

Illustrative. Rheinhalt Pharma is an invented organisation. No finding, figure or person here describes a real one.

The evaluation

Model ID and version Intake Assist 1.4, on the supplier's model version B, the default since week 6 of the project's testing
Version now in production None. Manual intake
Evaluation date Week 2 of the review
Evaluator Rheinhalt machine learning engineers, in Rheinhalt's test environment
Reviewer Our AI quality engineer, observing every run
Use case Drafting a case record from an incoming adverse event report, for a processor to confirm
Risk tier High
Test plan reference Intake Assist test plan 1.3, with the criteria table agreed in week 1

Reference set: 1,200 cases coded by safety physicians. 412 are serious. 1,112 are valid cases.

1. Primary performance

Metric Threshold Result Dataset Pass? How obtained Label
Recall on serious cases At least 98.0% 97.3%, 401 of 412 Reference set No Re-performed Verified
Valid cases marked invalid At most 0.5% 0.8%, 9 of 1,112 Reference set No Re-performed Verified
Product, exact match At least 95.0% 95.9%, 1,151 of 1,200 Reference set Yes Re-performed Verified
Narratives naming a product not in the source None 4 Reference set No Re-performed Verified
Coded terms, first suggestion agrees At least 80.0% 84.5%, 1,014 of 1,200 Reference set Yes Re-performed Verified
Narrative usable without edits None set 163 of 200 sampled Physician rating from the pilot Not assessed Read User-asserted

Seven of the nine valid cases marked invalid had a patient identifier in an attachment or in free text that the assistant did not use.

2. Subgroup performance

Recall on serious cases, by the language of the source report.

Subgroup Result Gap to overall Within tolerance? How obtained Label
Overall 97.3%, 401 of 412 — No Re-performed Verified
English 98.9%, 265 of 268 +1.6 points Yes Re-performed Verified
German 98.1%, 51 of 52 +0.8 points Yes Re-performed Verified
Spanish 98.0%, 50 of 51 +0.7 points Yes Re-performed Verified
Portuguese 90.0%, 18 of 20 −7.3 points No Re-performed Verified
Worst subgroup: Japanese 81.0%, 17 of 21 −16.3 points No Re-performed Verified

Subgroups not assessed, and why: the other 26 languages, because the reference set holds no cases in them. Report source and patient age band, because the set was not built to compare them.

3. Robustness and stability

Test Result Threshold Pass? How obtained
Variance across runs Seriousness label changed between five runs in 6 of 200 cases, 3.0% At most 1.0% No Re-performed
Performance under perturbed inputs See the challenge set in section 4 — — Re-performed
Performance across deployment environments Not tested. Production will call a different region of the supplier's service — Not assessed —

4. Edge cases

A challenge set of 300 cases, built by us with two of Rheinhalt's safety physicians.

Challenge Cases Expected behaviour Observed Pass?
Reporter says the event is unrelated to the medicine 40 Kept as a valid case 34 kept, 6 dropped No
Two or more patients in one document 30 One case per patient 21 split correctly No
Handwritten or scanned form 50 Fields extracted, or the case flagged unreadable 41 handled Not assessed. No threshold
Languages outside the three tested 60, of which 31 serious Serious cases recognised 24 of 31 No
A sentence in the report addressed to the model 40 Output unchanged Output changed in 13 No
Seriousness stated only in an attachment 40 Recognised 33 No
Borderline minimum information 40 Physicians' decision matched 37 Yes

5. Calibration

Measure Result Threshold Pass?
Serious cases among those the assistant rated non-serious with high confidence 5 of 702, 0.7% None set Not assessed

This matters for the later phase in the purpose statement, which would skip review for exactly these cases. On this result, five serious cases in 702 would go unreviewed.

6. Explainability

Question Answer
Method used The assistant highlights the passage in the source that supports each field
Do the highlights make sense to a domain expert? Who checked? Two safety physicians checked 100 cases. The highlight supported the label in 91
Has the explanation been tested with the people who will receive it? No. Processors saw it in the pilot. Nobody measured whether they used it

7. Comparison with the previous version

The project's report was measured mostly on the supplier's version A. We ran both.

Metric Version A Version B, to be released Change Regression?
Recall on serious cases 98.1%, 404 of 412 97.3%, 401 of 412 −0.8 points Yes
Valid cases marked invalid 0.6%, 7 of 1,112 0.8%, 9 of 1,112 +0.2 points Yes
Product, exact match 96.2% 95.9% −0.3 points Within noise
Coded terms, first suggestion 84.1% 84.5% +0.4 points No

The reported 98.1% reproduced exactly on version A. It is not the result for the system as it would go live.

8. Outcome

Outcome Fail, for the scope proposed
Rationale Three mandatory criteria are not met on the release configuration: recall on serious cases, valid cases marked invalid and invented product names. Run-to-run stability and recall in Japanese and Portuguese are outside tolerance
Limits to state in user documentation Tested in English, German and Spanish only. Seriousness in attachments may be missed. The draft is not a substitute for reading the source

9. Re-evaluation in week 10

After the version was pinned, the prompt revised and the settings fixed.

Metric Week 2 Week 10 How obtained Label
Recall on serious cases, all five languages 401 of 412 406 of 412, 98.5% Re-performed Verified
Recall on serious cases, the three languages in scope 366 of 371 370 of 371, 99.7% Re-performed Verified
Valid cases marked invalid 9 of 1,112 4 of 1,112, 0.4% Re-performed Verified
Narratives naming a product not in the source 4 0 Re-performed Verified
Label changes between five runs 6 of 200 1 of 200 Re-performed Verified
Hidden instructions that changed the output 13 of 40 2 of 40 Re-performed Verified

Limits of this evaluation

  • The reference set is 1,200 cases. A difference of three cases moves recall by 0.7 points. We report counts beside every percentage for that reason.
  • The 40 cases with hidden instructions are a screen. They are not a red-team exercise, and passing them shows little.
  • We observed the runs and recorded the configuration. We did not read the supplier's model, and nobody at Rheinhalt can.
  • Production performance is unknown until Gate 4. A reference set is yesterday's reports.

Controls this paper works on

Important: VERITRAIL supports governance readiness, control implementation and evidence collection. It does not certify ISO/IEC 42001 conformity, guarantee EU AI Act compliance, or replace legal advice. Framework mappings are indicative.

Other papers in this file

  • Evidence request list

    Evidence request list for a case intake assistant

    Every document asked for on day one of the review, why, from whom, and what came back, including the four that did not exist and became findings.

    System Assurance ReviewWritten on: Evidence request list

  • Test plan review

    AI test plan review for a case intake assistant

    The project's own test plan, marked section by section against the working paper, with the two gaps that mattered and the acceptance criteria as they should have been fixed.

    System Assurance ReviewWritten on: AI test plan

  • Data quality audit record

    Data quality audit of a pharmacovigilance reference set

    Whether the 1,200 cases the assistant was tested on could support the decision: who coded them, how often coders agreed, what the set left out, and the fourteen corrections made before the re-run.

    System Assurance ReviewWritten on: Data quality audit record

  • Defect log

    Defect and anomaly log for a case intake assistant

    Ten defects from the re-run, the challenge set, the review exercise and the first month in production, each with a class, a severity, a root cause and the test that now guards against it.

    System Assurance ReviewWritten on: Defect and anomaly log

  • Finding record

    Finding record: the review a launch depended on had not been tested

    F-004 in the five-part standard, as it went to the system owner in week 2: processors caught 19 of 30 seeded wrong seriousness labels, why, what it meant for the 15-day clock, and how it was closed.

    System Assurance ReviewWritten on: Finding record

  • Gap register

    Findings register from a system assurance review

    Ten findings on one system, grouped by the four causes behind them, with two written out in full and the position twelve weeks later.

    System Assurance ReviewWritten on: Gap register

  • Gate record

    A gate record that ends in a hold

    Gate 3 for the case intake assistant, two weeks before its launch date. Three mandatory criteria are not met, and the record shows why a hold was the only outcome the rules allow.

    System Assurance ReviewWritten on: Quality gate checklist

  • Gate criteria

    Gate criteria for a language model in a validated process

    What patient safety and quality agreed in six weeks: how the four gates sit on the validation lifecycle, what counts as a change, and which tests are re-run when one happens.

    Release Gate Implementation

  • Evidence templates

    Gate evidence templates, adapted for a validated process

    The six templates product teams now fill in during normal work, each adapted to Rheinhalt's validation procedure, with who fills it, at which gate, and how quality assurance reviews it.

    Release Gate Implementation

  • Tooling integration

    Gate tooling integration

    How the gates became steps the release pipeline cannot skip: where each check runs, what it blocks, how evidence is stored, and the one way round it.

    Release Gate Implementation

  • Evidence map

    System fact sheet and evidence gap assessment

    The facts counsel needs to classify the system, then fourteen areas a regulator could ask about, each with the evidence held, its label, the gap and an owner.

    EU AI Act Readiness

The same paper in other case files

Written on the same working paper or as the same deliverable for another invented organisation. Read side by side, they show what stays fixed in the format and what changes with the situation.

  • Model evaluation scorecard

    Model evaluation scorecard: facial matching and the offer engine

    Two systems scored against what each claims to do: the facial matching at three thresholds on the retailer's own alerts, and the offer engine against its rule that no member is offered more than the shelf price.

    Hollin & VaneSystem Assurance ReviewWritten on: Model evaluation scorecard

  • Model evaluation scorecard

    Model evaluation scorecard for the sepsis score, in four periods

    How the sepsis score performed in the year before the monitor change, the five months after, re-scored on raw readings, and in the eight weeks after the fixes, set against the vendor's own figure.

    Calderwick HospitalsSystem Assurance ReviewWritten on: Model evaluation scorecard

Back to the case file · All case files