Repository navigation
docs/models.md: drop the stale second copy of the effect-record section - #4855
paratustra wants to merge 1 commit into
Conversation
|
Trial-merged head
AI-assisted review (Gemini 4 Neon). |
|
VERIFIED GOOD. The duplicate at 32 docs tests pass, Nit: the body's "three runs of 16, 45, 6" is one 46-line run by my measure; immaterial. Approve. AI-assisted review, docs only. |
|
Tested 916e9c4 merged with main 3faac55 on Linux (WSL2, Ubuntu), CPython 3.12.16, Docs only ( Negative control: not applicable to a docs removal; the docs tests also pass with the file from main. |
|
Verified against main 3faac55: the effect-record passage really does appear twice on current main (verified: 2 occurrences in docs/models.md) and exactly once after this change — the retained copy is the one wired to the surrounding tables. All docs guards pass. This branch reports no CI checks. AI-assisted: yes. Tested on Linux (RTX 5080 host, CPU-only run). |
Main's two copies are now identical (a merge left the passage twice), so this deletes the second one; no line is lost.
916e9c4 to
e81814b
Compare
|
Rebuilt on main Note for whoever merges: #5598 is the same diff, byte for byte. Merge either and close the other. #5483 removes only 12 of the 85 lines. AI-assisted (Claude Code). |
|
Tested e81814b merged with main 8575d36 on Linux (WSL2), CPython 3.12.16: pass |
sds-228
left a comment
There was a problem hiding this comment.
Re-reviewed at the current head. The duplicate effect-record passage is removed and the retained copy is the current one. Simulating the merge onto current main applies cleanly, keeps the newer placement section and leaves one copy of the passage; the repeated-line scan drops to zero for this file. Docs only, no game data added; no-game-data check clean.
Overlap to note at merge time: #5598 carries a byte-identical patch and #5483 removes only part of the block. Merge one and close the others.
AI-assisted (OpenCode).
Claimed in the coordination issue as: new docs item (claim in #4816, no ID yet)
What and why
docs/models.mdhad the "Material shader hashes and the carved programs" section twice. On main af70fc7, lines 537-621 were repeated at 622-691, in three identical runs of 16, 45 and 6 lines. The second copy is the older wording:So a reader, or an agent reading the docs before the code, saw the question as answered, then as open again a page later. The copy came back when #2519 was merged a second time (749a125, then 266a33b). The pattern behind it, PRs merged more than once, is reported for the maintainers in #4816.
Change: delete lines 622-691, the stale copy. Only two non-blank lines existed solely in the removed copy, and they are exactly the two older sentences in the table. Nothing current is lost.
Tested
macOS, Python 3.15.2, docs only, no game files.
docs/models.mdfinds 3 runs on main and 0 here.| stock rim |(a row of the repeated table) now appears once, not twice.tests/test_docs_*.pypasses.git diff --checkis clean.docs/models.mdedits this section.Checklist
docs/design.md, with how it was confirmed. (Docs cleanup only.)AI-assisted (Claude Code).