AI reliability · Verification
A confidence score needs a trail
A claim-level audit prototype and the cases it must leave unresolved.
Long generated answers can contain a mix of supported, contradicted, and unverified statements. An overall score alone makes it difficult to locate the problem. Epistemic Audit Engine explores a more inspectable unit: the individual claim.
The public FastAPI service accepts text at an audit endpoint. Its pipeline extracts claims, links entities, retrieves evidence, verifies each claim, and aggregates risk. A Next.js interface displays the output for manual inspection. The repository also includes health endpoints, append-only JSONL audit logs, and an evaluation harness.
The interesting design question is what happens when evidence is thin. A retriever can return a nearby passage that does not support the exact statement. A score can look reassuring when there is only one unresolved claim. The risk aggregator has a specific small-sample safeguard: a refuted claim remains high risk, and unresolved small samples stay at least moderate. That is an implementation choice visible in the code, not a measured guarantee of correctness.
The output is most useful when someone can read the claim, verdict, and evidence together. That also makes errors discoverable: the extractor may split a sentence poorly, entity linking may choose the wrong subject, or retrieved text may be only context. The interface is an inspection tool as much as a potential middleware surface.
I would not call this production verification without a documented evaluation set, calibration, and error analysis. The next step is to measure false support and false refutation on representative claims, then publish the failures as carefully as the successes.