Aggregate verification stats across all coded segments in a coding state
Source:R/quote_provenance.R
compute_quote_provenance_stats.RdWalks coding_state$codebook, extracts the $provenance field
attached to each coded segment by .code_entry_progressive (T0.1
part 2 wiring), and feeds them through quote_provenance_summary.
Value
The list returned by quote_provenance_summary.
Details
Returns the empty-summary shape (zero counts, NA rates) when:
coding_stateis NULL (e.g., the run skipped coding)coding_statepredates the T0.1 wiring and has no$provenanceon its segments (legacy runs)the codebook is empty
This helper is what the report's Tier-0 dashboard reads – so the empty-summary fallback is load-bearing for back-compat: pre-T0.1 runs still render a dashboard, just one that says "verification not run".