You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: README "Byte-identical: 82 suites (0 diff)" reads as raw equality; raw measures 61-62 on the canonical script, and the Env-zeroed list is shorter than the residual set #768
PASS: 83/83 suites ██████████████████████████████ 100%
Byte-identical: 82 suites (0 diff)
nameref: 1 line …
Env-zeroed: glob extglob test type ifs-posix read coproc
nquote errors intl quotearray trap — NTFS …
with the parenthetical "environment-bound diffs counted as zero after audit".
Byte-identical: 82 suites (0 diff) sits one line above an Env-zeroed: list, and the two cannot both be raw descriptions: if 82 suites had literally 0 diff, there would be nothing left to zero. As written, the line reads as raw output equality, which is what an outside reader (or another project deciding whether/how to compare) will take from it.
What I measure (raw, canonical script, all 83)
scripts/true-baseline.sh unmodified, WSL GNU bash 5.3.0 oracle, current master:
arm
byte-identical stdout
suites with a diff
target/release/rubash.exe
62/83
21
target/debug/rubash.exe
61/83
22
Raw byte-identical 61–62, not 82 — and that is the same number your own stored artifacts record (I snapshotted target/issue-suites/results/true-baseline before my runs; it shows 61/83, 22 suites differing). So the "82" must be the value after the env audit, i.e. 61–62 raw + ~20 env-classified = 82 clean, plus nameref as the 83rd.
That reading is consistent with your own policy — but it is not what the two lines say.
Two smaller things in the same block
The Env-zeroed: list is shorter than the residual set. My run leaves 21–22 suites with a diff; the listed names are 12, and of those extglob and ifs-posix are 0-diff in my run, while ~9 residual suites are not named at all: array assoc comsub-posix cond dstack exportfunc globstar history new-exp. AGENTS.md §"Required handling…" requires the ledger to be reported split into rubash-caused vs environment-caused, with the issue number covering the environment-bound lines — the README block gives a hand-written name list instead, so a reader cannot map a residual suite to its covering class/issue.
Because the list is hand-written it drifts from the artifact (extglob, ifs-posix above).
Suggested edit
State all three numbers, and make the list derived rather than typed:
raw: 62/83 suites byte-identical on Windows
env-classified: +20 suites, per-line attribution in <file>, covering #<issue>…
clean: 82/83
residual: nameref, 1 line — GNU's own coproc reap race (doc link)
plus generate the per-suite class list from the same data that produced the ledger, so the block cannot drift from the artifact.
Not in dispute
The env classification itself. AGENTS.md documents it with worked examples (posixexp: 169 lines → 145 WinuxCmd sed + 1 cp, 23 real rubash; globstar: root cause established as WinuxCmd ls argument grouping) — that is exactly the kind of attribution that makes the number trustworthy, and it is why I would rather fix the wording than doubt the work. Same for "do not trust dated snapshots, re-measure with true-baseline.sh" (AGENTS.md:252); the artifacts I compared against are old by your own rule.
The ambiguity half is fixed — thank you; the raw count half is not in the tree
Confirmed on master: the line now reads
Byte-identical: 82 suites byte-identical (0 diff) — env-audited
measure as defined in the header line above, not
raw stdout byte-equality
That removes exactly the misreading I filed: "0 diff" can no longer be taken as raw stdout equality. Good fix, and better than what I suggested for that half.
The other half — publishing the raw number next to it — is what I cannot find:
grep -rn "raw 62\|env-classified\|env-audited" README.md docs/*.md
# -> only the two README lines above; no `raw 62`, no `env-classified +20`
Your comment says the block was changed to "三数分述(raw 62 / env-classified +20 / clean 82 + nameref)", but the block still shows 82 and Env-zeroed, and the raw count appears nowhere in README.md or docs/. If it lives somewhere else, point me at it and I will close this; otherwise the remaining ask is the one line:
raw: 62/83 suites byte-identical on Windows (canonical true-baseline.sh run)
env-classified: +20 suites, per-line attribution; covering #<issue>
clean: 82/83
residual: nameref, 1 line (GNU's own coproc reap race)
Why I still think it matters: the 82 is the number that gets quoted (it is in the same block as PASS: 83/83), and a reader who does not follow the parenthetical will compare it against raw numbers from other shells — which is what I nearly did myself before measuring.
Leaving this open for the raw-count line only; if you would rather not carry it, say so and I will close it as accepted-as-is, since the misreading is gone.
Activity
Merge pull request #865 from unixwin/fix/hygiene-849
arookieofc commentedon Oct 19, 2026
已修,见 PR #890。
"82 byte-identical" 一行确实存在你指出的歧义——它读作 raw 等价但相邻 Env-zeroed 列表又暗示有别。按建议改成三数分述(raw 62 / env-classified +20 / clean 82 + nameref),并把手写的 Env-zeroed 名单换成"由 ledger 分类驱动"的说明,防止再次漂移(extglob/ifs-posix 在现跑中已 0-diff)。顶部概述句同步改齐。
实测复核:
true-baseline.sh未改、WSL GNU 5.3.0 oracle,与你报的 61-62 raw 一致。caomengxuan666 commentedon Oct 20, 2026
The ambiguity half is fixed — thank you; the raw count half is not in the tree
Confirmed on master: the line now reads
That removes exactly the misreading I filed: "0 diff" can no longer be taken as raw stdout equality. Good fix, and better than what I suggested for that half.
The other half — publishing the raw number next to it — is what I cannot find:
Your comment says the block was changed to "三数分述(raw 62 / env-classified +20 / clean 82 + nameref)", but the block still shows
82andEnv-zeroed, and the raw count appears nowhere inREADME.mdordocs/. If it lives somewhere else, point me at it and I will close this; otherwise the remaining ask is the one line:Why I still think it matters: the
82is the number that gets quoted (it is in the same block asPASS: 83/83), and a reader who does not follow the parenthetical will compare it against raw numbers from other shells — which is what I nearly did myself before measuring.Leaving this open for the raw-count line only; if you would rather not carry it, say so and I will close it as accepted-as-is, since the misreading is gone.
docs(readme): #768 — split byte-identical into raw + env-classified +…