HF RL Explorer

subtitle timing: edge case

subtitle timing: edge case: a task in smol-software-harbor (Harbor dataset). Shifting subtitles backwards past the start of the film produces broken timestamps such as -1:59:59,500 in srtshift.py . Times must stop at 00:00:00,000 , as the docstring of shift() says. Fix it and run python3 -m pytest…

The task

Shifting subtitles backwards past the start of the film produces broken timestamps such as `-1:59:59,500` in `srtshift.py`. Times must stop at `00:00:00,000`, as the docstring of `shift()` says. Fix it and run `python3 -m pytest -q`.

Part of efederici/smol-software-harbor.