pub struct AlertStats {
pub total_observations: u64,
pub calibration_samples: usize,
pub total_alerts: u64,
pub conformal_alerts: u64,
pub eprocess_alerts: u64,
pub both_alerts: u64,
pub current_e_value: f64,
pub current_threshold: f64,
pub current_lambda: f64,
pub calibration_mean: f64,
pub calibration_std: f64,
pub empirical_fpr: f64,
}Expand description
Aggregate statistics for the alerter.
Fields§
§total_observations: u64Total observations processed.
calibration_samples: usizeTotal calibration samples.
total_alerts: u64Total alerts triggered.
conformal_alerts: u64Conformal-only alerts.
eprocess_alerts: u64E-process-only alerts.
both_alerts: u64Both-threshold alerts.
current_e_value: f64Current e-value.
current_threshold: f64Current conformal threshold.
current_lambda: f64Current lambda.
calibration_mean: f64Calibration mean.
calibration_std: f64Calibration std.
empirical_fpr: f64Empirical FPR (alerts / observations under H0 assumption).
Trait Implementations§
Source§impl Clone for AlertStats
impl Clone for AlertStats
Source§fn clone(&self) -> AlertStats
fn clone(&self) -> AlertStats
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 AlertStats
impl RefUnwindSafe for AlertStats
impl Send for AlertStats
impl Sync for AlertStats
impl Unpin for AlertStats
impl UnwindSafe for AlertStats
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