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.