FAILURE MAP
← Case archive

FA-100157 / Annotation span alignment / Member archive

Token index maps to the wrong character boundary · case 02

Token index maps to the wrong character boundary.

Member previewVariant 2 · 3 implementations · 7 checks per implementation

Case contract

Given token intervals [start,end), return the start offset at index i; index equal to token count maps to final end; invalid indices return -1.

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
negative index1-1Failed

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 ↗