FAILURE MAP
← Case archive

FA-40868 / Heap invariants / Member archive

Cyclic priority expiry compares absolute keys rather than residues · case 03

The bounded dial window certificate reports an incorrect expired.

Member previewVariant 3 · 3 implementations · 7 checks per implementation

Case contract

A cyclic integer bucket queue with ring size C stores entries [id,absolute_key]. Cursor is last extracted absolute key. Only keys in [cursor,cursor+C) are in the active window. Report physical bucket indices, expired ids, future-window ids, next active key, rotation distance, and active ids in absolute-key order. Same-slot values from later revolutions must not be delivered.

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 4{"active_order": ["c", "b", "a"], "advance": 0, "buckets": [["a", 0], ["b", 2], ["c", 1]], "expired": ["c"], "future": [], "next": 4}{"active_order": ["c", "b", "a"], "advance": 0, "buckets": [["a", 0], ["b", 2], ["c", 1]], "expired": [], "future": [], "next": 4}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 ↗