- Implement CaptionResult frozen dataclass for structured caption data - Add parse_srt() to parse SubRip format with flexible timestamp handling - Add extract_captions() async function using yt-dlp subprocess wrapper - Prefer manual captions over auto-generated; clean up SRT files after parsing - Add 16 comprehensive tests covering edge cases (empty input, malformed SRT, timestamp variations, language extraction, manual vs auto selection) - Type-safe implementation with full mypy --strict compliance - Add sample.srt fixture with 3 segments mentioning NVDA for test reference |
||
|---|---|---|
| .. | ||
| meet_kevin_watcher | ||
| __init__.py | ||
| test_api_auth.py | ||
| test_api_routes.py | ||
| test_learning_engine.py | ||
| test_market_data.py | ||
| test_news_fetcher.py | ||
| test_portfolio_sync.py | ||
| test_sentiment_analyzer.py | ||
| test_signal_generator.py | ||
| test_trade_executor.py | ||