Repository navigation
Conversation
|
Removing Could this PR also update AI-assisted review. |
abnalstlll-byte
left a comment
There was a problem hiding this comment.
Reviewed and verified. Cleanly replaces duplicate path collision check in ools/anim_clips.py with standard ools/report_paths.py:same_report_path. Verified with est_anim_clips.py and est_report_paths.py. 100% clean-room.
24a7d51 to
24bcdd6
Compare
|
Addressed the review: Checks: |
24bcdd6 to
5c660e8
Compare
|
Updated again to current |
5c660e8 to
e4d5041
Compare
e4d5041 to
eac7353
Compare
|
Final base check: rebased onto current |
From ProjectLeonida#1084 (head eac7353), applied as a reviewed patch. Co-authored-by: j-weiner <j-weiner@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
Thanks @j-weiner! This PR was reviewed and its fix looks good, but it now conflicts with main, which moved a lot today. Could you rebase it onto current main? It will be looked at again for merge once it merges cleanly. AI-assisted (Claude Code, Claude Opus 5.5), posted for the maintainers. |
|
Closing as superseded by #2636. That PR routes anim_clips through report_paths.same_report_path while keeping same_output_path as an alias, so anim_glb's existing caller continues to work; the direct caller migration here would duplicate the active report-path change. No game data involved. AI-assisted. |
Claimed in the coordination issue as: ANIM-CLIPS-SHARED-REPORT-PATH
What and why
tools/anim_clips.pyandtools/anim_glb.pyshared a privatesame_output_pathhelper across modules. This PR moves the guard to the commontools/report_paths.py:same_report_pathimplementation and updates both callers. Updatinganim_glb.pyis necessary because it referencedanim_clips.same_output_path; removing that helper without updating the caller caused anAttributeErrorwhen output/input checks ran. A regression covers identical, not-yet-created GLB and report paths, which must be refused before either path is created.Tested
python3 -I tests/test_anim_glb.py— 37 passed.python3 -I tests/test_anim_clips.py— 53 passed.python3 -I tests/test_report_paths.py— 22 tests, 1 skipped.python3 -I tests/test_text_write_line_endings.py— 3 passed.python3 -I tools/anim_clips.py --helpandpython3 -I tools/anim_glb.py --help— passed.python3 -I scripts/check_no_game_data.py tools/anim_clips.py tools/anim_glb.py tests/test_anim_glb.py— clean.git diff --check— passed.GPUs tested: n/a (CPU-only synthetic tests; no game files used).
AI-assisted: yes.
Checklist
mainand merges cleanly.anim_glb.pychange fixes a missed caller of the same shared-guard migration.