{ "python": "3.14.4 (main, Apr 7 2026, 13:13:20) [Clang 21.0.0 (clang-2100.0.123.102)]", "sqlite": "3.51.3", "platform": "macOS-27.0.1-arm64-arm-64bit-Mach-O", "source": "examples/system-design/labs/16/video.py", "sha256": "13682f123d5a7501289785863ad57793c9ef0b0db02c01ae9d0ebe881752a772" } $ /opt/homebrew/opt/python@3.14/bin/python3.14 examples/system-design/labs/16/video.py {"task_rows": 3, "releases": 1, "missing_before_publish_rejected": true, "corrupt_before_publish_rejected": true, "http_segments": ["PROTOCOL-FIXTURE-0", "PROTOCOL-FIXTURE-1", "PROTOCOL-FIXTURE-2"], "missing_segment_404": true, "playback": "NOT_TESTED_PROTOCOL_FIXTURES"} PASS: task dedupe, single release, HTTP references and missing segment detection EXIT_CODE=0 $ /opt/homebrew/opt/python@3.14/bin/python3.14 examples/system-design/labs/16/video.py --unsafe {"task_rows": 3, "releases": 1, "missing_before_publish_rejected": true, "corrupt_before_publish_rejected": true, "http_segments": ["PROTOCOL-FIXTURE-0", "PROTOCOL-FIXTURE-1", "PROTOCOL-FIXTURE-2"], "missing_segment_404": true, "playback": "NOT_TESTED_PROTOCOL_FIXTURES"} EXPECTED_REJECTION: published manifest with a missing segment is not a complete release EXIT_CODE=2