Repository navigation
fix(tools): parity runner 计数失配收口——CORPUS_TOTAL 75→76(第一腿自 2026-09-18 恒红;#132 加语料未同步) - #170
Merged
Merged
Conversation
…te/cli_view_test.cr 未同步;第一腿自 2026-09-18 起硬失败)+ REBUILD.md 配方同改 + 实测分布加注留痕
dslsdzc
force-pushed
the
feature/parity-corpus-count
branch
from
September 23, 2026 22:02
7756f0f to
47e84bf
Compare
This was referenced Sep 23, 2026
dslsdzc
added a commit
that referenced
this pull request
Sep 23, 2026
…L=75(该句一度为假)+ REBUILD.md 加注点明他处 75 均为 76 档之前实测值 (#171)
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.
缺陷:回归网第一腿自 2026-09-18 起恒红
tools/baseline/parity_run.sh的CORPUS_TOTAL=75,而实数 = 76。fail-closed 断言(:73-75)因此硬失败:定位:#132(批8 2(a),2026-09-18 21:54)新增
tests/suite/cli_view_test.cr(+30 行),未同步计数。而parity_run.sh:33的注释自己写着「档数变化必须同批改本行与本注释,否则 runner 硬失败」—— 正是这条被踩了。为什么 6 天没人发现:parity 不在 PR 门里(门只 3/5:
check/bootstrap-tests/selfhost-tests),而REBUILD.md「已知限制」载明 CI 环境是浅检出、无jj⇒ pinned revision 不可得 ⇒ parity 是手工判据。⇒ 计数漂移没有任何机械发现渠道。修法
parity_run.shCORPUS_TOTAL75 → 76;t1 35 → 36;三处提数同步(:2的「75 档」、:11的「计数断言」、:32的常量);注释里补第四次 +1 与失配留痕REBUILD.mdtests/suite36);:8原引parity_run.sh:31的行号去掉(行号会漂)REBUILD.md:13036×0 / 39×1是 75 档时的实测值(2026-09-17),76 档的分布与划界须下次采基线时重采核验(本 PR 做了什么、没做什么)
t1=36 · t2=2 · t3=15 · t4=19 · t5=4 ⇒ 76(shopt -s nullglob逐层 glob,与:48-65逐字同构)。bash -n tools/baseline/parity_run.sh通过。REBUILD.md那句分布已按此加注,不得当已重采使用。遗留(不在本 PR,建议登记)
计数同步没有机械判据。但存在一条不需要 pinned 二进制、也不需要
jj的静态检查:把脚本里的CORPUS_TOTAL与按脚本自身 glob 复算的数对比 —— 可进 CI。本次若早有它,2026-09-18 就会红。