# Provenance — the meta report

The author's rule: *careless counting is a bug*. His 190/181/133 numbers persuade because they can
be checked. Taaweel's **meta report** gives every run the same property — a behind-the-scenes page
that shows exactly what the research touched. Zero LLM cost: it renders the pipeline's own records.

Open it from any run page or report header: **"behind the scenes"** (`/dashboard/runs/:id/meta`).

## What the page shows
The page, **Behind the scenes — run #id**, opens with totals (**Tokens in / out**, **Est. cost**, **Stages**, **Provider**) and then six numbered cards. Open any card to drill down.

### 1. The Quran verses it counted
Per subject term: every occurrence fetched from all 6,236 verses, grouped by information system (by form and by root). Expand a class and read the actual verse list.

### 2. The passages it swept
Every passage the anchor sweep *saw*, split into *selected for deep analysis* vs *seen but set aside*, with scores and the vocabulary that matched.

### 3. The tafsīr it read
Every passage, grouped per mufassir, with the exact verse keys.

### 4. The hadith it consulted
Every carried report with collection, number and grading, and which were weighed and carried forward.

### 5. The user files it read
Your attachments and how each was used (see [File roles](/docs/22-chats-and-attachments#file-roles)).

### 6. Everything recorded, by kind
The full evidence-ledger counts; every row is one `[E-n]` citation in the report.

## Why it exists

| It answers | With |
| --- | --- |
| "Did you cherry-pick verses?" | fetched vs analyzed, selected vs set aside — per term |
| "Which mufassirūn did you actually read?" | per-source passage lists |
| "What did the hadith search return?" | every carried report with grading |
| "What did this run cost and touch?" | tokens, cost, stage list, evidence counts |

## Provenance in the data model

- **Fetched (cartography)**: `occurrence_maps` + `occurrence_classes` — every occurrence's verse ref
  is stored in `member_refs_json`.
- **Fetched (sweep)**: every scored candidate is persisted as evidence kind `sweep_candidate`
  (`selected: true|false`) — selected ones simultaneously become `anchor_passage` rows.
- **Analyzed**: every `evidence_items` row (verses, tafsīr positions, hadith, lexicon entries,
  properties, comparisons, examination rows) — the same rows the report cites.

The rule this page enforces is simple: **nothing is claimed that cannot be drilled down to; nothing
is read that cannot be shown.**
