FA-73978 / Feature flag rollout bucketing / Member archive
Bucketing attribute selection: Fractional floats are truncated into identities · case 03
Values 2.5 and 2 collapse into the same bucketing identity.
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 |
|---|---|---|---|
| fractional float is unbucketable | ["2", 25699] | [null, 0] | 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 ↗