FAILURE MAP
← Case archive

FA-80674 / Bidirectional text layout / Member archive

Bidi selection highlight: rectangle adjacency · case 04

Separate highlight fragments are fused across unselected gaps.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Input [levels, anchor, focus]. The logical selection covers characters min..max-1. Each selected character occupies its unit visual slot (level reversal); merge adjacent slots into [x0, x1) rectangles sorted by x. Return the rectangles.

Why this case matters

Mixed right-to-left and left-to-right text must resolve levels and visual order exactly, or words, numbers and carets land in the wrong place.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression: rectangle adjacency[[0, 5]][[0, 1], [2, 5]]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 ↗