FAILURE MAP
← Case archive

FA-75214 / CRDT convergence / Member archive

Fractional position allocation: the upper neighbour keeps constraining after the prefix diverges · case 04

Positions are allocated deeper than necessary or squeezed against digits that no longer bound them.

Member previewVariant 4 · 3 implementations · 10 checks per implementation

Case contract

Starting from the given sorted positions, positions are digit lists in base 10 compared lexicographically and never ending in 0. Inserting at list index i allocates between the neighbours p (or [] at the start) and q (or [] at the end): walking depth d, lower digit a is p[d] or 0, upper digit b is q[d] while q still constrains (else 10); if b - a > 1 append (a+b)//2 and stop, else append a, and q stops constraining once a < b. Return positions as dotted strings in list order.

Why this case matters

Sequence CRDTs such as Logoot and LSEQ assign dense identifiers so that concurrent inserts never need renumbering.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
upper neighbour stops constraining after divergence["3.7", "3.7.5", "4.8"]["3.7", "3.8", "4.8"]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 ↗