FAILURE MAP
← Case archive

FA-73858 / Feature flag rollout bucketing / Member archive

Percentage rollout gate: Float truncation shrinks fractional rollout limits · case 03

A 0.29 percent rollout admits only 28 basis points of buckets.

Member previewVariant 3 · 3 implementations · 8 checks per implementation

Case contract

bucket = int(first 8 hex digits of sha1(salt + "." + flag + "." + user), 16) % 10000; the rollout percentage pct has at most two decimals and becomes a basis-point limit round(pct * 100); the user is enabled iff bucket < limit. Return [bucket, enabled].

Why this case matters

Percentage gates must be reproducible across services so the same user sees the same state everywhere.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
float truncation regression at 65.82 percent[6581, false][6581, true]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 ↗