All workCase study / AI reliability experiment

Research prototype · 2026

Epistemic Audit Engine

A claim-level audit service that separates supported, refuted, and unresolved statements in generated text.

My role

Designed and built the pipeline and interface; sole contributor to the public repository. No production adoption is claimed.

Status

Research prototype, 2026

Stack

Python · FastAPI · Next.js · Evidence retrieval · JSONL evaluation logs

Epistemic Audit Engine homepage: Audit where AI confidence exceeds evidence, with Run Epistemic Audit and Read Methodology buttons
Homepage of the deployed interface
01 / Problem

What needed to work

A single confidence score hides which statements in a long answer are grounded, contradicted, or still unknown.

02 / Approach

How I approached it

The FastAPI audit path extracts claims, links entities, retrieves evidence, verifies individual claims, and aggregates a structured risk response.

The Next.js inspection interface lets a person review the per-claim output. The repository also contains health endpoints, append-only audit logs, and an evaluation harness.

Evidence retrieval and verdicts are fallible. An uncertain result is surfaced as uncertainty rather than silently promoted to support.

Epistemic Audit Engine result for three sentences: six extracted claims, three supported by Wikidata, three left uncertain, none refuted, with the inspector showing the Wikidata evidence for 'The Eiffel Tower is in Paris'
A real audit, run locally from the current source on 29 Sep 2026. The false claim about Marie Curie is left uncertain rather than refuted.
03 / Decision

A meaningful tradeoff

The risk aggregator guards against a misleading low-risk result on a small sample: refuted claims remain high risk, while unresolved small samples stay at least moderate in the implementation.

04 / Evidence

What this demonstrates

A verdict is useful only with the claim and evidence that produced it. The repository demonstrates the pipeline, but does not establish accuracy in a live customer setting.

What I would do next

Redeploy the backend with a Wikipedia client that identifies itself properly (the deployed one was being rate-limited, which left every claim uncertain), keep it warm, then publish a defined evaluation set and error analysis before making reliability claims.