FAILURE MAP
← Case archive

FA-40860 / Heap invariants / Member archive

Bucket pop clears occupancy only when the bucket becomes empty · case 05

The bounded priority bitset certificate reports an incorrect after pop.

Member previewVariant 5 · 3 implementations · 7 checks per implementation

Case contract

A bounded bucket priority queue certificate supplies occupancy mask and bucket lists for priorities 0..width-1. Report actual occupancy mask, least occupied priority, greatest occupied priority, mask-only ghost priorities, missing-mask priorities, and popped-bucket bit clearing after removing one first element from requested priority. Empty buckets are valid.

Why this case matters

This isolates an internal heap representation or priority-structure invariant using deterministic finite records.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
regression certificate 3{"actual_mask": 10, "after_pop": 8, "ghosts": [], "maximum": 3, "minimum": 1, "missing": []}{"actual_mask": 10, "after_pop": 10, "ghosts": [], "maximum": 3, "minimum": 1, "missing": []}Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗