Files
douyi_guaji_main/tests
CodexandClaude Opus 4.7 daddabd8cf refactor(stage): 拆出步骤3 OCR 推荐/关注/直播列表检测(1066→814,-252 行)
把 douyin_stage 步骤3 中的"OCR 推荐页/关注列表/直播列表标签栏"检测块(269 行)抽到
detect_recommend_follow_live_tabs。三个相似的"裁剪 + mode0+mode1 双 OCR + 关键词
匹配"块共享 _ocr_with_dual_modes 辅助。

新增 5 个单元测试覆盖 RECOMMEND/FOLLOW/LIVE 命中 + 全部不命中 + 外层异常吞噬。
1284 → 1289 用例全过。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-22 04:31:50 +08:00
..