FailurePreservingReduction

Shrink a failing input or action sequence while the same failure keeps occurring

Infrastructure · Verification · bootstrap 0.11.0

Mechanism

Given an input, configuration or action sequence that triggers a failure, and a check that reliably recognises that same failure rather than any failure, smaller candidates are tried repeatedly, each from the starting state recorded for the original case, and any candidate on which the same failure still occurs is kept, for example by removing coarse chunks first and then finer ones. Where the failure is intermittent, the check runs each candidate a stated number of times. Reduction stops when no candidate the strategy generates keeps the failure, or when a declared budget runs out. Unlike Bisect, which assumes the cause lies in one half, reduction keeps elements that fail only together; unlike the ablation in Parsimony, which asks whether a part is needed for a function, it preserves a failure. The reduced case is a reproduction, not a diagnosis: it shows what suffices to trigger the failure, not why it occurs.

Invariants

Failure modes

Where this came from

—

Builds on

Related

Identity