FAILURE MAP
← Case archive

FA-10402 / Caching / Member archive

Replacing an entry double-counts its existing cache weight · case 02

Replacing an entry double-counts its existing cache weight.

Member previewVariant 2 · 3 implementations · 4 checks per implementation

Case contract

Return total cache weight after inserting or replacing key with nonnegative weight in a unique key-to-weight mapping.

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 1139Failed

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 ↗