Fix he/grc micro pack manifest checksums to match actual on-disk bytes
Permanent lesson: checksums must be computed from bytes-on-disk after git writes the file (unicode-escaped JSON lines), not from in-memory Python strings before serialization. The compiler CLI must do: checksum = hashlib.sha256(Path(lexicon_path).read_bytes()).hexdigest() after writing the file, not before. he_logos_micro_v1: ea1ac85d... grc_logos_micro_v1: 1fea9d9c...
This commit is contained in:
parent
c7e23c7a97
commit
e6bf8ade5e
2 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
|||
"normalization_policy": "unitize_versor",
|
||||
"source_manifest": "grc_logos_micro_v1.lexicon.jsonl",
|
||||
"determinism_class": "D0",
|
||||
"checksum": "715afde35af7f65056f5cf8becd2866d818f0c05a6d3f0a27770b7a41b09b816",
|
||||
"checksum": "1fea9d9c775d49a1dd17857c240afcd60e22c625e10601aa90e22b10d9e70262",
|
||||
"version": "1.0.0",
|
||||
"gate_engaged": true,
|
||||
"oov_policy": "fail_closed"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
"normalization_policy": "unitize_versor",
|
||||
"source_manifest": "he_logos_micro_v1.lexicon.jsonl",
|
||||
"determinism_class": "D0",
|
||||
"checksum": "72342175a69f893626ccaef521d13cf1f46c596fee49e9a139aaec93fb9bcd34",
|
||||
"checksum": "ea1ac85dbdbfe01bebe97356279ba76bdf6653e46a19f31e3e5c8050e33b601d",
|
||||
"version": "1.0.0",
|
||||
"gate_engaged": true,
|
||||
"oov_policy": "fail_closed"
|
||||
|
|
|
|||
Loading…
Reference in a new issue