pub struct CalibWindowIntegrity {
pub contamination_suspected: bool,
pub normalized_mean_dev: f32,
pub variance_ratio: f32,
pub lag1_autocorr: f32,
pub trend_slope_sigma: f32,
pub wss_pass: bool,
}Expand description
Calibration window integrity check result.
A contaminated calibration window biases ρ_nom upward (contamination inflates σ_healthy) or introduces systematic drift that will be classified as Admissible until the contamination is recognized.
Fields§
§contamination_suspected: booltrue if any contamination indicator threshold is exceeded.
normalized_mean_dev: f32Half-window mean drift, normalized by expected_sigma:
|mean(second_half) − mean(first_half)| / σ_ref.
Values ≥ 2.0 indicate a step-change within the calibration window —
the classic signature of interference onset during calibration
that biases ρ_nom upward. RF residuals are non-zero-mean by
construction; only relative drift within the window indicates
contamination.
variance_ratio: f32Ratio of window variance to the expected variance under the healthy model. Values > 2.0 indicate excess variance (possible early contamination onset).
lag1_autocorr: f32Lag-1 autocorrelation ρ(1). Values > 0.7 indicate persistent drift that may be structural interference (window integrity suspect).
trend_slope_sigma: f32Trend slope (least-squares linear fit to window norms) in units of σ / observation. Values > 0.02 indicate a monotone drift trend.
wss_pass: boolWSS pre-condition: true if all WSS checks pass (stationarity
module). Requires normalized_mean_dev < 1.0 and lag1 < 0.5.
Trait Implementations§
Source§impl Clone for CalibWindowIntegrity
impl Clone for CalibWindowIntegrity
Source§fn clone(&self) -> CalibWindowIntegrity
fn clone(&self) -> CalibWindowIntegrity
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more