FAILURE MAP
← Case archive

FA-40358 / Heap invariants / Member archive

Lazy compaction counts obsolete physical records rather than logical size difference · case 03

The bounded lazy compaction certificate reports an incorrect stale.

Member previewVariant 3 · 3 implementations · 7 checks per implementation

Case contract

A lazy heap compaction receives arbitrary physical records [priority,serial,id,version] and live map id->version. Preserve only records whose id and version match, retain duplicate physical records for diagnostic detection, heapify by (priority,serial), and report stale count, duplicate-current ids, live-id coverage, storage ratio numerator, and triggering condition physical>2*live+slack.

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{"duplicate_current": [], "kept": [], "missing": ["a"], "post_size": 0, "stale": 1, "trigger": false}{"duplicate_current": [], "kept": [], "missing": ["a"], "post_size": 0, "stale": 2, "trigger": false}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 ↗