FA-73970 / Feature flag rollout bucketing / Member archive
Bucketing attribute selection: Integral floats keep a decimal suffix · case 05
An org id sent as 5.0 by one client and 5 by another lands in different buckets.
Case contract
The bucketing identity is user[bucket_by] when bucket_by is non-empty and present, else user["key"]. Booleans, None and non-scalar values are unbucketable -> [None, 0]; integral floats use their integer form, other floats are unbucketable; ints and strings are used verbatim via str(). Return [identity, crc32(flag_key + "." + salt + "." + identity) % 100000].
Why this case matters
Bucketing by organisation or device keeps whole accounts in one variant; the identity must be stable.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| identity sample 1 | [null, 0] | ["5", 56729] | 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 ↗