FA-40237 / Heap invariants / Member archive
Radix redistribution recomputes differing bits against the new threshold · case 02
The bounded radix redistribute certificate reports an incorrect destinations.
Case contract
Redistribute one nonempty radix bucket with entries [id,key], all keys at least old_last. Set new_last to bucket minimum and move every entry to bit_length(key XOR new_last); preserve entry order within each destination bucket. Report threshold, assignments, bucket-zero ids, moved count, old-bucket clearing, and maximum destination.
Why this case matters
This isolates an internal heap representation or priority-structure invariant using deterministic finite records.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression certificate 1 | {"destinations": [[1, 4]], "largest_destination": 0, "moved": 1, "source_after": [], "threshold": 8, "zero_ids": [1]} | {"destinations": [[1, 0]], "largest_destination": 0, "moved": 1, "source_after": [], "threshold": 8, "zero_ids": [1]} | 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 ↗