Repository navigation
fix: 统一中文协作并加固基准证据工具 - #525
Merged
Merged
Conversation
11 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联 Issue
见 #521。此 PR 交付工具/模板的中文统一及全仓体检发现的工具修复;全仓审查还依赖 Core 子视图和 DAG 依赖修复,不自动关闭议题。
改了什么
gh --body-file提交也沿用模板。config.parallelism,汇总交叉核验记录、CLI 与 manifest。兼容未记录 config 的历史报告,不补造 Go Config 不存在的 gomaxprocs。新增
新增完整性、实际并发、早拒绝、超时证据和进程清理回归,以及真实短进程的“采样→汇总→等价恢复”回归。CI 增加
test_production_summary.py。没有新增 Core API、公开包或 Go 根模块依赖。影响范围
Python
description=__doc__对应的 CLI 帮助文字改为中文。机器指令、版权/许可证原文、协议常量、错误字符串、运行输出与 Go 示例期望输出保持原样;英文 README 和站点正文继续保留双语分工。非空旧中断报告若没有可核验摘要,恢复会保守拒绝;旧完整报告仍可用最终 hash 核验,原有 sampler_sha256 同版本限制保持。历史报告不回写、不补造身份,不修改历史性能数字。此次 CI 新增测试是有意行为变更,不能将整个 PR 称为纯注释改动。
测试
Python 3.13.2/Go 1.26.10/Windows amd64。所有临时探针和证据保留在仓库外。
python -B benchmarks/tools/test_production_tools.py、test_production_summary.py、test_tools.py三套完整测试在最终集成副本共 49 项通过,0 失败、0 错误、0 跳过,10.979s。37 → 0最终返回 0;拆步后采样步骤返回 37、汇总步骤独立返回 29。两平台共用两个独立 steps。.gitignore、CSS、同步脚本的非注释内容一致;Go 注释机器指令与示例输出保留;LF 和git diff --check通过。site/的npm.cmd run build通过,只有大于 500kB chunk 的普通提示;构建未改已跟踪源文件。审查关注点
恢复必须先核验后写入,不能重写损坏历史或洗掉旧错误;规范化不放宽其他运行身份;错误与缺测值不能变成成功或零;Windows 与 Ubuntu 两套 CI 测试各自阻断。
自审