Skip to main content

Module adaptive_threshold

Module adaptive_threshold 

Source
Expand description

Adaptive Threshold Learning System (PMAT-037)

Dynamic threshold learning that adjusts warning/critical bounds based on historical baseline data.

§Features

  • Baseline learning from historical samples (μ±2σ)
  • Percentile-based threshold computation
  • Outlier filtering to prevent over-learning
  • User override support for static thresholds

§Falsification Criteria (F1291-F1300)

See tests/adaptive_threshold_f1291.rs for falsification tests.

Structs§

LearnedThreshold
Learned threshold bounds
ThresholdCheck
Result of threshold check
ThresholdLearner
Threshold learner

Enums§

ThresholdDirection
Threshold direction

Constants§

DEFAULT_CONFIDENCE_LEVEL
Default confidence level for bounds (95%)
DEFAULT_OUTLIER_THRESHOLD
Default outlier threshold (3 standard deviations)
MIN_SAMPLES_FOR_LEARNING
Minimum samples required for learning