FAILURE MAP
← Case archive

FA-74084 / Feature flag rollout bucketing / Member archive

Mutually exclusive layer allocation: Percent bounds are scaled to basis points · case 04

Every range reaches ten times too far, so the first experiment captures nearly the whole layer.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

bucket = int(md5(layer_salt + ":" + user) hex, 16) % 1000. experiments is an ordered list of {name, start, end, paused?} with start/end in percent (one decimal) converted to permille by round(x * 10); ranges are half-open [start, end). The first listed range containing the bucket decides: a paused experiment reserves its range (user gets None). Return [bucket, name or None].

Why this case matters

Layers keep concurrent experiments from overlapping on the same users.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
bucket at range end belongs to next range[988, "x"][988, "y"]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 ↗