Repository navigation
Conversation
|
Verified independently on
One practical note for whoever merges the set: this is one of five pull requests from the same author ( Not tested: on the game data itself (none is available or needed here); the tests are the synthetic fixtures in the repository. Written with an AI assistant. |
|
Thanks for the independent verification, and for measuring the tuple conflict — that is the useful part. The split into five is deliberate: this repository asks for one topic per pull request, and each of these is a different tool with its own tests, so five reviews is the shape we chose rather than one change cut five ways. Nothing to re-plan there. On merging: agreed, and it is what I will do. All five test-merge cleanly against The head you verified is the current one: For the record, the other four at the same moment, each 2 files and AI-assisted. |
|
VERIFY-2636 — PASS
|
|
Heads-up: this branch now conflicts on one line, and the conflict has a mechanical fix. main merged a sibling of this pull request (#2637, What main has now: SHARED = ("anim_index", "awc_manifest", "bink_index", "gamedata_index", "gamedata_xml", "gen_d3d12_stubs",
"glb_inspect", "navmesh_index", "rpf_probe", "tile_probe", "world_index", "world_lights_paths",
"world_names")What this branch needs: insert "anim_clips" in its alphabetical place in that tuple, and keep the rest of the branch unchanged. Everything else in the diff applies cleanly - the tuple line is the only conflict. Note on ordering, since it is easy to get wrong on a rebase: the tuple is alphabetical, and "anim_clips" goes between the entries that bracket it. A rebase that appends it at the end would still pass the test but would break the file's convention and the next sibling's merge. Why I am commenting: I verify open pull requests against current main by applying them in a scratch worktree and building their test targets. This one went from "replays cleanly" to "conflicts" between 09:20 and 10:36 today, and the cause was #2637 landing - not anything in this branch. Written with an AI assistant. |
|
Independent check on Windows at \c1e720ea: \python -I tests/test_report_paths.py\ — 26 tests OK (9.9 s). \�nim_clips\ is now covered by the shared report-path guard. Windows 11 26200.9711, Python 3.12.10. AI-assisted: yes (opencode). |
fc1e720 to
d677a53
Compare
|
Rebased onto Verified on the new head:
No behaviour change beyond the shared helper. Ready to merge: |
|
Rebased onto New head: Measured on that head, standard library only, Windows, Python 3.14, no game data: @fiestorra @aegish-zagi @KelboLive — your checks are on The diff is unchanged in substance: same two commits, same |
|
Verified on Windows at your new head Cherry-picked onto So the local guard this removes is not dead code that the tuple test happens to tolerate - the test reaches the path it replaces and fails when the old code is put back. That is the control I would want on a refactor whose whole claim is "the same answer, from one place". Your rebase also holds: the tree applies without the What I did not test: anything that needs a real AI-assisted: yes - DeepSeek v4.1 (flash) applied the head and ran both arms on the machine above. Written with an AI assistant. |
aslan2142
left a comment
There was a problem hiding this comment.
Reviewed the diff against main: delegating the report-path guard in tools/anim_clips.py to report_paths.same_report_path is clean and clean-room verified, but this branch currently conflicts with main in tests/test_report_paths.py:8-12 (SHARED tuple updated by #2639 and earlier merges). Please rebase onto current main so CI runs cleanly.
(AI-assisted review.)
d677a53 to
05dfffc
Compare
The reviewers' red test: with this entry on main, test_switched_tools_import_the_helper_and_define_no_copy fails with "'from report_paths import same_report_path' not found"; with this branch it passes.
05dfffc to
f866b19
Compare
Claimed in the coordination issue as: ANIM-CLIPS-SHARED-REPORT-PATH
What and why
tools/anim_clips.pycompares the archive it reads with the--outreport through its ownsame_output_path:That answer is wrong in the two places
tools/report_paths.pyexists for. On a case-insensitive APFS volumeanim/clips.jsonandanim/Clips.jsonare one file, butnormcasekeeps case on macOS, so the guard passes the pair and the second write truncates the first. In a case-sensitive Windows directory the two spellings are two files, butnormcasefolds them on Windows, so the guard refuses a pair that does not collide.CONTRIBUTING.mdasks a report writer to callreport_paths.same_report_path(a, b)rather than deriving the answer again.The private function becomes an alias,
same_output_path = same_report_path, somain()and any importer keep the old name.anim_clipsalso joinsSHAREDintests/test_report_paths.py, so the no-private-copy test guards it from now on.Tested
python -I tests/test_anim_clips.py— OKpython -I tests/test_report_paths.py— OK (1 skipped: the macOS-only case), withanim_clipsinSHAREDpython -I tests/test_report_path_case.py— OK (1 skipped, same)python -I tools/anim_clips.py --help— cleanSynthetic archives built in a temporary folder; no game data.
GPUs tested: n/a
AI-assisted: yes
Checklist
mainand merges cleanly.