Official · E2 · artifact verified

Check LLM citations against source context

An official cookbook combines exact quote matching with a Jev relation judgment to label citations verified, unsupported, contradicted, or fabricated.

01 · Role in the system

What Jev does here

For each quote that exists in the source, Jev receives the claim and surrounding RFC section and chooses whether the section supports the claim, contradicts it, or says nothing about it. Code normalizes and locates quotes first, marks missing quotes as fabricated without a model call, maps the relation to a verdict, and routes low-confidence answers to human review.

02 · Control boundary

Where Jev sits

Deterministic source matching gates one bounded relation Choice; confidence thresholds decide whether code accepts or reviews the verdict.

Code owns the loop, permissions, thresholds, validation, and side effects. Jev owns only the bounded judgments described above.

03 · Known limits

What this evidence does not prove

  • The published fixture contains eight citations, including four deliberately edited failures, so it is not a representative accuracy benchmark.
  • Exact matching can label a shortened or lightly paraphrased quote as fabricated, and confidence thresholds require calibration on the target corpus.

04 · Attribution

Public sources

This is an Official record: the example was published by TypeSafe itself.

  • TypeSafeOfficial · cookbook · public · checked 2026-09-18