pub struct ElasticDecision {
pub action: ElasticAction,
pub signal: f64,
pub lambda: f64,
pub alpha: Option<f64>,
pub delta: Option<f64>,
pub calibration_id: Option<String>,
}Expand description
Why elastic verification (ADR 0008 Phase 3) skipped or ran the expensive gates on the served rung — recorded so an auditor can see why verification was skipped and check the conformal bound authorized it. Absent when elastic is off (the default), keeping pre-elastic traces byte-identical and hash-chain compatible.
Fields§
§action: ElasticActionWhich of the three regimes fired.
signal: f64The visible-gate score that drove the decision (gate_score over the cheap gates).
lambda: f64The calibrated skip threshold λ the signal was compared against.
alpha: Option<f64>Target served-failure α the λ was calibrated at (provenance, from config).
delta: Option<f64>Confidence (1−δ) the λ was calibrated at (provenance, from config).
calibration_id: Option<String>Provenance id of the calibration run that produced λ (from config).
Trait Implementations§
Source§impl Clone for ElasticDecision
impl Clone for ElasticDecision
Source§fn clone(&self) -> ElasticDecision
fn clone(&self) -> ElasticDecision
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ElasticDecision
impl Debug for ElasticDecision
Source§impl<'de> Deserialize<'de> for ElasticDecision
impl<'de> Deserialize<'de> for ElasticDecision
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ElasticDecision
impl PartialEq for ElasticDecision
Source§impl Serialize for ElasticDecision
impl Serialize for ElasticDecision
impl StructuralPartialEq for ElasticDecision
Auto Trait Implementations§
impl Freeze for ElasticDecision
impl RefUnwindSafe for ElasticDecision
impl Send for ElasticDecision
impl Sync for ElasticDecision
impl Unpin for ElasticDecision
impl UnsafeUnpin for ElasticDecision
impl UnwindSafe for ElasticDecision
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more