feat: add delivery watchdog and crowd quality summary
Some checks failed
CI / pytest (Python 3.10) (push) Has been cancelled
CI / pytest (Python 3.11) (push) Has been cancelled
CI / pytest (Python 3.12) (push) Has been cancelled

This commit is contained in:
Hermes Agent
2026-06-14 20:47:25 +08:00
parent 9d1a6a11b0
commit e24107c517
7 changed files with 207 additions and 2 deletions

View File

@@ -161,11 +161,18 @@ GAOKAO_SKIP_INSTALL=1 bash scripts/dev-verify.sh
- 事件表:`delivery_notifications`
- 执行器:`data.notifications.dispatcher.DeliveryDispatcher`
- CLI`python3 scripts/gaokao-delivery-dispatch.py --channel station`
- watchdog`python3 scripts/gaokao-delivery-watchdog.py --channel station`
最小语义:
- 交付物齐全HTML/PDF 存在)→ `ready -> sent`
- 交付物缺失 → `failed`,并写入 `failure_reason`
- watchdog 遇到失败事件返回 exit code `2`
### crowd_db 质量汇总
- `python3 -m data.crowd_db.quality_summary --human`
- 输出 27 省 province-level `quality_level / quality_label / confidence` 汇总
### T6.7 Docker Compose 一键启动