FAILURE MAP
← Case archive

FA-80452 / Bidirectional text layout / Member archive

Implicit level runs: numbers at odd level · case 02

Numbers inside RTL text read right-to-left digit by digit.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Input [resolved classes L/R/EN/AN, embedding levels]. At even levels R goes up one and AN/EN up two; at odd levels L, EN and AN go up one. Return level runs [start, end exclusive, level] of equal final levels.

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: numbers at odd level[[0, 2, 1], [2, 3, 3], [3, 4, 2], [4, 5, 3], [5, 8, 4], [8, 10, 1]][[0, 1, 2], [1, 2, 1], [2, 3, 3], [3, 4, 2], [4, 5, 3], [5, 8, 4], [8, 9, 1], [9, 10, 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 ↗