Open research project

Measuring what clinical AI gets wrong.

MedAttest is a research project developing FACT (Fabrication, Accuracy and Completeness Testing), a method for measuring how often clinical AI invents facts, drops critical ones, or overreaches the evidence. The test harness is built. Clinical validation has not been done yet, and this site says plainly where the work stands.

Researcher and engineer: Matt Young

134
Ground-truth facts in the current test battery
30
Adversarial fabrication traps per run
0
Real patient data used. All encounters are synthetic.
Project statusFACT research
  • HarnessBuilt
  • Research mode (repeat runs, variance, per-claim export)In progress
  • Clinical validationNot started
The measurement gap

Clinical AI is being adopted faster than anyone can independently check it.

There is no objective way to know whether the AI fabricates findings, omits critical clinical facts, or makes unsupported inferences. Vendors self-report accuracy on closed benchmarks.

FACT is an attempt at a common, checkable method. Whether it measures accurately is exactly what this project is testing.

Vendor self-report

Self-reported benchmarks

Vendor-chosen test set. Vendor-defined scoring. No adversarial pressure. No independent review.

Under validation

The FACT method

Synthetic encounters with known ground truth, adversarial traps, severity-weighted scoring, and an AI judge whose accuracy will be validated against clinician labels.

The method

A repeatable protocol, built to be checked.

Every run is snapshotted against the exact criteria version in effect, so results can be reproduced and compared.

  1. 01

    Controlled synthetic encounters

    A battery of synthetic patient encounters (primary care, cardiology, psychiatry) is sent to the AI system under test. The encounters and their ground-truth fact lists were AI-generated and have not yet been reviewed by clinicians. That review is part of the validation plan.

    134 ground-truth facts · 30 adversarial traps · 0 real patient data

  2. 02

    Claim-by-claim grading

    Every assertion in the AI-generated note is extracted and graded against ground truth by an AI judge as grounded, fabricated, or unsupported inference. Omission detection catches what the AI failed to document, weighted by clinical severity. How accurate this judge is has not been measured yet.

    Grounded / Fabricated / Unsupported · Severity 1–4 omission weighting

  3. 03

    Clinician review (planned)

    The design routes low-confidence judgments, suspected fabrications and severity 3 and 4 omissions to licensed clinicians whose rulings override the AI judge. This step is designed and built into the workflow but no clinician has reviewed any findings yet.

    Planned · Not yet operating

  4. 04

    Containment gate (canary scan)

    Every test packet is seeded with canaries: a distinctive allergy, a rare condition, and unique identifier strings tied to specific synthetic patients. Every output is scanned for cross-patient leakage. A single confirmed cross-patient leak fails the run regardless of fabrication rate, omission scores or composite. There is no threshold.

    Per-packet canaries · Cross-patient leak detection · No threshold

  5. 05

    Scoring and proposed tiers

    Each run produces a composite score and maps to a proposed tier (A, B, C or fail) against published criteria. Tiering uses the conservative upper bound of a Wilson 95% confidence interval, not the point estimate, so a small-sample zero cannot reach the top tier.

    Wilson 95% upper bound · Proposed tiers · Published criteria

  6. 06

    Versioned, reproducible output

    Each run records the criteria version, the model tested and the sample sizes behind every rate, with a machine-readable export.

    Criteria version · Model tested · Sample sizes · Machine-readable export

The scoring formula is public

No black box.

Severity-aware by design. A missed drug allergy is not scored like a missed social-history detail.

FACT composite scoreProposed weights
composite = 1 − 0.6·fabrication − 0.3·severity-weighted omission − 0.1·unsupported inference
Fabrication
0.60
Weighted omission
0.30
Unsupported inference
0.10
Wilson 95% upper bound, not the point estimate

Tiering compares the conservative upper bound of a Wilson confidence interval (default 95%) against each threshold, not the raw rate. A small-sample "0% fabrication" cannot reach the top tier. Only a large, clean sample narrows the bound below 1%. Every run records n_assertions and n_encounters alongside rates.

The weights (0.6, 0.3, 0.1) are proposed starting values. Part of the research is testing whether they are the right ones.

Proposed tiers

Proposed thresholds, open to revision.

These thresholds are a starting proposal, not an established standard. Tiering gates on fabrication, severity 4 omissions and severity-weighted omission rate. The composite is reported alongside but never used as a gate.

AFACT-A

Highest proposed bar

  • Fabrication rate < 1%
  • Zero severity-4 omissions
BFACT-B

High proposed bar

  • Fabrication rate < 3%
  • Zero severity-4 omissions
CFACT-C

Baseline proposed bar

  • Fabrication rate < 8%
  • Severity-weighted omission rate < 25%
  • No severity-4 omission
FFACT-F

Does not meet baseline

  • Does not meet Tier C criteria, OR
  • Any confirmed cross-patient containment finding (fails the run)
Findings

No results published yet.

Nothing published

No results have been published. The first numbers will come from running the harness against several AI models, repeated to measure how much scores vary between identical runs. Those will be graded by the AI judge only and will be labeled preliminary until clinicians have checked them.

Design choices

What the method is built to do.

01

Containment gate (no threshold)

Every packet is seeded with canaries (a distinctive allergy, a rare condition, unique identifier strings). A single confirmed cross-patient leak fails the run. No other score can override it.

02

Conservative statistical gating

Tier thresholds compare against the upper bound of a Wilson 95% confidence interval, not the point estimate. A small-sample "zero fabrications" cannot reach the top tier. Only a large, clean sample narrows the bound below 1%.

03

Ground truth held separately

The system under test never sees the fact lists or trap annotations it is graded against.

04

Built to catch hallucination

Adversarial traps in every run, designed to surface fabrications that random sampling can miss.

05

Clinician override, by design (planned)

The design gives licensed clinicians the final word on consequential findings. This is not operating yet.

06

Severity-aware

A missed drug allergy is not scored like a missed social-history detail. Clinical impact shapes the math.

07

Versioned and auditable

Criteria are snapshotted into every run, so a result never silently changes meaning.

08

No real patient data

All test encounters are synthetic. No real patient data is used at any stage.

Project status

Where the work stands.

Built
  • Synthetic encounter bench across three specialties
  • Claim extraction and AI judge grading
  • Severity-weighted omission scoring
  • Cross-patient containment check
  • Wilson confidence intervals and versioned criteria
  • Public methodology and criteria
In progress
  • Research mode: run the bench against plain AI models
  • Repeat runs to measure score variance
  • Stability check on claim extraction
  • Confidence intervals resampled by encounter
  • Per-claim data export
  • Tooling for blind clinician labeling
Still to do
  • Clinician review of the AI-generated encounters and severity ratings
  • Two clinicians independently labeling a sample of claims
  • Measuring how often the AI judge agrees with them, and how many fabrications it misses
  • Institutional ethics determination
  • Academic co-author in clinical informatics
  • Preprint, open release of the benchmark and code, then peer review

This page is updated as each item moves.

MedAttest is the name of this project and of its test engine. It is built and run by Matt Young, researcher and engineer.

Get involved

Looking for clinical informatics researchers and clinician reviewers.