Skip to content
Binay Dalai

2026 · personal project

Cauzon

Part of an investigation in Cauzon: a lineage graph with one proven path of three tables and one candidate crossed out, a panel explaining why that candidate was rejected, and the start of a numbered reasoning trace beside the root cause.
One investigation in Cauzon’s live demo: the path it could prove, the candidate it rejected, and the start of its reasoning. A recorded agent run on its demo catalog, captured on November 24, 2026.

Root-cause analysis for data incidents. It walks the lineage graph upstream and only names a cause it can trace.

payments_raworders_rawcustomers_rawstg_paymentsstg_ordersstg_customersfct_revenuedim_customersrevenue_dashboard

revenue_dashboard reads fct_revenue reads stg_payments reads payments_raw. payments_raw did not load: that is a cause it can trace, the whole way.

A lineage graph of nine made-up tables: three raw tables, three staged tables, two marts and a dashboard, with an arrow from each table to the ones that read it. Five are failing. From the failing dashboard a walk goes upstream through the failing tables it reads and ends at a raw table that did not load. A second walk starts at a failing table with nothing failing upstream, and no cause is named for it. It plays by itself and repeats. Press Space, or press on it, to pause or play; the arrow keys step it by hand.

Fig. 1. A data-lineage graph. From a failing table the walk goes upstream to the cause it can trace. Illustrative data.
How this works

An arrow runs from a table to each table that reads it. A failing table is dashed and crossed.

From a failing table the walk goes upstream, from table to table, for as long as what it reads is failing too.

It names a cause only when the whole way from that cause to the table can be rebuilt. Where nothing upstream is failing, it names none. The tables here are made up.

Demo1 of 6

  1. The demo catalog has three open incidents. This run takes the first: a revenue table far below its expected volume.

  2. The suspect with the strongest signals has no lineage path to the failing table, so the proof gate rejects it.

  3. The reasoning is listed step by step. The cause it names is upstream, on a path it could reconstruct edge by edge.

  4. The proven path, the transform that carried the fault, the confidence with its parts, and a recommended fix.

  5. How the fault spread over time, and which downstream assets are wrong without anyone being alerted.

  6. The check that would have caught it at the source, earlier records on the same asset, and the new record written back to the catalog.

A finished investigation in Cauzon: the queue of incidents, the lineage graph, the suspect it rejected, the reasoning step by step, the root cause with its evidence, the proof, the assets affected, and the record written back to the catalog.
Scroll inside the screen to read the rest. Click it to see it larger.Captured from the live demo on November 24, 2026: a recorded agent run on its demo catalog.

One investigation in Cauzon, from the incident to the record

Video, 29 seconds, played here at twice its speed, no sound. Captured from the live demo on November 24, 2026: a recorded agent run on its demo catalog.

Status

Personal project, 2026. Live demo.

Problem

When a data check fails, the hard part is finding which upstream table caused it. A tool that only ranks suspects can give a confident answer that is wrong.

Approach
  1. Cauzon is built on DataHub, a data catalog. When a check fails, it walks the lineage graph upstream and ranks the candidate causes from several signals.
  2. It names a cause only when it can rebuild the exact lineage path from that cause to the symptom. Ranking and proving are separate steps, and the proof can overrule the ranking.
  3. Grounding has three levels: path and transform, path only, and ungrounded. If nothing connects a suspect to the symptom, it names no cause and writes nothing.
  4. It files what it found back into the catalog, so the next person or agent starts from the answer.
  5. A live agent on Cloud Run streams each reasoning step over a WebSocket. The page header says whether you are watching the live agent or a recorded replay.
  6. In the demo graph, the most suspicious table is stale, has lost 88% of its rows and has a renamed column. Cauzon rejects it, because no lineage edge connects it to the symptom. The real origin, two hops upstream, is proven with the transform SQL that carried the fault.
My role

I built it by myself.

Stack
  • Python
  • DataHub
  • MCP
  • WebSocket
  • Cloud Run

A language model is optional: it only explains a verdict the code has already reached.

Scope and limits

It started as an entry for Build with DataHub: The Agent Hackathon. The demo runs on a planted catalog with three faults, and the 88% figure describes that demo graph, not a measured result. On the live public catalog the lineage is declared by this project, because the source publishes none, so findings there stop at “path only”. A lineage path shows a connection. It does not prove what caused the fault.