pub struct ShadowVerdict {
pub tenant: String,
pub shadow_run_id: String,
pub source_run_id: String,
pub revision_id: RevisionId,
pub refusals: Vec<ShadowRefusal>,
pub matched: usize,
pub unserved: usize,
pub unrequested: Vec<String>,
pub outcome: ShadowRunOutcome,
pub completed_at: DateTime<Utc>,
}Expand description
A shadow run’s verdict: the journaled payload of a
crate::record::RunEventKind::ShadowVerdict event, and the answer
the shadow exists to give — what the candidate tried to do to the
world, what the recorded world served back, and where the candidate
diverged from the run it shadows.
Fields§
§tenant: StringThe tenant the shadow ran under.
shadow_run_id: StringThe shadow run’s id.
source_run_id: StringThe recorded run this shadow replayed.
revision_id: RevisionIdThe candidate revision under test.
refusals: Vec<ShadowRefusal>Every effect the boundary refused, journaled served-or-not as it happened — the shadow’s reason to exist, verbatim.
matched: usizeHow many refused calls were served from the recorded world.
unserved: usizeHow many refused calls the recorded world could not serve — the candidate asked for something its source never did.
unrequested: Vec<String>Recorded effect kinds with calls the candidate never requested — divergence in the other direction, evidence the candidate does less than the run it shadows.
outcome: ShadowRunOutcomeHow the run ended.
completed_at: DateTime<Utc>When the verdict journaled.