FAILURE MAP
← Case archive

FA-80403 / Bidirectional text layout / Member archive

Weak type resolution: terminator run extent · case 03

Only the terminator touching the number is attached.

Member previewVariant 3 · 3 implementations · 8 checks per implementation

Case contract

Input [classes of one isolating run sequence, sos]. W1 NSM takes the previous type (sos at start; ON after LRI/RLI/FSI/PDI). W2 EN after the last strong AL becomes AN. W3 AL->R. W4 a single ES between EN and EN -> EN; a single CS between two numbers of the same type takes that type. W5 a run of ET adjacent to EN -> EN. W6 remaining ES/ET/CS -> ON. W7 EN whose last strong (sos at start) is L -> L. Return resolved classes.

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: terminator run extent["ON", "EN", "L", "ON", "L", "L", "L", "L", "ON", "ON"]["ON", "EN", "L", "L", "L", "L", "L", "L", "ON", "ON"]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 ↗