FAILURE MAP
← Case archive

FA-78745 / Broadcast timecode arithmetic / Member archive

Decimal seconds to frame label: exact decimal parse · case 05

An offset of 0.06 s at 25 fps lands on frame 1 instead of frame 2.

Member previewVariant 5 · 3 implementations · 9 checks per implementation

Case contract

Convert a decimal seconds string exactly (no binary floating point) at rate [N,D] to the nearest frame, halves rounding up, and a non-drop label using the nominal rate ceil(N/D). Negative input returns None.

Why this case matters

Timecode arithmetic errors misplace edits, commercial breaks and captions against the broadcast clock.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression: exact decimal parse[4, "00:00:00:04"][5, "00:00:00:05"]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 ↗