FAILURE MAP
← Case archive

FA-40337 / Heap invariants / Member archive

Lazy heap pop removes only the stale prefix and selected current record · case 02

The bounded lazy pop certificate reports an incorrect suffix.

Member previewVariant 2 · 3 implementations · 7 checks per implementation

Case contract

Physical lazy-heap records [priority,serial,id,version] are already sorted lexicographically by priority then serial. Live map id->[version,payload]. Skip missing or version-stale records, pop the first current record, delete its live-map id, and retain the remaining physical suffix. No unindexed priority changes are allowed.

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 2{"discarded": 0, "empty": false, "live_after": {}, "payload": "A", "selected": "a", "suffix": [[1, 0, "a", 0]]}{"discarded": 0, "empty": false, "live_after": {}, "payload": "A", "selected": "a", "suffix": []}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 ↗