src.dackar.RCA.signal_evidence.models¶
Classes¶
A single flagged anomaly on one sensor over a time interval. |
|
A directed propagation edge between two anomalies (by list index). |
|
In/out degree and derived pattern (linear/divergence/convergence/hub/isolated) for one anomaly node. |
|
A scored propagation path plus the factors that produced its |
Module Contents¶
- class src.dackar.RCA.signal_evidence.models.AnomalyRecord[source]¶
A single flagged anomaly on one sensor over a time interval.
Fields carry the sensor and (resolved) component ids, the anomaly window, a
patternlabel, aseverityin[0, 1], thesourcethat produced it ("telemetry_summary"or"historian"), and optional raw values / units.
- class src.dackar.RCA.signal_evidence.models.PropagationEdge[source]¶
A directed propagation edge between two anomalies (by list index).
allen_relcaptures the temporal relation between the two anomaly intervals andallen_scoreits raw event-calibrated relevance prior (kept for provenance).prop_scoreis the propagation-calibrated weight actually used to rank chains: it rewards a demonstrated causal lead at least as much as a co-temporal overlap and discounts co-temporal edges, so a cleanprecedeslead is never outranked by anoverlapsedge the way the raw event score would (MR#49 review).edge_typeis the KG relation (containment/connectivity/mixed), andonset_lag_hthe onset lead in hours from source to target.
- class src.dackar.RCA.signal_evidence.models.NodeTopology[source]¶
In/out degree and derived pattern (linear/divergence/convergence/hub/isolated) for one anomaly node.
- class src.dackar.RCA.signal_evidence.models.ScoredChain[source]¶
A scored propagation path plus the factors that produced its
path_score.path_scoreis driven bymean_propagation_score(the lead-time-aware edge weight);mean_allen_scoreis retained alongside as the mean of the raw event-calibrated relation priors, for provenance.