# step: scene carriage · wai-rs and scene_verify.py # order: 340 # features: scene_map # paths: wai/extensions/scene-carriage.md # independent: scene live python3 -I live-conformance/scene_verify.py live-conformance/scene # # Scene carriage (extensions/scene-carriage.md): the module's unit tests (the conversions # and spellings of §3 against fixed values, the containers an import builds equal to the # ones wai-rs's world and audio-scene modules write, base64 and the USD subset's reader) # and tests/scene_map.rs (the committed corpus regenerates byte for byte: every bundle # written as glTF and USD and read back, every refusal reached; §8 lists exactly the # reference's codes); and, in the step of every independent verifier above, the corpus's # second implementation, scene_verify.py, written # from the extension's text and sharing no code with wai-rs, which also requires every # byte-flipped copy of an exported document to be caught; standard library only, run # isolated (-I). # # The paths this step brings to the workflow's trigger, and why: # wai/extensions/scene-carriage.md: tests/scene_map.rs requires this extension's §8 to list the # codes the reference reports, scene_verify.py reads that table, and the registry's wire # identifiers test reads its sections. set -euo pipefail (cd wai-rs && cargo test --no-default-features --features "$WAI_FEATURES" --lib -- scene_map:: strict_json::) (cd wai-rs && cargo test --no-default-features --features "$WAI_FEATURES" --test scene_map)