FAILURE MAP
← Case archive

FA-78128 / Subtitle cue timing / Member archive

Proportional cue splitting: boundary arithmetic · case 03

The last split piece ends before the original cue end.

Member previewVariant 3 · 3 implementations · 9 checks per implementation

Case contract

Split cue [start,end] into len(parts) consecutive cues. Each part weighs max(1, len(part.strip())). Boundary after part k is start + floor(dur * cumulative_weight_k / total_weight); pieces are contiguous and the last ends at end. Output [s,e,part.strip()].

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 fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
regression: boundary arithmetic[[1000, 1006, "xyz"]][[1000, 1007, "xyz"]]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 ↗