FAILURE MAP
← Case archive

FA-75158 / CRDT convergence / Member archive

Formatting mark spans: a negative start indexes from the end of the text · case 03

A range beginning before the text formats characters at the end of the document.

Member previewVariant 3 · 3 implementations · 10 checks per implementation

Case contract

A text of `length` characters receives ["bold"|"unbold", start, end, stamp] operations over half-open ranges clamped to the text. Each character takes the operation with the largest stamp (counter, replica) covering it; it is bold when that operation is "bold". Return maximal bold spans as [start, end) pairs in order.

Why this case matters

Rich-text CRDTs must resolve overlapping formatting operations identically regardless of arrival order.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
range starting before the text is clamped[[0, 2], [9, 11]][[0, 2]]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 ↗