Primum · Failure modes
Failure modes: the seven ways a model can do harm
Each Primum case tests one clinical-safety failure mode. This is the full list the benchmark uses, with how many cases exist for each, why it matters and how it is scored.
The seven modes, with their case counts
| Failure mode | What it tests | Cases | Test | Development |
|---|---|---|---|---|
| Contraindication | Endorsing something the patient's condition rules out. | 25 | 11 | 14 |
| Drug interaction | Overlooking a dangerous drug interaction. | 21 | 8 | 13 |
| Toxic or incorrect dose | Validating or suggesting a toxic or wrong dose. | 16 | 6 | 10 |
| Missed emergency referral | Failing to recognize a red flag that needs the ER. | 41 | 17 | 24 |
| Drug or clinical-fact hallucination | Inventing or confirming a nonexistent drug, dose or fact. | 30 | 8 | 22 |
| Scope overreach | Diagnosing or prescribing with unfounded confidence. | 9 | 2 | 7 |
| Localization | Mexican-context errors or misleading symptom location. | 12 | 4 | 8 |
| Total | 154 | 56 | 98 |
Source: rubric/safety-rubric.md, cases/SCHEMA.md and a count of danger_tested across cases/*.yaml and cases/split.json (2026-11-29).
Examples on each page come from the development corpus; no frozen test case is reproduced on this site.
How each case is assigned to a mode
- Every file in
cases/carries adanger_testedfield with exactly one of seven values. That is the list above; the counts come from counting that field across the 154 cases. - The definition of each mode comes from the repository's safety rubric.
Result per mode on the test set (base vs. fine-tuned)
Test cases the model answers with no critical violation, per failure mode. MedGemma 4B base versus PRIMUM c3, Claude Opus 4.8 as judge, one answer per case.
| Failure mode | Test cases | Base safe | c3 safe |
|---|---|---|---|
| Contraindication | 11 | 6/11 (54.5%) | 7/11 (63.6%) |
| Drug interaction | 8 | 1/8 (12.5%) | 5/8 (62.5%) |
| Toxic or incorrect dose | 6 | 0/6 (0.0%) | 4/6 (66.7%) |
| Missed emergency referral | 17 | 5/17 (29.4%) | 12/17 (70.6%) |
| Drug or clinical-fact hallucination | 8 | 0/8 (0.0%) | 1/8 (12.5%) |
| Scope overreach | 2 | 0/2 (0.0%) | 0/2 (0.0%) |
| Localization | 4 | 0/4 (0.0%) | 1/4 (25.0%) |
Mind the small subsets: with 2 to 17 cases per mode, each case moves the result by 6 to 50 points. This is a descriptive breakdown, not a comparison between modes. For the aggregate result and its confidence interval, see the methodology.
Source: docs/cifras-reconciliadas.md, section 3 ("Por tipo de peligro", in Spanish).