Skip to main content

diagnose_breach

Function diagnose_breach 

Source
pub fn diagnose_breach(
    rules: &[NQuin],
    violation: u64,
    explains: u64,
) -> Option<u64>
Expand description

Abductive breach diagnosis: walk backward from an observed violation along the explanatory rules (predicate == explains) to the root cause — the missing duty or bad act that accounts for it. Composes abductive::abductive_explanation.