Skip to content

Test malformed HMMA helper signatures - #870

Open
thehobbit85 wants to merge 1 commit into
seedds:mainfrom
thehobbit85:codex/fix-heaps-fixture-types
Open

thehobbit85 wants to merge 1 commit into
seedds:mainfrom
thehobbit85:codex/fix-heaps-fixture-types

Conversation

@thehobbit85

@thehobbit85 thehobbit85 commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Add regression coverage for malformed HMMA helper signatures after upstream 0e8503e7 incorporated the production guards and Heaps fixture assertion. Main fixes the original lint failures but lacks these malformed ordinary/scratch parameter-name and output-reference cases. Each must raise ValueError identifying the bad parameter; the tests detect removal of either guard.

Revision 62ed942b99a8e73eb19ce44e81814d24babcf5f3 integrates main 99330eb81c873c3aafe9fc92194c9687d77fcdbb. The remaining test/reference patch is unchanged. There is no production implementation, chain-header, baseline or suppression change.

Fresh validation: python3 -m unittest dm.gfx.tests.test_dmsh_hmma dm.tools.tests.test_nsp_chain dm.tools.tests.test_docs passes all30 tests, including the synthetic GPU case. Pinned Python lint passes with391 baseline findings, zero new or stale. Main ancestry, range-diff and whitespace checks pass. Current-head CI is pending; the seven successful checks on prior b45329b8 are historical.

Earlier Heaps checks, negative controls and valid-output comparisons retain their original revision scope. Installed Xcode27.0/Metal.921 differs from supported27.2/.922. This test-only change does not change game behavior, so no game regression run is needed; no fresh game, device or performance result is claimed. The shader reference retains the durable guard explanation, with validation recorded here. No agent artifacts or game data are included.

@thehobbit85
thehobbit85 force-pushed the codex/fix-heaps-fixture-types branch from 495c412 to eb7211a Compare November 1, 2026 13:33
@thehobbit85 thehobbit85 changed the title tests: assert successful Heaps parsing before inspecting entries Fix shared Heaps fixture and HMMA parser validation Nov 1, 2026
@thehobbit85
thehobbit85 force-pushed the codex/fix-heaps-fixture-types branch from eb7211a to 162bc26 Compare November 1, 2026 13:54
@thehobbit85 thehobbit85 changed the title Fix shared Heaps fixture and HMMA parser validation Test malformed HMMA helper signatures Nov 1, 2026
@thehobbit85
thehobbit85 force-pushed the codex/fix-heaps-fixture-types branch from 162bc26 to b45329b Compare November 1, 2026 20:30
@thehobbit85
thehobbit85 force-pushed the codex/fix-heaps-fixture-types branch from b45329b to 62ed942 Compare November 2, 2026 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants