pub struct ComparisonInputs {
pub terminal_ts: Option<DateTime<Utc>>,
pub base_branch: Option<String>,
pub folded: Option<FoldedMissionRefs>,
}Expand description
The log-derived per-mission inputs the KRZ-333 comparison fold needs
(MissionOutcomes::comparison) — every field a pure function of the
log bytes, so the whole bundle memoizes with the native fold.
Fields§
§terminal_ts: Option<DateTime<Utc>>The first terminal event’s timestamp — the comparison window’s key;
None while the mission is open (an open mission is in no closed
window).
base_branch: Option<String>The mission.created base branch, recovered DIRECTLY from the
event: the landed-changes denominator’s anchor even when the strict
reducer rejects the log (the standalone fold’s recovery rule,
unchanged).
folded: Option<FoldedMissionRefs>The strict reducer’s reading of the log — the merged-change
derivation’s inputs. None when the reducer rejects the log
(hand-edited, non-contiguous, dangling refs): a corrupt log yields
no merged change — an under-read, never an inflation. Folded over
the event slice as passed; production callers pass one mission’s
log.
Trait Implementations§
Source§impl Clone for ComparisonInputs
impl Clone for ComparisonInputs
Source§fn clone(&self) -> ComparisonInputs
fn clone(&self) -> ComparisonInputs
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more