Private
Public Access
chore(scripts): scaffold scripts/video_analysis/ + placeholder test
This commit is contained in:
@@ -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].
|
||||||
|
"""
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user