FAILURE MAP
← Case archive

FA-100209 / Annotation span alignment / Member archive

Leading whitespace trim leaves annotation offsets stale · case 04

Leading whitespace trim leaves annotation offsets stale.

Member previewVariant 4 · 3 implementations · 7 checks per implementation

Case contract

Trim k characters from the front. Keep spans with end>k, clip start to k, and rebase surviving endpoints by k.

Why this case matters

A small offline annotation transformation keeps span coordinates explicit when text or token boundaries change.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
after trim[[6, 9, "a"]][[2, 5, "a"]]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 ↗