#[repr(u8)]pub enum MotifClass {
Show 16 variants
ResidualSpike = 0,
SustainedResidualElevation = 1,
DriftRamp = 2,
SlewShock = 3,
Plateau = 4,
Oscillation = 5,
DeadbandExit = 6,
ErrorRateBurst = 7,
LatencyErrorCoupling = 8,
EntityLocalAnomaly = 9,
RouteLocalAnomaly = 10,
FanoutPrecursor = 11,
VarianceExpansion = 12,
RecoveryEdge = 13,
CleanWindowStability = 14,
ConfuserLikeTransient = 15,
}Expand description
The deterministic catalog of detector motifs. Sixteen entries, all in
canonical order. Bit i of a DetectorCell::detector_mask is 1
when MOTIF_CATALOG[i].class fired on that cell.
Variants§
ResidualSpike = 0
Single-cell norm above the spike threshold.
SustainedResidualElevation = 1
EWMA drift above the sustained threshold.
DriftRamp = 2
Monotonically increasing drift for ≥ ramp-steps windows.
SlewShock = 3
Absolute slew above the shock threshold.
Plateau = 4
Norm above plateau threshold and slew near zero for ≥ plateau-windows.
Oscillation = 5
Sign of slew alternated ≥ oscillation-alternations times in last oscillation-window cells.
DeadbandExit = 6
Norm crossed from below deadband to above deadband + hysteresis.
ErrorRateBurst = 7
Residual error rate above the burst threshold.
LatencyErrorCoupling = 8
Latency residual AND error residual both above their coupling thresholds within the same cell.
EntityLocalAnomaly = 9
Cell’s norm is markedly above the entity’s running average — set in the consensus stage; the per-cell evaluator records a candidate-flag and lets the consensus pass confirm or reject it.
RouteLocalAnomaly = 10
Cell’s norm is markedly above the entity’s average for other routes — placeholder bit, set when route_id distribution within the entity is uneven on this window.
FanoutPrecursor = 11
Drift rising in an upstream entity while this cell shows elevated error rate. v0 uses a conservative single-cell approximation.
VarianceExpansion = 12
Sample variance of norm over the variance-window cells above
var_threshold.
RecoveryEdge = 13
Drift turning over (current drift < previous drift) while norm still elevated — signals recovery off a peak.
CleanWindowStability = 14
Norm and drift both below the deadband; no other detector fired. Sentinel bit used by consensus to confirm “clean” cells.
ConfuserLikeTransient = 15
Single-cell spike that resolved in the very next window — used by the confuser-suppression axis.
Implementations§
Source§impl MotifClass
impl MotifClass
Trait Implementations§
Source§impl Clone for MotifClass
impl Clone for MotifClass
Source§fn clone(&self) -> MotifClass
fn clone(&self) -> MotifClass
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MotifClass
impl Debug for MotifClass
Source§impl PartialEq for MotifClass
impl PartialEq for MotifClass
Source§fn eq(&self, other: &MotifClass) -> bool
fn eq(&self, other: &MotifClass) -> bool
self and other values to be equal, and is used by ==.