FA-78010 / Subtitle cue timing / Member archive
Minimum cue duration extension: neighbour ordering · case 05
In files with out-of-order cues the extension is limited by the wrong neighbour.
Case contract
Cues [start,end] may be unsorted; the neighbour of a cue is the next cue in (start, input index) order. A cue shorter than min_dur has its end extended to start+min_dur, limited to neighbour_start - min_gap; an end is never shortened. Output keeps input order.
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: neighbour ordering | [[479, 2479], [2000, 2300], [1000, 2120], [800, 2001]] | [[479, 2479], [2000, 3200], [1000, 2120], [800, 2001]] | 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 ↗