FAILURE MAP
← Case archive

FA-80805 / Bidirectional text layout / Member archive

Visual run list for shaping: lowest odd pass · case 05

Runs at the lowest odd level stay in logical order.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

Case contract

Input resolved levels of a line. Group maximal equal-level runs [logical start, length, level]; reorder whole runs from the highest level down to the lowest odd level by reversing sequences of runs at or above the level. Return [[start, length, "rtl"|"ltr"]] in visual order.

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: lowest odd pass[[0, 2, "ltr"], [2, 3, "rtl"]][[2, 3, "rtl"], [0, 2, "ltr"]]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 ↗