{ "about": "SPEC.md \u00a77.1: the rendition a sink picks, the reason it reports for each entry it skips, and the companions it applies with the pick (companions_of_index). held lists the one-file parameter sets the sink holds; advertised is \"all\" or a list of capabilities. roles is the first check_component_roles finding (\"ok\" when the envelope conforms).", "cases": [ { "name": "holds_predecessor", "manifest": { "wai": "1.1", "media": "image", "intent": "replicate", "renditions": [ { "capability": "wai.neural.int_mlicpp", "kind": "int_mlicpp", "prior": { "id": "conformance", "sha256": "c4232f2e2d5f76cce4ac782b254a91410a2ab89b22792f8356585549938a0e92", "determinism": "int-rans/p16+int/i64", "tier": "decode-equivalence", "supersedes": { "sha256": "29bc4a3984b2ca82ab4656e459e7c34b5af9f507309bcf88ed7b00561692ff0a" } } }, { "capability": "wai.neural.int_mlicpp", "kind": "int_mlicpp", "prior": { "id": "conformance", "sha256": "29bc4a3984b2ca82ab4656e459e7c34b5af9f507309bcf88ed7b00561692ff0a", "determinism": "int-rans/p16+int/i64", "tier": "decode-equivalence" } }, { "capability": "wai.image.avif", "kind": "avif" } ], "target": null }, "payloads": [ "B-CODED", "A-CODED", "AVIF" ], "advertised": "all", "held": [ "sets/tiny/model.wmb" ], "expect": { "picked": 1, "skipped": [ [ 0, "digest_superseded" ] ] } }, { "name": "holds_successor", "manifest": { "wai": "1.1", "media": "image", "intent": "replicate", "renditions": [ { "capability": "wai.neural.int_mlicpp", "kind": "int_mlicpp", "prior": { "id": "conformance", "sha256": "c4232f2e2d5f76cce4ac782b254a91410a2ab89b22792f8356585549938a0e92", "determinism": "int-rans/p16+int/i64", "tier": "decode-equivalence", "supersedes": { "sha256": "29bc4a3984b2ca82ab4656e459e7c34b5af9f507309bcf88ed7b00561692ff0a" } } }, { "capability": "wai.neural.int_mlicpp", "kind": "int_mlicpp", "prior": { "id": "conformance", "sha256": "29bc4a3984b2ca82ab4656e459e7c34b5af9f507309bcf88ed7b00561692ff0a", "determinism": "int-rans/p16+int/i64", "tier": "decode-equivalence" } }, { "capability": "wai.image.avif", "kind": "avif" } ], "target": null }, "payloads": [ "B-CODED", "A-CODED", "AVIF" ], "advertised": "all", "held": [ "sets/tiny-tampered/model.wmb" ], "expect": { "picked": 0, "skipped": [] } }, { "name": "holds_neither", "manifest": { "wai": "1.1", "media": "image", "intent": "replicate", "renditions": [ { "capability": "wai.neural.int_mlicpp", "kind": "int_mlicpp", "prior": { "id": "conformance", "sha256": "c4232f2e2d5f76cce4ac782b254a91410a2ab89b22792f8356585549938a0e92", "determinism": "int-rans/p16+int/i64", "tier": "decode-equivalence", "supersedes": { "sha256": "29bc4a3984b2ca82ab4656e459e7c34b5af9f507309bcf88ed7b00561692ff0a" } } }, { "capability": "wai.neural.int_mlicpp", "kind": "int_mlicpp", "prior": { "id": "conformance", "sha256": "29bc4a3984b2ca82ab4656e459e7c34b5af9f507309bcf88ed7b00561692ff0a", "determinism": "int-rans/p16+int/i64", "tier": "decode-equivalence" } }, { "capability": "wai.image.avif", "kind": "avif" } ], "target": null }, "payloads": [ "B-CODED", "A-CODED", "AVIF" ], "advertised": "all", "held": [], "expect": { "picked": 2, "skipped": [ [ 0, "prior_not_held" ], [ 1, "prior_not_held" ] ] } }, { "name": "inert", "manifest": { "wai": "1.1", "media": "image", "intent": "replicate", "renditions": [ { "capability": "wai.neural.int_mlicpp", "kind": "int_mlicpp", "prior": { "id": "conformance", "sha256": "c4232f2e2d5f76cce4ac782b254a91410a2ab89b22792f8356585549938a0e92", "determinism": "int-rans/p16+int/i64", "tier": "decode-equivalence", "supersedes": { "sha256": "29bc4a3984b2ca82ab4656e459e7c34b5af9f507309bcf88ed7b00561692ff0a" } } }, { "capability": "wai.neural.int_mlicpp", "kind": "int_mlicpp", "prior": { "id": "conformance", "sha256": "29bc4a3984b2ca82ab4656e459e7c34b5af9f507309bcf88ed7b00561692ff0a", "determinism": "int-rans/p16+int/i64", "tier": "decode-equivalence" } }, { "capability": "wai.image.avif", "kind": "avif" } ], "target": null }, "payloads": [ "B-CODED", "A-CODED", "AVIF" ], "advertised": [ "wai.neural.int_mlicpp" ], "held": [], "expect": { "inert": [ [ 0, "prior_not_held" ], [ 1, "prior_not_held" ], [ 2, "missing_capability" ] ] } }, { "name": "component_digest_ok", "manifest": { "wai": "1.1", "media": "image", "intent": "replicate", "renditions": [ { "capability": "wai.image.png", "kind": "png", "sha256": "e793c41f42c3766932d69864deeea3b3949a26e1e427bdf261a77755021e58cb" }, { "capability": "wai.image.png", "kind": "png", "sha256": "700983acb1832a2b0830405407bcaefaf0909c8631c1603cc5a72ecc4257e4d2" }, { "capability": "wai.meta.hdr10plus", "kind": "descriptor", "role": "companion", "companion_of": "wai.image.png", "sha256": "2d1edf729cc53756834657ce399b1568debd59b0ceddce5da39b86750d59fbd0" } ], "target": null }, "payloads": [ "PNG-A", "PNG-B", "META" ], "advertised": "all", "held": [], "expect": { "picked": 0, "skipped": [], "companions": [ 2 ] } }, { "name": "component_digest_mismatch", "manifest": { "wai": "1.1", "media": "image", "intent": "replicate", "renditions": [ { "capability": "wai.image.png", "kind": "png", "sha256": "e793c41f42c3766932d69864deeea3b3949a26e1e427bdf261a77755021e58cb" }, { "capability": "wai.image.png", "kind": "png", "sha256": "700983acb1832a2b0830405407bcaefaf0909c8631c1603cc5a72ecc4257e4d2" }, { "capability": "wai.meta.hdr10plus", "kind": "descriptor", "role": "companion", "companion_of": "wai.image.png", "sha256": "2d1edf729cc53756834657ce399b1568debd59b0ceddce5da39b86750d59fbd0" } ], "target": null }, "payloads": [ "PNG-a", "PNG-B", "META" ], "advertised": "all", "held": [], "expect": { "picked": 1, "skipped": [ [ 0, "component_digest_mismatch" ] ], "companions": [ 2 ] } }, { "name": "companion_digest_mismatch_not_applied", "manifest": { "wai": "1.1", "media": "image", "intent": "replicate", "renditions": [ { "capability": "wai.image.png", "kind": "png", "sha256": "e793c41f42c3766932d69864deeea3b3949a26e1e427bdf261a77755021e58cb" }, { "capability": "wai.image.png", "kind": "png", "sha256": "700983acb1832a2b0830405407bcaefaf0909c8631c1603cc5a72ecc4257e4d2" }, { "capability": "wai.meta.hdr10plus", "kind": "descriptor", "role": "companion", "companion_of": "wai.image.png", "sha256": "2d1edf729cc53756834657ce399b1568debd59b0ceddce5da39b86750d59fbd0" } ], "target": null }, "payloads": [ "PNG-A", "PNG-B", "METa" ], "advertised": "all", "held": [], "expect": { "picked": 0, "skipped": [], "companions": [] } }, { "name": "companion_of_id_binds_one_rendition", "manifest": { "wai": "1.1", "media": "video", "intent": "replicate", "renditions": [ { "capability": "wai.video.hevc", "kind": "hevc", "id": "a" }, { "capability": "wai.video.hevc", "kind": "hevc", "id": "b" }, { "capability": "wai.video.lcevc", "kind": "descriptor", "role": "companion", "companion_of": "wai.video.hevc", "companion_of_id": "b" } ], "target": null }, "payloads": [ "HEVC-A", "HEVC-B", "ENH" ], "advertised": [ "wai.video.hevc" ], "held": [], "expect": { "picked": 0, "skipped": [], "companions": [], "roles": "ok" } }, { "name": "companion_of_id_applies_to_the_picked_rendition", "manifest": { "wai": "1.1", "media": "video", "intent": "replicate", "renditions": [ { "capability": "wai.video.hevc", "kind": "hevc", "id": "a", "sha256": "4e452595c3c6ccc249140f0ffe2b163b6c57203f0c7cfdcf0e4316e47fb55df7" }, { "capability": "wai.video.hevc", "kind": "hevc", "id": "b" }, { "capability": "wai.video.lcevc", "kind": "descriptor", "role": "companion", "companion_of": "wai.video.hevc", "companion_of_id": "b" } ], "target": null }, "payloads": [ "HEVC-a", "HEVC-B", "ENH" ], "advertised": "all", "held": [], "expect": { "picked": 1, "skipped": [ [ 0, "component_digest_mismatch" ] ], "companions": [ 2 ], "roles": "ok" } }, { "name": "enhancement_base_ambiguous_without_id", "manifest": { "wai": "1.1", "media": "video", "intent": "replicate", "renditions": [ { "capability": "wai.video.hevc", "kind": "hevc", "id": "a" }, { "capability": "wai.video.hevc", "kind": "hevc", "id": "b" }, { "capability": "wai.video.lcevc", "kind": "descriptor", "role": "companion", "companion_of": "wai.video.hevc" } ], "target": null }, "payloads": [ "HEVC-A", "HEVC-B", "ENH" ], "advertised": "all", "held": [], "expect": { "picked": 0, "skipped": [], "companions": [ 2 ], "roles": "EnhancementBaseNotUnique" } }, { "name": "companion_only_never_presented", "manifest": { "wai": "1.1", "media": "video", "intent": "replicate", "renditions": [ { "capability": "wai.video.lcevc", "kind": "lcevc" }, { "capability": "wai.video.hevc", "kind": "hevc" } ], "target": null }, "payloads": [ "ENH", "HEVC" ], "advertised": "all", "held": [], "expect": { "picked": 1, "skipped": [ [ 0, "not_selectable" ] ], "roles": "CompanionOnlyAsRendition" } }, { "name": "record_as_companion", "manifest": { "wai": "1.1", "media": "video", "intent": "replicate", "renditions": [ { "capability": "wai.video.av1", "kind": "av1", "id": "a" }, { "capability": "wai.video.manifest", "kind": "k", "role": "companion", "companion_of": "wai.video.av1" } ], "target": null }, "payloads": [ "AV1", "REC" ], "advertised": "all", "held": [], "expect": { "picked": 0, "skipped": [], "roles": "RecordOrDerivationAsComponent" } }, { "name": "derivation_as_companion", "manifest": { "wai": "1.1", "media": "video", "intent": "replicate", "renditions": [ { "capability": "wai.video.av1", "kind": "av1", "id": "a" }, { "capability": "wai.derive.crop", "kind": "k", "role": "companion", "companion_of": "wai.video.av1" } ], "target": null }, "payloads": [ "AV1", "REC" ], "advertised": "all", "held": [], "expect": { "picked": 0, "skipped": [], "roles": "RecordOrDerivationAsComponent" } }, { "name": "record_as_rendition", "manifest": { "wai": "1.1", "media": "video", "intent": "replicate", "renditions": [ { "capability": "wai.video.av1", "kind": "av1", "id": "a" }, { "capability": "wai.video.manifest", "kind": "k" } ], "target": null }, "payloads": [ "AV1", "REC" ], "advertised": "all", "held": [], "expect": { "picked": 0, "skipped": [], "roles": "RecordOrDerivationAsComponent" } }, { "name": "derivation_as_rendition", "manifest": { "wai": "1.1", "media": "video", "intent": "replicate", "renditions": [ { "capability": "wai.video.av1", "kind": "av1", "id": "a" }, { "capability": "wai.derive.crop", "kind": "k" } ], "target": null }, "payloads": [ "AV1", "REC" ], "advertised": "all", "held": [], "expect": { "picked": 0, "skipped": [], "roles": "RecordOrDerivationAsComponent" } } ] }