Every registered string now lives in one table (codecs/registry.rs) with its kind, status, media class, registering SPEC section, edition and registration date. `wai registry export` writes registry/capabilities.json, its JSON Schema, the generated table in REGISTRY.md and vocab v2; --check fails on drift. vocab v1 stays stable. A candidate capability (a registered string whose payload format no revision has pinned) must not be emitted. The C packers, the browser writers and `wai wrap` refuse one, and `codecs::is_dispatchable` is the single dispatch and selection predicate (SPEC §4): candidates, companion-only capabilities, records and derivations are not dispatchable, and an unregistered string is decoded only where the sink advertises it. The codec glossary is linked to the registry through a reviewed table and held to its schema by a library test; `org` becomes `body`, from a closed allowlist. The SPEC gains §5 sections on kinds and candidates, a §8 edition rule, corrected citations and rewritten appendices. The quantum-ops vectors are regenerated with neutral device ids. CI declares the feature-gated test targets with required-features, checks the registry export, builds wai-web for wasm32, and runs two public-text checks (comparative prose, and private name patterns) with a self-test. The specification, extensions, research notes, READMEs, glossary and source comments are rewritten to name no company or product and to make no comparisons. Co-Authored-By: Claude Opus 5.5 <[email protected]>
25 lines
1.4 KiB
Text
25 lines
1.4 KiB
Text
# Pinned Python stack for regenerating the int_hyper integer-codec vectors (the
|
|
# pretrained mbt2018_mean, exported to integers; tools/wai_sota_vectors.sh). The vectors are regenerated rather than committed,
|
|
# so the export must run against a fixed stack: an upgrade that changes the
|
|
# pretrained weights or the float analysis transform must arrive as a reviewed
|
|
# change here, not silently on the next CI run.
|
|
#
|
|
# torch/torchvision: install from the CPU wheel index first on Linux, or pip
|
|
# resolves the GPU builds (several GB). `==2.14.0` matches `2.14.0+cpu`.
|
|
# pip install torch==2.14.0 torchvision==0.29.0 --index-url https://download.pytorch.org/whl/cpu
|
|
# pip install -r tools/requirements-sota-int.txt
|
|
torch==2.14.0
|
|
torchvision==0.29.0
|
|
# BSD-3-Clause-Clear. Supplies the mbt2018_mean architecture and the URL of its
|
|
# published checkpoint, mbt2018-mean-6-a19628ab.pth.tar. The checkpoint is NOT
|
|
# verified by compressai or torch.hub (the zoo calls torch.hub without
|
|
# check_hash), so wai_sota_int_synth_export.py pins its full SHA-256 and refuses
|
|
# to load any other bytes.
|
|
compressai==1.2.8
|
|
# compressai 1.2.8 requires numpy<2.
|
|
numpy==1.26.4
|
|
pillow==12.3.0
|
|
# Source image only: `skimage.data.astronaut()` ships inside the wheel and is a
|
|
# NASA photograph documented there as "No known copyright restrictions, released
|
|
# into the public domain" (the function's docstring).
|
|
scikit-image==0.26.0
|