Repository navigation
docs/design.md: drop merge leftovers in two contract rows - #3145
Conversation
|
Read 52aebe5 on Windows 11 (Python 3.13.7): pass Character-level diff of the three rows against the merge base f847748: four contiguous deletions, nothing added, cell counts unchanged.
Not checked: the exchange-tearing statement itself against a run (it is unchanged by this PR). AI-assisted check (Claude Code). |
|
Read 52aebe5 against main f847748: accurate Test merge into main is clean and the four
|
# Conflicts: # docs/design.md
# Conflicts: # docs/design.md
969dac1 to
8c51a15
Compare
|
Reviewed 8c51a15 merged onto main de67135 on Linux (CPU only): fail Ran (python3.13 -I -m pytest -q): tests/test_docs_*.py, tests/test_ci_registration.py, tests/test_text_encoding.py: 43 passed, 10 subtests. Merges cleanly into main. So the docs tests are green, but they do not catch what follows. I split the two edited rows of docs/design.md into sentences, old (origin/main) versus new, and listed every sentence of the old row that is gone from the new row. Row "d16 and f16 format narrowing": 0 sentences lost, no duplicates left. This one is a correct de-duplication (the repeated "#489's own narrower, f32_to_f16_int ..." sentence is removed once). Row "Other additions" (starts with image_gather4_l(_o)): 11 sentences lost. This is not a pure duplicate removal. The old row held two different versions of the border-mode text, and the PR deletes both instead of keeping one. Gone from docs/design.md, with no other copy in that file (grep of the new file: BORDER_COLOR_TYPE 0 hits, SHADER-348 0, FORCE_UNNORMALIZED 0; on main 2, 1 and 4):
Second finding, file docs/design.md, same row: the join leaves a stray period pair: "... otherwise the mode is read from the SGPR at run time. . GPU-checked with ...ps_gather_wrap.asm ...". Check with: grep -o "run time. . GPU" docs/design.md (1 hit). Suggested fix: keep one copy of the modes 6 and 7 paragraph and the Unsupported / approximation sentences (the newer wording that mentions SHADER-348 and BORDER_COLOR_TYPE), drop only the older repeated half-border sentence, and remove the ". ." artifact. A character-level diff against main that lists only removals which also appear verbatim in the new row would have shown this. No game files. |
|
Reviewed 8c51a15: the row 407 change is right (the The "Other additions" row (line 316) change is larger than the description says. It deletes one contiguous block (the line goes from 4,377 to 2,621 characters), from "A literal S# with a border mode (4-7 ..." through the first
Each of these appears once on main and nowhere else in |
|
@tedin7 @KkelebekK — both reviews are correct, thank you. I verified the deleted block against What changed: the "Other additions" row is now main's row with only the two genuine duplicates removed — the older I also added a regression test in Verified (AI-assisted, OpenCode; Windows 11 Pro 26300, NVIDIA GeForce GTX 1060 6GB / driver 582.78 — GPU not used by this docs-only change, listed for disclosure): |
|
Tested on Windows 11 / Python 3.12.10 at head SHA
AI-assisted review (Gemini 4 Neon). |
|
@DenRakEiw — thank you for re-testing the corrected head |
|
Independent macOS code read and test run at head 8836913 (Apple M2, Python 3.13.18). The duplicate AI-assisted. |
|
@bobcatchris — thank you for the independent macOS / Python 3.13 read and test at the corrected head |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
shayderrr
left a comment
There was a problem hiding this comment.
Summary
docs/design.md: drop merge leftovers in two contract rows. Changes docs/design.md and tests/test_docs_design_rows.py. Ec8ec4c9 ("Fix what the round-40 merges broke") merged contract rows sentence by sentence, and two rows that no open PR touches still carry the older copy next to the newer one.
New tests: test_deduplicating_a_row_keeps_its_unique_border_mode_facts.
Why merge
Documentation quality: keeps the reference accurate and de-duplicated so readers and tooling rely on correct information. No runtime behavior changes, so merge risk is minimal.
Verdict: Approve
Summarydocs/design.md: drop merge leftovers in two contract rows. Changes Why mergeDocumentation quality: keeps the reference accurate and de-duplicated so readers and tooling rely on correct information. No runtime behavior changes, so merge risk is minimal. Verdict: Approve |
Claimed in the coordination issue as: #3047 (comment)
What and why
ec8ec4c ("Fix what the round-40 merges broke") merged contract rows sentence by sentence, and two rows that no open PR touches still carry the older copy next to the newer one. This drops the older copy only:
Unsupported" sentence, which contradicts the half-border/border-colour support described right after it, and the first of twops_gather_wrap.asmGPU-check sentences (the kept one continues with the border-mode fixtures).f32_to_f16_int→f16_bitsfolding sentence appeared twice, word for word.A third row this PR first covered,
buffer_atomic_{and,or,xor,swap}_x2, was removed indac28e6b, but later main revisions restored its old wording, so it is intentionally not part of this diff (that row needs its own follow-up).The
docs/design.mdchange deletes only stale text — every number and table cell is preserved — and commit88369135adds an 18-line regression test intests/test_docs_design_rows.py. Rows with the same kind of leftover that are already handled elsewhere are left alone: #3084, #2234, #2945/#3081, #2832, #2063.Tested
Docs only, no GPU needed.
python -m unittest tests/test_docs_design_rows.pypasses; a script confirms each changed row now has no repeated 14-word run and keeps every numeric value. AI-assisted.Checklist
docs/design.md, with how it was confirmed. (No new rule.)