open-standards/wai/byte-exact-conformance
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Transaction Science c4475c4ecb wai: register the byte-exact JPEG-AI decoder + restore the byte-equality matrix
Integration follow-through on the merged jpegai_decode: make the decoder visible
where the standard describes itself, and get it into the cross-arch matrix.

SPEC/docs:
- Register `wai.image.jpegai` in SPEC.md §5 (neural table) — a live, dispatchable
  capability was absent from the normative menu. Framed as decode-equivalence: one
  pinned reconstruction of an ISO/IEC 6048 codestream to RGB, reproducible on every
  machine (a portable decoded-pixel hash), entropy/dequant integer-exact, synthesis
  within 1 LSB of the reference.
- CHANGELOG entry for the byte-exact codestream→RGB decoder, distinguishing its
  decode-equivalence profile from the all-i64 hash-portable in-house codecs.
- Fix the stale CAP_IMAGE_JPEGAI comment ("decoder library not yet in this crate" —
  untrue post-merge) and drop its "~30% over conventional SOTA" comparison.

byte-exact-conformance:
- The crate did not compile on main: `rans.rs` was moved out of `neural/` to the
  wai-rs crate root, but the shim still #[path]-included the old `neural/rans.rs`;
  the moved file also references `crate::int_entropy`. Repoint rans to the crate
  root and shim `int_entropy` (self-contained). This restores the cross-arch
  byte-equality build.
- Add a golden that decodes the same ISO reference mANS stream through the MERGED
  decoder's entropy stage (crate-root `jpegai_mans`, flat-table/sliced-offset API)
  and asserts the identical symbols. The decoder `wai.image.jpegai` actually
  reconstructs with is now in the byte-equality matrix, not only the older
  `neural/` port. 15 conformance tests pass.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-08-01 01:24:54 -04:00
..
src wai: register the byte-exact JPEG-AI decoder + restore the byte-equality matrix 2026-08-01 01:24:54 -04:00
Cargo.lock wai: reconcile the neural + semantic subsystem onto main 2026-06-14 03:55:29 -04:00
Cargo.toml msrv: raise the rust-version floor to 1.97 across the workspaces 2026-07-23 00:17:08 -04:00