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.
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)