Summarize quote provenance for the report's Tier-0 dashboard
Source:R/quote_provenance.R
quote_provenance_summary.RdComputes counts + rates from a list of verified quotes. Used by the
Tier-0 dashboard (.build_tier0_dashboard) and usable
programmatically for cross-run analyses (the methodology paper's KPIs
draw from the same shape).
Value
Named list:
total: total quote countby_status: integer vector keyed by verification_statusby_method: integer vector keyed by verification_methodby_citation_source: integer vector keyed bycitation_source("anthropic_citations_api","model_freeform", etc.)verification_rate: proportion in either verified statefabrication_rate: proportion fabricateddrift_rate: proportion driftedverification_rate_by_source: named numeric vector – per-citation_source verification rate (verified / total quotes with that source). Lets the dashboard expose the differential reliability of the prevention layer (citations API) vs the detection-only layer (model_freeform + ladder).n_citations_api: integer count of quotes withcitation_source == "anthropic_citations_api". Convenience accessor for the dashboard's headline KPI.citations_api_rate: proportion of quotes that came through the citations API path (vs. fell back to model_freeform). This is the package's empirical answer to "did the prevention layer actually engage on this run?".
Details
T0.1 part 3b adds the by_citation_source breakdown
and verification_rate_by_source so the dashboard can distinguish
Anthropic Citations API quotes (server-side-grounded by Anthropic plus
client-verified by the ladder) from model-freeform quotes (client-
verified only). Both are valid; the citations source is strictly
stronger.