Skip to content

Add the A5 self-certification kit (L0-L3) - #386

Merged
ronaldtse merged 2 commits into
mainfrom
feat/a5-certify-kit
Oct 29, 2026
Merged

ronaldtse merged 2 commits into
mainfrom
feat/a5-certify-kit

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Summary

Adds tools/certify.py, the A5 third-party certification kit for shipped model ids:

  • L0 parse — the id resolves through the index with the sha256 verified.
  • L1 fixtures — the model ships frozen conformance vectors (fixture families for fas-diac-base, khm-phonemic, tha-g2p-lex, tha-phonemic, urd-diac-base, urd-g2p-base are present in conformance/).
  • L2 byte-exact — the reference loader replays every fixture exactly.
  • L3 parity — the torch-vs-artifact verdict, appended by the >=500-row parity harness; a certified-at-L2 model without an L3 record says so.

Exit code 0 = certified at the highest level reached; the JSON report states the level and per-level detail, so a third party self-certifies from this file alone.

Ronald Tse added 2 commits October 29, 2026 16:55
tools/certify.py <model-id> certifies a shipped model id from outside:
L0 the id resolves through the index with sha256 verified; L1 the model
ships frozen conformance vectors (six fixture families present in
conformance/); L2 the reference loader replays the fixtures byte-exact;
L3 is the torch-vs-artifact parity verdict, appended by the >=500-row
parity harness. Exit code 0 = certified at the highest level reached;
the JSON report states the level. A third party self-certifies with
this file alone.
@ronaldtse
ronaldtse merged commit 9a6f6ce into main Oct 29, 2026
7 of 11 checks passed
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.

1 participant