Validation, baselines and statistics

A deterministic engine still needs empirical validation: the implementation may be wrong, the contract may omit material conditions, or a simpler baseline may behave just as well.

Validation loop from bounded claim through faults, baselines, results and falsifiers

Figure 1. Validation maps a bounded claim to faults, baselines, negative controls and a conclusion that may be supported, narrowed or rejected.

Start with testable questions

Seeded fault scenarios

generate_fault_scenario creates deterministic scenarios covering nominal operation, payment outage, capacity drop, restore delay, stale backup, configuration drift and payment corruption. scenario_evidence produces test evidence; replay_scenario records it in an evidence ledger.

FaultChanged propertyExpected consequence
Payment outagepayment_available=FalseDependency/control failure.
Capacity dropCapacity below target.Objective failure.
Restore delayRTO exceeds target.Recovery objective failure.
Backup staleRPO exceeds target.Freshness-related failure.
Configuration driftPrivileged review false.Control failure.
Payment corruptionIntegrity metric below target.Integrity objective failure.

Comparison baselines

BaselineWhat it tests
Manual checklistWhether simple presence counting is sufficient.
Static crosswalkWhether fixed mapping without temporal semantics is sufficient.
Risk scoreWhether a scalar threshold can represent multi-state uncertainty.
Rule matchWhether direct expected-value matching captures all behavior.
Naive business thresholdWhether objective thresholds alone explain outcomes.
Proposed engineContract, evidence, dependency and validity semantics together.

Statistics

classification_metrics reports agreement-oriented classification measures against an independent oracle. binary_summary reports sample count, observed rate and a Wilson 95% interval for binary outcomes.

Unit of analysis: repeated rows generated from the same scenario are not automatically independent experimental units. Confidence intervals and tests must follow the real sampling process.

Mandatory negative controls

What to report

Report scenario generation, seeds, independent units, baseline configurations, all state outcomes, errors, resource cost, uncertainty intervals and negative evidence. A smoke test or passing unit suite supports implementation quality only; it does not establish enterprise effectiveness.