FA-78113 / Subtitle cue timing / Member archive
Adjacent duplicate cue merging: blank cue guard · case 03
Consecutive blank spacer cues are fused into one long empty cue.
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 fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: blank cue guard | [[500, 1000, "No"], [1099, 1599, "Go now"], [1700, 1999, ""]] | [[500, 1000, "No"], [1099, 1599, "Go now"], [1700, 1800, ""], [1899, 1999, ""]] | 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 ↗