From 12fcc55cfcd6bfe52395a4d8ba4072e435397648 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Sun, 21 Jun 2026 15:26:56 -0400 Subject: [PATCH] chore(scripts): scaffold scripts/video_analysis/ + placeholder test --- scripts/video_analysis/__init__.py | 13 +++++++++++++ tests/test_video_analysis_placeholder.py | 10 ++++++++++ 2 files changed, 23 insertions(+) create mode 100644 scripts/video_analysis/__init__.py create mode 100644 tests/test_video_analysis_placeholder.py diff --git a/scripts/video_analysis/__init__.py b/scripts/video_analysis/__init__.py new file mode 100644 index 00000000..e4d4a509 --- /dev/null +++ b/scripts/video_analysis/__init__.py @@ -0,0 +1,13 @@ +"""Video analysis reusable tooling for the video_analysis_campaign_20260621 campaign. + +Scripts in this namespace: +- download_video.py: yt-dlp wrapper (subprocess) +- extract_transcript.py: youtube-transcript-api wrapper +- extract_keyframes.py: ffmpeg scene detect + cv2 + imagehash dedup +- ocr_frames.py: winsdk (or tesseract) OCR +- synthesize_report.py: orchestrator + +Per AGENTS.md, scripts are namespace-isolated by directory. +Per conductor/code_styleguides/python.md, 1-space indent + type hints + no comments (in implementation code). +Per conductor/code_styleguides/error_handling.md, all scripts return Result[T, ErrorInfo]. +""" diff --git a/tests/test_video_analysis_placeholder.py b/tests/test_video_analysis_placeholder.py new file mode 100644 index 00000000..cb92b01d --- /dev/null +++ b/tests/test_video_analysis_placeholder.py @@ -0,0 +1,10 @@ +"""Placeholder test to confirm tests/ is wired correctly for the video_analysis namespace. + +Per conductor/code_styleguides/workspace_paths.md, tests live in tests/ (project tree, not %TEMP%). +This file is deleted in Task 1.1 once real tests for extract_transcript.py are added. +""" +from __future__ import annotations + + +def test_placeholder() -> None: + assert True