pub struct StepEscalation {
pub reason: EscalationReason,
pub step: String,
pub siblings: Vec<String>,
pub calls: u32,
pub sibling_mean_calls: Option<f32>,
pub sibling_count: usize,
}Expand description
What the quarantined escalation call is handed. See the module note above on why the step’s own text is safe to include here in a way an appraiser’s evidence (§5.1) could not be.
Fields§
§reason: EscalationReason§step: String§siblings: Vec<String>A sample of other completed steps in the same plan, most recent
first — never the whole history, which Tracked bounds but does not
make small. Empty for EscalationReason::UnverifiedClaim, which
needs no comparison.
calls: u32§sibling_mean_calls: Option<f32>The mean call count of the completed steps this was compared
against. Only set for EscalationReason::SpanOutlier.
sibling_count: usizeHow many completed steps sibling_mean_calls is a mean over —
completed.len() at the time of the comparison, not siblings.len().
The two diverge once the plan has more completed steps than
ESCALATION_SIBLING_SAMPLE: the mean is still over all of them, but
siblings is a truncated sample for the model to read, and stating
the sample’s length beside the full mean would describe a mean over
5 steps that was actually taken over 20.
Trait Implementations§
Source§impl Clone for StepEscalation
impl Clone for StepEscalation
Source§fn clone(&self) -> StepEscalation
fn clone(&self) -> StepEscalation
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more