FAILURE MAP
← Case archive

FA-10394 / Caching / Member archive

Shrinking cache capacity evicts only one excess entry · case 04

Shrinking cache capacity evicts only one excess entry.

Member previewVariant 4 · 3 implementations · 4 checks per implementation

Case contract

Capacity is a nonnegative integer. Retain at most capacity keys from the most-recent end of the ordered cache.

Why this case matters

A deterministic cache state transformation. Inputs are copied or treated as immutable; no remote storage, real clock, or concurrent interleaving is simulated.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
fixture 1["b", "c", "d"]["d"]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 ↗