Files
douyi_guaji_main/tests
CodexandClaude Opus 4.7 c2654d60aa refactor(stage): 拆出"非直播间购物红包 OCR 复查"块(1204→1066,-138 行)
把 douyin_stage 步骤2.5 中的"非直播间购物红包 OCR 复查"逻辑(含 mode0+mode1
双 OCR、置信度兜底、154 行)抽到 detect_redpacket_ocr_recheck_outside_live。

新增 5 个单元测试(无背景跳过 / 关键词命中 / 高置信度命中 / 无匹配 / 异常吞噬)。
1279 → 1284 用例全过。

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