Files
douyi_guaji_main/douyin/detection
CodexandClaude Opus 4.7 b9f0389e58 chore(finder): 删除 check_have_fudai_with_ready_screenshot 中 return False 之后的不可达死代码
第 938-1431 行(共 494 行)位于函数 return 语句之后,永远不会执行。
这是早期像素检测改用模板匹配后的遗留代码。函数末尾的模块级注释
"像素检测代码已删除,使用模板匹配替代" 已说明该段代码无用。

验证:
- AST 解析通过
- pytest 1013 passed
- 函数边界从 19-1431 缩到 19-936

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