SHEET-004 // dbc

Design by Contract Recap — Falsification & Jidoka Gates

Rapid reference for Popperian falsification checklists, anti-vacuity assertions, and automated CI stop-the-line Jidoka gates.

Design by Contract Recap — Falsification & Jidoka Gates cheat sheet preview
Verified CLI Version
pv 0.76.0 (9db57b24f) (aprender provable-contracts verifier)
Receipt SHA-256
6373f3587ec428af28326d274a2db4e8bf5056f9c9dbd95bfe6d1a4143e30b73

Verified Companion Code

pub fn assert_non_vacuous(count: usize, min: usize) -> Result<(), String> {
    if count < min { return Err(format!("vacuous: {count} < {min}")); }
    Ok(())
}

sheet.contract.toml

[sheet]
id = "SHEET-004"
topic = "dbc-recap"
anti_vacuity = true
min_falsification_cases = 3

Verified Output & SHA-256 Receipt

$ pv validate sheets/dbc-recap/contract.yaml --anti-vacuity
pv: SHEET-004 CONFORMS (anti-vacuity + 3 falsification tests PASS)