fix: RANK_INVALID 落地 + 空门槛库不判安全(改判边缘+V1)+ 批量坏文件跳过 + 教授补一作/通讯独立门槛

This commit is contained in:
chenfuqiang
2026-09-27 23:00:21 +08:00
parent 04026d0372
commit b859a89222
8 changed files with 191 additions and 43 deletions

View File

@@ -22,7 +22,6 @@ def _log():
_TEMPLATE_REL = "assets/html/verify-report.html"
_VERDICT_BADGE = {"安全": "tier-strong", "边缘": "tier-try", "硬伤": "tier-strong"}
_COLOR_BADGE = {"green": "tier-strong", "yellow": "tier-try", "red": "tag-red", "gray": "tier-not"}
_COLOR_MARK = {"green": "🟢 达标", "yellow": "🟡 边缘", "red": "🔴 硬伤", "gray": "⚪ 待核"}
@@ -132,7 +131,8 @@ def build_report_for_case_id(case_id: int) -> str:
result["matrix"] = []
html_text = build_verify_html(result)
path = write_html_page(f"report-{case_id}.html", html_text)
log.info("report_render_done case_id=%s path=%s stage=render", case_id, path)
if log:
log.info("report_render_done case_id=%s path=%s stage=render", case_id, path)
return path