Repository navigation
Conversation
Kam471
left a comment
There was a problem hiding this comment.
Ran this at 405458fb on Windows 11: test_docs_repeated_lines.py 2 OK, test_docs_links.py 6 OK, test_docs_design_rows.py 2 OK; git diff --check clean.
The duplicate lines left by earlier merges are removed across six docs, and the new guard test checks for repeated lines. No blocking issue.
|
Tested
No GPU, no game data. AI-assisted. |
|
Tested
AI-assisted (Devin). |
405458f to
090328a
Compare
|
Merges cleanly into main 3faac55 and the guard itself is a real improvement: copied into a clean main worktree it fails there and passes here (re-run both ways), it demonstrably reads all 86 tracked markdown files rather than silently scanning nothing, and every dedup is a genuine removal of the stale line — collapsing the three SOPP row copies in design.md included. But one blocker: the two corrected counts do not match the suites, at your own head. python -I tests/test_skinned_glb.py reports Ran 22, not 19 (docs/models.md:742), and tests/test_first_light.py reports Ran 28 OK (skipped=4) — 24 passed, not the 15/19 your first_light.md row states, whose breakdown also still says 6 TexturedOracleTests where the file has 10 classes and omits five other classes entirely. The counts are 22 and 28 already at your head, so they need re-editing, not rebasing. Minor: the shader_validation.md hit was a false positive (two different ps_oracle.py commands sharing a 40-char prefix) — fencing is a legit markdown fix but reviewers should know the guard can be satisfied by fencing; and the self-test's far-apart case sits 6 lines out, so WINDOW=3 is never boundary-tested. Nothing asserts doc-stated test counts, which is why this slipped. AI-assisted: yes. Tested on Linux (RTX 5080 host, CPU-only run). |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> # Conflicts: # docs/design.md
090328a to
1718e61
Compare
|
@memorypressure thanks, you were right: the counts were not re-measured. #4490's original commit is already on main (merged as Re-measured on that tree, Linux, repo venv Python 3.12.16,
Minor notes:
|
|
Tested |
…t_skinned_glb 24); test_docs_repeated_lines: WINDOW boundary self-test
1718e61 to
bcbfd5c
Compare
|
Main moved again and the branch conflicted in docs/first_light.md (main now carries the same 46/42/4 wording without the class list). Rebased onto upstream/main 1cc6e3c, keeping the class list; head is now bcbfd5c (1 commit, 3 files: docs/first_light.md, docs/models.md, tests/test_docs_repeated_lines.py). Re-ran on that tree, Linux, repo venv Python 3.12.16, python -I: test_first_light.py Ran 46 OK (skipped=4); test_skinned_glb.py Ran 24 OK; all tests/test_docs_*.py OK. The counts in the docs are unchanged by the rebase. |
|
Tested bcbfd5c on macOS / CPython 3.14.7: pass — |
What was wrong (all on current main):
docs/d3d12_vulkan.md(three places: "the one left needsbuffer_store_short", with and without rdna2spirv: 8/16-bit MUBUF loads and stores (buffer_load_ubyte/ushort/d16, buffer_store_byte/short) #1864),docs/character_models.md(the fragment exporter's "25-vertex bounds cube" and its newer "flat 25-vertex / 32-triangle bounds grid"),docs/animation.md(the full export is 350,251 models in one line and 382,781 in the next;docs/models.mdsays 382,781 ate293917),docs/models.md(the skinned-GLB test file "runs 10" and "runs 15" tests),docs/design.md(the "No-op SOPP/SMEM" contract row three times, with different op lists).docs/models.mdkept an older paragraph saying a material does not lead to the draw programs and the VS/PS table is "presumably in the executable", directly above the newer one that says they are reachable through the effect records.python -I tests/test_skinned_glb.pyprintsRan 19 tests(docs said 10 and 15);python -I tests/test_first_light.pyprintsRan 19 tests ... OK (skipped=4)(docs/first_light.mdsaid 14 tests, 11 passed, 3 skipped; the fourth skip istest_harness_rejects_wrapped_tsharp_va_overflow, which needs a builtvk_harness).Fix: keep the current line of each pair (the later commit, or the one that agrees with the code), delete the other, correct the counts. New
tests/test_docs_repeated_lines.pyfails when two prose lines within 3 lines of each other begin with the same 40 characters (list items, table rows, headings and code fences are left totest_docs_list_items.py/test_docs_table_rows.py).Not touched, to stay clear of open PRs: the repeated milestone table rows in
docs/d3d12_vulkan.md(#3634), seven repeated design rows (#3637), the duplicated section indocs/testing.mdand the repeated table indocs/embedded_shaders.md(#3857), the README "four fallback flags" sentence (#3154).Tested on Linux, Python 3.12.16: all eight
tests/test_docs_*.pypass;test_first_light.pyandtest_skinned_glb.pyrun as quoted above. Negative control: with the four doc files taken back from upstream/main,test_docs_repeated_lines.pyfails and namesdocs/animation.md:960 and :961; docs/character_models.md:15 and :18; docs/d3d12_vulkan.md:2745 and :2747; docs/d3d12_vulkan.md:2758 and :2759; docs/d3d12_vulkan.md:3259 and :3260; docs/models.md:650 and :651. The checker's own unit test shows a flagged pair, a pair four lines apart, list items, table rows, a code fence and short lines that are not flagged.AI-assisted.