Skip to content

fix: 排行榜支持总消息计数并保留图片事实校验 - #21

Merged
damingishere-coder merged 1 commit into
masterfrom
codex/ranking-all-messages-20260906
Sep 6, 2026
Merged

fix: 排行榜支持总消息计数并保留图片事实校验#21
damingishere-coder merged 1 commit into
masterfrom
codex/ranking-all-messages-20260906

Conversation

@damingishere-coder

Copy link
Copy Markdown
Owner

当前六群的排行榜只按文字排序并展示互动数;本次提供从下一次新任务切换到所有可计数非系统消息总数的路径,使用现有 all_messages 引擎和 default 文案。六群正式配置尚未应用。

  • 新增默认关闭的 strict_image_fact_check 群配置及 UI 开关,贯通 API、数据库、任务快照、恢复和 OCR 校验,允许总消息排行榜保持严格图片事实校验。旧文字排行仍兼容原行为。
  • Dashboard 依据所选 ranking.json 的统计口径显示,避免群设置变化使历史文字榜被误标为总消息榜。
  • 提供默认只读的六群切换脚本,应用时要求服务停止、备份数据库、事务更新并核对其他字段。保留历史产物、发送状态和旧模板。

验证:全量后端 818 项通过;补充恢复快照场景后相关 10 项通过;前端 33 项单元测试、18 项浏览器 E2E、生产构建、Python 编译和 diff 检查通过。正式六群数据库只读预览通过。

部署:参见 docs/TOTAL_MESSAGE_RANKING_ROLLOUT.md。合并、正式数据库更新及重启等待用户当次授权;没有执行取数、生图或发送。

@damingishere-coder
damingishere-coder merged commit db44dcd into master Sep 6, 2026
2 checks passed
@damingishere-coder
damingishere-coder deleted the codex/ranking-all-messages-20260906 branch September 6, 2026 13:10
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