FA-77909 / Subtitle cue timing / Member archive
Partial subtitle resync from a point: resort after partial shift · case 04
After a negative partial resync, cue numbers no longer follow display order.
Case contract
Cues [start,end,text] (sorted by start) whose start is at or after from_ms are shifted by offset ms (start and end). A cue whose end becomes <= 0 is dropped; a negative start is clamped to 0 without moving its end. The result is re-sorted by (start,end) and numbered from 1 as [n,start,end,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: resort after partial shift | [[1, 0, 1050, "e"], [2, 0, 1, "c"], [3, 1950, 2750, "a"]] | [[1, 0, 1, "c"], [2, 0, 1050, "e"], [3, 1950, 2750, "a"]] | 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 ↗