Audit NPC body proportions against a shared guide
Full build / Import + headless tests (push) Successful in 39s
Full build / Full desktop build + optional release (push) Skipped

Measure all eight exported characters and record the stylized proportion bands. All variants pass; no skeleton or mesh rescale was needed.
This commit is contained in:
zwitschi committed 2026-11-02 18:54:52 +01:00
1 parent 7c1a4bfd69
commit ab9c67d266
10 files changed
+329 -3

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
import unittest
import npc_proportions
class NpcProportionTests(unittest.TestCase):
def test_every_library_character_is_measured(self):
rows = npc_proportions.report()
self.assertEqual(len(rows), 8)
self.assertEqual(len({row["character"] for row in rows}), 8)
for row in rows:
self.assertGreater(row["measurements"]["height"], 1.6)
def test_current_library_stays_inside_the_stylized_guide(self):
for row in npc_proportions.report():
for key, check in row["checks"].items():
self.assertEqual(check["status"], "ok",
f"{row['character']} {key}={check['value']}")
if __name__ == "__main__":
unittest.main()