FAILURE MAP
← Case archive

FA-10398 / Caching / Member archive

Weighted eviction frees fewer bytes than the new budget requires · case 03

Weighted eviction frees fewer bytes than the new budget requires.

Member previewVariant 3 · 3 implementations · 4 checks per implementation

Case contract

Entries are [key,nonnegative weight] in eviction order. Remove a prefix until remaining weight is at most the nonnegative budget; retain zero-weight entries if no eviction is necessary.

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", 3], ["c", 2]][["c", 2]]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 ↗