pub struct AlertEvidence {Show 13 fields
pub observation_idx: u64,
pub value: f64,
pub residual: f64,
pub z_score: f64,
pub conformal_threshold: f64,
pub conformal_score: f64,
pub e_value: f64,
pub e_threshold: f64,
pub lambda: f64,
pub conformal_alert: bool,
pub eprocess_alert: bool,
pub is_alert: bool,
pub reason: AlertReason,
}Expand description
Evidence ledger entry for a single observation.
Fields§
§observation_idx: u64Observation index.
value: f64Raw observation value.
residual: f64Residual (value - calibration_mean).
z_score: f64Standardized residual (z-score).
conformal_threshold: f64Current conformal threshold q.
conformal_score: f64Conformal score (proportion of calibration residuals >= this one).
e_value: f64Current e-value (wealth).
e_threshold: f64E-value threshold (1/alpha).
lambda: f64Current lambda (betting fraction).
conformal_alert: boolAlert triggered by conformal threshold?
eprocess_alert: boolAlert triggered by e-process?
is_alert: boolCombined alert decision.
reason: AlertReasonReason for alert (or non-alert).
Implementations§
Trait Implementations§
Source§impl Clone for AlertEvidence
impl Clone for AlertEvidence
Source§fn clone(&self) -> AlertEvidence
fn clone(&self) -> AlertEvidence
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AlertEvidence
impl RefUnwindSafe for AlertEvidence
impl Send for AlertEvidence
impl Sync for AlertEvidence
impl Unpin for AlertEvidence
impl UnsafeUnpin for AlertEvidence
impl UnwindSafe for AlertEvidence
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