FAILURE MAP
← Case archive

FA-80569 / Bidirectional text layout / Member archive

Mirrored glyph rendering: mirror level lookup · case 04

Brackets are mirrored based on the level found at their visual slot.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Input [text, resolved levels]. Characters at odd levels with a mirror pair ( ) [ ] { } < > « » are replaced by their mirror, decided per logical character; then runs are reversed from the highest level to the lowest odd level. Return the visual string.

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: mirror level lookup"[yay[\u00bb""[yay]\u00bb"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 ↗