The change of wai/conform-output (69f88e62f..ce85900ca, 11 commits), on the fix branch: its
changelog entries as files of wai/changes/, and every other file as the branch has it, its
conflicts with main resolved (the sink kind and the native sink suite, the {case}
placeholder, the entry files and the wasmtime pin check landed since its base).
Its table of independent verifiers is no hand-kept list: wai-rs/build.rs reads it from the
`# independent:` lines of the step files (.github/wai-conformance/verifiers/), which
take the verifiers' command lines out of the steps' bodies; a step with only verifiers to
run keeps its file as a declaration. scripts/wai-conformance-lists.py reads and checks the
same lines, and the table's tests read the step files instead of the workflow.
- 0b653a415 wai conform: JUnit and HTML reports, the independent verifiers beside an implementation or alone, and the corpus union as one command; wai doctor
- c37330ac8 wai-release: the quickstart from every archive, as a new user runs it, and its PowerShell twin for Windows
- 0e1f3eb8a wai conform: the union's rule reads the workflow's commands, not its comments
- 741bd2bd1 wai: the README names wai doctor, toolchain_doctor and wai conform's independent verifiers
- ba302c439 wai doctor: a shim is the program its .shim file names, and 0.3.0 is WAI's
- bb7451190 wai conform: two passing answers that differ are a disagreement, each record digests what its run reads, and the rules are held
- a60f59c8f wai mcp: conformance_run on a corpus's directory runs its own verifier, as before the claims runs joined the table
- 710490dfa check-wai-ops-doors: the verbs and their near-synonyms are the catalogue's, read from it
- fb0ae3151 check-wai-release-quickstart: the release's quickstart is held in the repository checks, gated and ordered too
- 7fa7b506d wai/quickstart/test/clean-machine: the help is the header, its first line to its last
- ce85900ca wai: the README says a run beside the independent verifier passes only when the two agree
Co-Authored-By: Claude Opus 5.5 <[email protected]>
27 lines
1.9 KiB
Shell
27 lines
1.9 KiB
Shell
# step: platform-encode · wai-rs and encode_verify.py
|
|
# order: 570
|
|
# features: platform_encode
|
|
# paths: wai/extensions/platform-encode.md
|
|
# independent: encode delivery python3 -I encode-conformance/encode_verify.py encode-conformance
|
|
#
|
|
# wai.video.encode (extensions/platform-encode.md): the reference module's unit tests (the
|
|
# Exp-Golomb reader, emulation prevention, NAL splitting, length-prefixed samples, the
|
|
# resampler, the source reader, the strict JSON scan and the date-time) and
|
|
# tests/platform_encode.rs (the fixture streams are the pinned bytes, every generated file
|
|
# regenerates byte for byte, every case gets its outcome, every record reason has a case, and
|
|
# §12 lists exactly the reference's reasons); and, in the step of every independent verifier
|
|
# above, the corpus's second implementation,
|
|
# encode_verify.py, written from the extension's text and sharing no code with wai-rs or
|
|
# wai-pack, which reads every Annex B stream, its access units and parameter sets itself,
|
|
# verifies every record with WAI's strict Ed25519 rule and every object with BLAKE3 from
|
|
# claim-conformance, checks the encoded renditions against the base packaging golden,
|
|
# requires every mutated copy of the corpus to fail, and drops each of its own checks in turn
|
|
# and requires the corpus or its mutations to catch the weakened verifier; standard library
|
|
# only, run isolated (-I). The encoders themselves run on the macOS leg (codec-wrappers).
|
|
#
|
|
# The paths this step brings to the workflow's trigger, and why:
|
|
# wai/extensions/platform-encode.md: tests/platform_encode.rs requires this extension's §12 to
|
|
# list the reasons the reference reports, and encode_verify.py reads that table.
|
|
set -euo pipefail
|
|
(cd wai-rs && cargo test --locked --no-default-features --features "$WAI_FEATURES" --lib platform_encode::)
|
|
(cd wai-rs && cargo test --locked --no-default-features --features "$WAI_FEATURES" --test platform_encode)
|