docs(tests): stop crediting the owner with wording he never wrote - #994
Conversation
|
GOOD TO GO at My cited source was wrong, in the same class of way as the error I corrected on #993. I said the phrase occurs in comment #847 is the primary source and I cited only #775. The reason for keeping the company name was given on #847 at 13:15:36Z, 190 characters, six and a half hours before #775's 19:53:45Z confirmation. Citing both is right; citing only the later one credits the wrong thread. "All five sites are fixed" overstates — a sixth survives in production source. One objection I am recording rather than acting on. The replacement prose lifts genuine maintainer wording verbatim but unquoted — "the company one", "dynamically/statically assigned", "a final concrete assigned name", "notation for the reader". A change that removes a fabricated quotation substitutes real unmarked fragments, and One thing I am fixing, because it is an inconsistency inside this commit: Verified independently: a fully paginated corpus of 2118 comments, 334 inline comments and 989 bodies, plus review summary bodies on 14 pull requests — a category neither of my endpoints covers. No maintainer hit for any of the three phrases. Prose-only reproduced exactly at 10751 tokens, both differing strings docstrings on both sides, zero non-docstring differences, the over-95 line set identical rather than merely not grown, and reflow clean at each block's own wrap width. Label goes to |
|
Fixed and pushed as There were four, not the three I listed — the module docstring carried one too, and the worker found it. That is the third time on this issue a count I supplied was short: 22 spans against 29 actual, five sites against six, three sentences against four. Each time the worker measured and I had not, which is the pattern rather than the exception by now. On the substance it made the call I asked it to weigh rather than take from me: the longer phrasing carried nothing #878 lacked, and the prose at the fourth site already states the crawler-rendering point in the file's own voice, so dropping it loses no checked fact. The stray "about" and the trailing "anything" are gone, so all four agree. Verified by me, and by word-level diff rather than token counts alone, which is the check that actually settles a re-flow: against the previous head the 68 docstrings show exactly the intended operations and nothing else, and One join reads like a wording change and is not, which is worth stating because it would be easy to mistake: Label stays |
Part of #987, and a worse defect than the quotations that issue usually removes: five sites presented an agent's own phrasing as the maintainer's ruling. Two phrases were attributed to him and appear in no comment anywhere. A fully paginated search of all ~2117 issue and pull-request comments plus every inline review comment finds "renaming anything" exactly once -- in the #982 review that first reported this very invention -- and finds "who may claim this pool" nowhere at all. "a real ownership fact" occurs only in an agent's own analysis on #775 (5859210283, 3471 characters), and there it describes the Xerox row in the IPX socket registry, not Xyplex. - test_const_ethertype_862_unit.py no longer attributes the scoping to a ruling. PR #878's body is where it comes from, so the prose says so. - test_const_enum_no_mint.py's Xyplex comment gave the wrong reason. The ruling's own reason, on #775 at 19:53:45Z, is that a proprietary protocol has no public name so the company name serves as one. Four sites carried the agent's gloss instead; all four now carry the real reason or the maintainer's mint-versus-notation criterion from #847. #982 found this and named four lines; it was never fixed, and the sites had since drifted. Where the phrase survives it is now unquoted and credited to PR #878, which is what wrote it. Prose only: with comments and NL dropped the token sequences are identical at 10751 each, the AST with docstrings blanked compares equal in both files, test_const_ethertype_862_unit.py is identical once comments are masked, and no assertion depends on any changed text. No file gains a line over 95 characters.
The cross-review found the surviving sentences crediting PR #878 with wording #878 never used, and this branch doing it two ways. #878's body says the change is about not registering rather than renaming, and that the existing hex-suffixed name is preserved. There were four such sentences, not the three I had listed -- the module docstring carried one too. That is the third time in this issue a count I supplied was short: 22 spans against 29, five sites against six, three sentences against four. Each time the worker measured and I had not. - All four now say what #878 says: keep the existing hex-suffixed name, since the change is about not registering rather than renaming. The longer form carried nothing #878 lacked, and the prose at the fourth site already states the crawler-rendering point in the file's own voice. - The stray "about" and the trailing "anything" are gone, so the four agree. Prose only, proven by word-level diff rather than token counts alone: against this branch's previous head the 68 docstrings show exactly the intended operations and nothing else, and test_const_ethertype_862_unit.py is untouched this round. With comments and NL dropped the file is token-identical to main at 10751, the AST with docstrings blanked compares equal, and the over-95 line set pairs up by length with no entry added. One join reads like a wording change and is not: "still-" ending a line and "minting" starting the next became "still-minting". The hyphen was already there on main.
c4a26a9 to
2bfd3e0
Compare
The round-2 review found the reflow had joined a split cross-reference without repairing it: main wrapped :func:`_is_hex_suffixed_ / unregistered_name` across two lines, which renders as one space, and the reflow pulled it onto one line keeping the space. That is worse than the artefact it replaced -- a wrapped role reads as a wrapping accident, a one-line one reads as the name. - The role is one unbroken name again. The function is at :1175 and was already cited correctly at :162. - Two further roles the earlier reflows had split the same way are repaired: EnumRegistry._unregistered_member, which read "enum. EnumRegistry", and the pair separated by an oblique, which carried a space before it. - The four #878 clauses now use one wording. They differed as keep against keeping and this way against that way; #878's body uses the gerund, so keeping is the closer form. The commit that claimed the four agreed is now telling the truth. - The 80-column line in the Xyplex comment block is rewrapped. That block's width is 78. Measured rather than asserted: zero single-line role targets contain a literal space in either file, against zero on main, so the defect this round introduced is gone and none was left behind. The normalised clause occurs four times and none of the three former variants occurs at all. Prose only: with comments and NL dropped both files are token-identical to main at 10751 and 753, the AST with docstrings blanked compares equal, and the 24 over-95 lines pair up by length with nothing added.
|
GOOD TO GO at The review caught a defect this pull request introduced, which is the finding worth keeping. Measured rather than asserted, and the measurement needed fixing first: my own sweep flattened newlines, so it counted every role spanning a line break as broken and reported 42 on The four #878 clauses now genuinely agree: four occurrences of one wording and zero of the three former variants, measured on flattened text. My earlier commit claimed they agreed when they differed as keep against keeping and this way against that way. #878's body uses the gerund, so the normalised form is the closer one. Two corrections to my counts from the review, the fourth and fifth on this issue. There are five #878-crediting sentences across the two files, not four — the fifth is in One finding in the work's favour that I had not established: the phrase round 2 dropped appears nowhere in #878's body, so it was invented and over-claiming — #878 states explicitly that the vendor output was not byte-regenerated and that this is weaker than byte-identity. Removing it deleted a false claim rather than a checked fact. Verified at this head: token-identical to Labelling |
Please follow the guide below
make pylint,make mypy,make isort)make testpasses, and a test case covers the changedocs/source/changelog/and regeneratedCHANGELOG.md, if the change is user-visible — N/A, centralised in docs(changelog): shared 1.5.0 changelog — long-lived, merges last (#610, #616, #617, #618, #620) #657What is the purpose of your pull request?
fix— corrects a defectfeat— adds a featureperf— changes performance, not behaviourrefactor— changes neither behaviour nor performancetest— tests onlydocs— documentation onlyci— workflows or build toolingchore— anything elseDescription of your pull request and other information
Part of #987, and a worse defect than the quotations that issue usually removes: five sites presented an agent's own phrasing as your ruling. A quotation you did write is merely against convention; a quotation you did not write is a fabricated citation.
The evidence. A fully paginated search of all ~2117 issue and pull-request comments, plus every inline review comment, finds
renaming anythingexactly once — in the #982 review that first reported this very invention — and findswho may claim this poolnowhere.a real ownership factoccurs only in an agent's own analysis on #775 (comment5859210283, 3471 characters), and there it describes the Xerox row in the IPX socket registry, not Xyplex.The substantive correction.
test_const_enum_no_mint.pygave the wrong reason for keeping Xyplex minted. Your actual reason, on #775 at 19:53:45Z, is that a proprietary protocol has no public name of its own so the company name serves as one. Four sites carried the agent's gloss instead; all four now carry either that reason or your mint-versus-notation criterion from #847.test_const_ethertype_862_unit.pyno longer credits a ruling with the scoping — PR #878's body is where that came from, so the prose says so.#982 found this and named four lines; it was never fixed, and the sites had since drifted by nine. Where the phrase legitimately survives it is now unquoted and credited to #878.
A correction to my own method, since I cited the search as evidence on #993. My first sweep used
?per_page=100&page=Nover six pages — 600 of ~2117 comments, under a third — and missed the agent comment that actually containsownership fact.gh api --paginateis the only exhaustive form. The conclusion is unchanged and in fact better supported, but the search I described was not the search I had run.Prose only. With comments and
NLdropped the token sequences are identical at 10751 each; the AST with docstrings blanked compares equal in both files;test_const_ethertype_862_unit.pyis identical once comments are masked; no assertion depends on any changed text; and neither file gains a line over 95 characters.