fix(docs): N101 ships 568 tbx: tags, not 574
Counted three ways over `N101-2025-860031.json`, none of them importing this
package: raw `tbx:` substring 568, regex over `"tag": "tbx:` 568, node
traversal 568 across 10 distinct tags (94 x 6 + 1 x 4), out of 7 374 tags in
the delivery. The number is corrected in all four places that published it --
CLAUDE.md, `tools/okf_witness.py`'s `_sts_role_json` docstring,
`tests/test_accounting_gate.py` and the round's report -- and the test from
the previous commit now counts it rather than repeating it.
The one remaining `574` in the tree is `docs/2026-09-11-k3-runde8...md:89`
("11 016 and 6 574"), a character count of two documents and a different
number.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
0ac474582c
commit
d1de1a6a9d
4 changed files with 5 additions and 5 deletions
|
|
@ -370,7 +370,7 @@ def test_the_json_role_map_reads_a_prefixed_tag_and_the_publishers_figcaption()
|
|||
|
||||
|
||||
def test_a_prefixed_tag_that_names_no_role_stays_uncounted() -> None:
|
||||
"""The known-negative for stripping the prefix: N101 ships 574 `tbx:`
|
||||
"""The known-negative for stripping the prefix: N101 ships 568 `tbx:`
|
||||
tags, and not one of their local names is a role. A rule that generalises
|
||||
is measured against what it must NOT take."""
|
||||
for tag in ("tbx:term", "tbx:definition", "tbx:note", "tbx:termEntry"):
|
||||
|
|
@ -412,7 +412,7 @@ def test_n101s_own_prefixed_tags_are_counted_here_and_name_no_role() -> None:
|
|||
names = _tags_of(N101_DELIVERY.read_bytes())
|
||||
assert sum(names.values()) > 0, "the walk found no tag at all"
|
||||
tbx = {tag: n for tag, n in names.items() if tag.startswith("tbx:")}
|
||||
assert sum(tbx.values()) == 574
|
||||
assert sum(tbx.values()) == 568
|
||||
for tag in sorted(tbx):
|
||||
assert witness._sts_role_json(witness._local(tag), "sec", "body") is None, tag
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue