Commit Graph

12 Commits

Author SHA1 Message Date
f1929f9400 character_census: pass model dict in model_row, dedup mesh issues, trim manifest paths, atomic writes 2026-11-25 05:00:42 +01:00
3e3ec2d071 character_census: report only complete mesh-derived totals (#6883)
Squash-merged after diff review of PR #6883 - character_census: count every mesh before reporting a model total
2026-11-23 09:45:05 -06:00
bad66c840f character_census: read model.json and manifest JSON as utf-8-sig (EGEN-CHARCCENSUS-BOM) (#6341)
Squash-merged after review of PR #6341 - character_census: read model.json and manifest JSON as utf-8-sig (EGEN-CHARCCENSUS-BOM)
2026-11-23 08:06:26 -06:00
377f26fc28 Merge pull request #4342 from SebSilent
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:13:50 -05:00
0c8f6e7654 Merge pull request #3966 from bbareth
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:09:59 -05:00
d919f325d7 character_census: name the folder the walk could not list
The ERROR line reused the CLI target, so a locked sub-folder was reported as
the root the user passed. Use exc.filename when present, like bink_index,
save_keys and vertex_types already do, so the message points at the folder
to fix.

AI-assisted.
2026-11-23 00:27:08 -03:00
560728403a character_census: check the walk guard on platforms where chmod cannot lock a folder
The regression test self-skips on Windows and as root, and CI runs this file
only on windows-latest, so the guard was never exercised in CI. Load the tool
in-process and force os.scandir to raise for one folder instead, which
reproduces the same PermissionError on every platform.

AI-assisted.
2026-11-22 23:58:12 -03:00
8977284838 character_census: fail on an unlistable sub-folder instead of silently undercounting models 2026-11-22 21:54:55 -03:00
698dad62a1 character_census: reject signed and underscore hash strings 2026-11-23 00:05:55 +00:00
58668e9770 Report character census output write failures cleanly 2026-11-22 23:43:04 +01:00
177ecb29a4 character_census: match the decoded model.json schema
The local exporter writes vertex_count and triangle_count, not index_count. Remove the invented index_count from the synthetic fixtures and expect the documented unknown index total; keep index_count optional for inputs that actually supply it.
2026-11-22 22:03:53 +00:00
82bdcb889c tools: census decoded character models 2026-11-22 18:22:18 +00:00