Version MNG canonical output and add compatibility goldens - #14
Merged
Conversation
satsragclaw
force-pushed
the
feat/mng-canonical-contracts
branch
from
July 26, 2026 13:15
a754f02 to
f8d4f8d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mng-canonical/1MongolianShaper.canonical_versionMNG.normalize.jsonand reject mismatched table versionsscripts/gen_compat_goldens.pywith write and--checkmodesWhy
Applications may persist normalized search or index keys. A named canonical policy lets them detect a future output-policy change and rebuild those keys deliberately.
The branch is rebased directly onto merged
main@3effbc6618b5c521864d78e76bda70a8bc70fd7f. Regenerating after the public PascalCase control-name change updated 784 canonical shape labels and 3 trace shape labels frommvs/nirugu/zwjtoMvs/Nirugu/Zwj; all normalized code points, positions, rule transitions, conditions, and per-token written units remained unchanged.Verification
python3 -m compileall -q mongol_norm scripts testspython3 scripts/gen_normalize_table.py MNGtwice, byte-identical outputpython3 scripts/gen_compat_goldens.py --checkand regeneration twice, byte-identical outputpython3 -m unittest discover -s tests -p 'test_*.py'uv buildsucceeded for wheel and sdistmng-canonical/1Closes #10