On this page 7 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
AI test plan review, from System Assurance Review
Written on
The AI test plan working paper, which you can download blank
Method phase
Prove
Written for
Head of Global Patient Safety, the QPPV and the Head of Pharmacovigilance Quality Assurance

Illustrative

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

The plan under review

Document Intake Assist test plan, version 1.3
System name Intake Assist, application version 1.4
Model and version Named in the plan by the supplier's product name only. No version is given
Risk tier High
Author Product owner, Intake Assist
Approved by Head of Global Patient Safety, eleven weeks before this review
Criteria fixed on No date in the plan. See section 5
Reviewed by Engagement lead and AI quality engineer, week 1

Our assessment, section by section

Section of the plan Assessment What we found Label
1. Test objectives Present and adequate Four objectives. Each can be tested Verified
2. Scope Present with gaps The purpose statement covers unattended processing of non-serious cases. Phase one does not include it and no test addresses it Verified
3. Risks and the tests that answer them Present with gaps Nine risks in the risk assessment. Six map to a test. Three map to none Verified
4. Test types Present with gaps No adversarial testing. Subgroup testing by language covers three languages of 31 Verified
5. Acceptance criteria Present with gaps Thresholds are stated. They were written after the first results Verified
6. Test data Present and adequate A reference set of 1,200 cases coded by safety physicians, identified by hash Verified
7. Environment Present with gaps The model is named without a version, so the environment cannot be reproduced from the plan Verified
8. Entry and exit criteria Present and adequate Stated for each phase Verified
9. Roles Present with gaps The product team runs the tests and reports the results. Nobody outside it re-performs any Verified
10. Defect management Absent Defects were tracked in the product backlog with no severity Verified

The two gaps that mattered

The thresholds have no date. The plan says recall on serious cases must be at least 97%. We asked when that figure was agreed. The product owner told us it was set after the first full run, which scored 97.6%. The version history of the plan confirms it: version 1.0 has an empty threshold column. A threshold chosen after the result cannot fail. This is finding F-001.

The model has no version. The plan names the supplier's model by its product name. The supplier serves more than one version under that name and moves the default. Nine weeks of test results cannot be tied to one version from the plan alone. This is finding F-002, and the scorecard shows what it cost.

Risks with no test

Risk, from the project's risk assessment Priority Test in the plan Our note
A serious case is classified non-serious High Recall on the reference set Tested. No test of whether the reviewing processor catches a miss. F-004
A valid case is rejected as invalid High Validity accuracy on the reference set Tested
The wrong product is recorded High Exact match on the reference set Tested. Fabricated product names were not looked for
Performance differs by language High English, German and Spanish subsets Tested for three languages. F-003
Text in a report alters the assistant's behaviour Medium None Not tested. F-005
The supplier changes the model Medium None Not tested, and it happened. F-002
The assistant gives different answers to the same report Medium None Not tested
Processors rely on the draft without reading the source High None. The plan cites processor training Not tested. F-004, F-009
The service is unavailable Low Failover test Tested. Return to manual intake was not rehearsed. F-007

The acceptance criteria as they should have been fixed

We agreed this table with the product owner, the QPPV and quality assurance in week 1, before the re-run, and dated it.

Quality attribute Metric Threshold Measured on Source of the threshold
Serious cases recognised Recall At least 98.0%, mandatory Reference set, each language in scope The QPPV's tolerance for a late report, with a second check in place
Valid cases kept Share of valid cases marked invalid At most 0.5%, mandatory Reference set The QPPV's tolerance
Product recorded Exact match At least 95.0% Reference set Current manual error rate, from quality sampling
Product invented Narratives naming a product not in the source None, mandatory Reference set Patient safety
Terms coded Agreement with physician coding, first suggestion At least 80.0% Reference set Business requirement. A processor confirms every term
Same answer twice Cases whose seriousness label changes between five runs At most 1.0% 200 cases from the reference set Quality assurance
Review works Seeded wrong seriousness labels corrected by processors At least 27 of 30, mandatory Exercise in the training environment The QPPV's tolerance

A result below threshold on any attribute marked mandatory is a fail, whatever the other results.

What we asked the team to add

  1. A date and a signature on the criteria table above.
  2. The model version, the prompt version and the sampling settings, recorded with every test run.
  3. A challenge set for the ways intake is known to fail. We built one of 300 cases with two safety physicians and left it with the team.
  4. A defect and anomaly log with severities, started from the backlog items.

What this review did not cover

  • The reference set's own quality beyond a sample. Two physicians re-coded 100 of its 1,200 cases and disagreed with the original coding in 14. Those were corrected. The rest were not re-coded.
  • The workflow around the model. The validation lead tested it and we read the report. We did not repeat it.
  • Whether the thresholds are the right ones. They are the tolerances of the people accountable. We checked that they were fixed before the run.

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

  • Evaluation scorecard

    Model evaluation scorecard after an observed re-run

    Every headline result re-performed in the company's own environment. The reported recall reproduced on one model version and not on the one going live.

    System Assurance ReviewWritten on: Model evaluation scorecard

  • 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

Back to the case file · All case files