pub struct RuntimeCoverageProvenance {
pub data_source: RuntimeCoverageDataSource,
pub is_production: String,
pub freshness_days: Option<u32>,
pub untracked_ratio: f64,
pub unresolved_ratio: f64,
pub stale: bool,
pub stale_after_days: u32,
}Expand description
Provenance of a runtime-coverage report, mirroring
the cloud runtime-context provenance block so the local-capture and cloud
surfaces present one portable shape. F4: provenance is context only; it never
gates a verdict or confidence.
Fields§
§data_source: RuntimeCoverageDataSourcelocal for a local capture, cloud for the cloud read path.
is_production: Stringtrue / false / unknown. Always unknown for a local capture: the
local path has no deployment-origin signal (the cloud may resolve it).
freshness_days: Option<u32>Age in whole days of the most recent evidence; 0 for a fresh local
capture, null when no runtime data is present.
untracked_ratio: f64functions_untracked / (functions_tracked + functions_untracked), in
[0, 1]. High ratios mark a thin / partial capture.
unresolved_ratio: f64Fraction of resolution-attempted functions whose position could not be
mapped to source, in [0, 1]. 0 for a local capture (positions resolve
natively or via the sidecar).
stale: boolWhether freshness_days exceeds stale_after_days.
stale_after_days: u32The documented staleness cutoff (days), echoed so the rule travels in-band.