FAILURE MAP
← Case archive

FA-74333 / Feature flag rollout bucketing / Member archive

Per-context evaluation memo: Memo is keyed by context key only · case 03

A user who changes country keeps the result computed for the old country.

Member previewVariant 3 · 3 implementations · 8 checks per implementation

Case contract

calls are [flag, context dict of string attributes, flag version]. The toy evaluation is (sum of code points of flag + key + country) + version) % 3. Results are memoised by (flag, context contents independent of attribute order, version). Return [value, hit|miss] per call.

Why this case matters

Evaluation caches in SDKs must key on every input that can change the result.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
call sequence sample 11[[2, "miss"], [1, "miss"], [2, "miss"], [2, "miss"], [2, "hit"], [2, "hit"]][[2, "miss"], [1, "miss"], [2, "miss"], [2, "miss"], [2, "hit"], [0, "miss"]]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 ↗