FA-77972 / Subtitle cue timing / Member archive
Minimum gap and chaining between cues: trim floor · case 02
A short cue followed immediately by another ends before it starts.
Case contract
For sorted cues [start,end], compare each cue with the next start. If gap = next_start - end is below min_gap, the end is trimmed to next_start - min_gap but never below start+1. If min_gap <= gap < chain, the end is extended to next_start - min_gap. Larger gaps are untouched.
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: trim floor | [[1000, 2000], [2501, 2901], [3901, 3819], [3902, 5902], [6902, 7002]] | [[1000, 2000], [2501, 2901], [3901, 3902], [3902, 5902], [6902, 7002]] | 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 ↗