FAILURE MAP
← Case archive

FA-4813 / Heap invariants / Member archive

Heapreplace always evicts old minimum · case 03

The operation returns a result or retained state that violates this contract: For a nonempty heap, replace and return the old minimum even if the new value is smaller.

Member previewVariant 3 · 3 implementations · 4 checks per implementation

Case scope

A controlled failure with recorded boundary checks.

Why this case matters

A controlled local-runtime regression for collection APIs, language semantics, or ownership wrappers. Fixtures include boundary and interaction cases.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
smaller replacement retained["a", ["b", "c"]]["b", ["a", "c"]]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 ↗