FA-78015 / Subtitle cue timing / Member archive
Minimum cue duration extension: shortness test · case 05
Cues late in the programme are never extended no matter how short they are.
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: shortness test | [[0, 1001], [1500, 2500], [3000, 3999], [800, 2800], [0, 800]] | [[0, 1001], [1500, 2500], [3000, 4000], [800, 2800], [0, 800]] | 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 ↗