Skip to main content

Module diagnosis

Module diagnosis 

Source
Expand description

Failure diagnosis helper for simulation invariant violations.

When an invariant is violated, the diagnosis helper walks backward through the trace to find the most likely root cause: which fault, at which tick, on which node, led to the violation.

Structs§

CausalEvent
A significant event in the causal chain.
DiagnosisReport
Result of diagnosing an invariant violation.
FaultCause
A fault event identified as a potential root cause.
ViolationInfo
Lightweight violation info for diagnosis (avoids coupling to vortex-check).

Functions§

diagnose
Diagnose an invariant violation by examining the trace.