Skip to content

test(screen): 覆盖画面识别失败诊断日志(#2751) - #66

Open
luoyrair wants to merge 2 commits into
OneDragon-Anything:mainfrom
luoyrair:feat/2751-color-filter-error-report
Open

test(screen): 覆盖画面识别失败诊断日志(#2751)#66
luoyrair wants to merge 2 commits into
OneDragon-Anything:mainfrom
luoyrair:feat/2751-color-filter-error-report

Conversation

@luoyrair

@luoyrair luoyrair commented Aug 28, 2026

Copy link
Copy Markdown

为什么改

主仓 PR 实现画面识别失败时输出带颜色过滤标注的诊断日志(issue #2751),本 PR 补配套测试。

改动要点

  • 新增 test_screen_match_failure_log.py,4 个用例:
    • 快捷手册-训练 的 TAB 标识(带 color_range)识别失败 → 失败日志标注 颜色过滤
    • 无 color_range 的画面标识失败 → 失败日志不误标 颜色过滤
    • 识别成功 → 不输出失败诊断日志
    • 候选画面无 id_mark → 通用日志

关联

Co-Authored-By: Claude <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 28, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 14dd13a0-01e2-424d-868d-2586ee3071c1


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant