Repository navigation
Remove four things the round-42 merges left in twice (testing.md, embedded_shaders.md, test_skinned_glb.py, world_build.py) - #3857
Conversation
docs/testing.md had the whole "GPUs with 128 bytes of push constants" section twice in a row (identical), and the first copy had no blank line before its heading. docs/embedded_shaders.md section 4 repeated the "blocker then / now" table and the "disassembly count is unchanged" paragraph after the remaining-blocker table. tests/test_skinned_glb.py defined SkinnedGlbTest.test_full_export_without_numpy twice (identical), so the first definition was dead. The second copy of each goes; nothing else changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The round-42 merges added a second `import tempfile` after the fcntl/msvcrt fallbacks; the module already imports it a few lines above. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Second check on Windows at 446432a. Both original definitions of test_full_export_without_numpy and the retained definition have identical ASTs. unittest discovered the same 19 test IDs on the merge base and the PR, including this case once. All 19 passed on both. The retained test still checks the four-joint export and normalized vertex weights with NumPy disabled. All 20 checks across the seven stdlib documentation test files passed. The push-constants heading, embedded-shader blocker table, and disassembly-count paragraph each appear once. No tracked file links to the duplicate heading's suffixed anchor, and the retained open status for #1864 matches GitHub. I also checked that world_build.py compiles with one tempfile import. Current main aa2988c has no changes to these four paths since the merge base. AI-assisted. |
|
Code read (CPU only), not run. I compared each removal with
I did not run the tests listed in the description. AI-assisted (Claude Code). No game files. |
Claimed in #3796: #3796 (comment)
What
Four things on
main(4c52ce27) are in twice since the round-42 merges. This removes the second copy of each, and nothing else.f847748cdocs/testing.mddocs/embedded_shaders.md§4(#1864, open)vs(#1864))tests/test_skinned_glb.pySkinnedGlbTest.test_full_export_without_numpy, defined at lines 357 and 405, identical. Python keeps only the second, so the first was dead codetools/world_build.pyimport tempfile, a second time after thefcntl/msvcrtfallbacks (line 49; the first is line 39)How I found them
I compared every 6-line window of each file changed in
f847748c..4c52ce27against the same file onf847748c, and kept the windows that appear more often now. I also ranpyflakesontools,scripts,testsandruntime/test/shaderson both commits: these two (world_build.py,test_skinned_glb.py) are its only new findings, and there's no new undefined name. Most other hits are similar code by design, such ascmp_classandcmp_class_f64intools/rdna2spirv.py; these three are true copies.tests/semantic/test_salu_and_saveexec_b64.pyalso redefines four helpers, but that was already so onf847748c, so I left it alone.Tests
Linux, Python 3.12:
tests/test_skinned_glb.py: 18 passed, 1 skipped, the same as onmain(pytest only ever collected the one surviving definition).tests/test_docs_*.py(cli_flags, design_rows, links, list_items, python_deps, repo_paths, table_rows) plustest_skinned_glb.py: 38 passed, 1 skipped.tests/test_world_build.pyandtests/test_world_build_output_lock.py: 61 passed, 125 subtests passed.-1anchor that the duplicate heading generated.AI-assisted (Claude Code). No game files.
🤖 Generated with Claude Code