docs/models: test_skinned_glb.py runs 30 tests, not 24 (DOC-MODELS-SKINNED-TEST-COUNT) #911

Merged
leonida/mandy
TuroYT merged 1 commit from docs/models-skinned-test-count into main 2026-11-25 21:26:11 +00:00

Pull request successfully merged and closed

TuroYT commented 2026-11-24 15:09:39 +00:00

Claimed in the coordination issue as: DOC-MODELS-SKINNED-TEST-COUNT (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7135507617)

What was wrong: docs/models.md:802 says python -I tests/test_skinned_glb.py runs 24 synthetic tests. The file has 30 test methods, and unittest runs 30 of them.

What changed: the number in that sentence, 24 to 30. Nothing else.

Tested:

  • On main a28927849, before the change: sed -n 802p docs/models.md | grep -o "runs [0-9]* synthetic" printed runs 24 synthetic. python3 -I tests/test_skinned_glb.py printed Ran 30 tests in 3.857s and OK.
  • After the change: the same grep prints runs 30 synthetic. grep -c 'runs 30 synthetic' docs/models.md prints 1.
  • python3 -I tests/test_skinned_glb.py: Ran 30 tests in 3.910s, OK.
  • python3 -I tests/test_docs_list_items.py: Ran 3 tests, OK.
  • python3 -I tests/test_docs_repeated_lines.py: Ran 2 tests, OK.
  • python3 -I tests/test_text_write_line_endings.py: Ran 3 tests, OK.
  • python3 -I scripts/check_no_game_data.py docs/models.md: no output, exit 0.
  • git diff --check: no output, exit 0.

Not tested: no game files and no GPU were used, and none are needed for this change. The rendered page on GitHub was not checked by eye.

AI-assisted (Claude Code).

Claimed in the coordination issue as: DOC-MODELS-SKINNED-TEST-COUNT (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7135507617) What was wrong: docs/models.md:802 says `python -I tests/test_skinned_glb.py` runs 24 synthetic tests. The file has 30 test methods, and unittest runs 30 of them. What changed: the number in that sentence, 24 to 30. Nothing else. Tested: - On main a28927849, before the change: `sed -n 802p docs/models.md | grep -o "runs [0-9]* synthetic"` printed `runs 24 synthetic`. `python3 -I tests/test_skinned_glb.py` printed `Ran 30 tests in 3.857s` and `OK`. - After the change: the same grep prints `runs 30 synthetic`. `grep -c 'runs 30 synthetic' docs/models.md` prints 1. - `python3 -I tests/test_skinned_glb.py`: `Ran 30 tests in 3.910s`, `OK`. - `python3 -I tests/test_docs_list_items.py`: `Ran 3 tests`, `OK`. - `python3 -I tests/test_docs_repeated_lines.py`: `Ran 2 tests`, `OK`. - `python3 -I tests/test_text_write_line_endings.py`: `Ran 3 tests`, `OK`. - `python3 -I scripts/check_no_game_data.py docs/models.md`: no output, exit 0. - `git diff --check`: no output, exit 0. Not tested: no game files and no GPU were used, and none are needed for this change. The rendered page on GitHub was not checked by eye. AI-assisted (Claude Code).
MoonEyes approved these changes 2026-11-24 17:39:27 +00:00
MoonEyes left a comment

LGTM. Checked on Windows 11, Python 3.14, main cf4c00cba:

  • sed -n 802p docs/models.md still says runs 24 synthetic.
  • python -I tests/test_skinned_glb.py: Ran 30 tests, OK (skipped=1). The skip is test_numpy_and_stdlib_weight_paths_agree (numpy is not installed here), so 30 is the right count; one of them is optional.

AI-assisted: yes (Claude Code ran the checks; I read them).

LGTM. Checked on Windows 11, Python 3.14, main cf4c00cba: - `sed -n 802p docs/models.md` still says `runs 24 synthetic`. - `python -I tests/test_skinned_glb.py`: `Ran 30 tests`, `OK (skipped=1)`. The skip is `test_numpy_and_stdlib_weight_paths_agree` (numpy is not installed here), so 30 is the right count; one of them is optional. AI-assisted: yes (Claude Code ran the checks; I read them).
Sign in to join this conversation.
No description provided.