FA-40872 / Heap invariants / Member archive
Cyclic priority queue excludes the next revolution boundary from the active window · case 02
The bounded dial window certificate reports an incorrect future.
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 fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression certificate 2 | {"active_order": ["a", "b"], "advance": 1, "buckets": [["a", 0], ["b", 1], ["c", 3]], "expired": [], "future": [], "next": 4} | {"active_order": ["a", "b"], "advance": 1, "buckets": [["a", 0], ["b", 1], ["c", 3]], "expired": [], "future": ["c"], "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 ↗