FAILURE MAP
← Case archive

FA-78103 / Subtitle cue timing / Member archive

Adjacent duplicate cue merging: merge short-circuit · case 03

Merged duplicates appear twice: once extended and once as the original repeat.

Member previewVariant 3 · 3 implementations · 9 checks per implementation

Case contract

Walk cues [start,end,text] in order. Text is normalized by collapsing whitespace runs to single spaces and trimming. A cue whose normalized text is nonempty and equal to the previous output cue text, starting at most max_gap after that cue ends (overlaps included), is merged: the output end becomes the later of the two ends. Output cues carry normalized text.

Why this case matters

Subtitle timing defects shift, hide or overlap captions that viewers depend on for comprehension and accessibility.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression: merge short-circuit[[0, 100, "Go now"], [100, 1700, "Yes"], [1200, 1700, "Yes"], [1799, 1899, "No"], [1599, 2099, "Go now"]][[0, 100, "Go now"], [100, 1700, "Yes"], [1799, 1899, "No"], [1599, 2099, "Go now"]]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 ↗