Some checks failed
WAI breaking changes and the conformance runner / WAI breaking · does this change touch WAI (push) Successful in 11s
wai-quantum energy-landscape jobs / does this change touch it (push) Successful in 14s
joule-code conformance gate / joule-moq-relay, its own energy on a counter (macos) (push) Successful in 1m8s
wai-quantum energy-landscape jobs / the module under wasm32-wasip2 (wasmtime) (push) Successful in 2m30s
WAI breaking changes and the conformance runner / WAI breaking · wire, record and API against main · linux (push) Successful in 2m53s
joule-code conformance gate / Build + round-trip C1-C4 vectors (push) Successful in 4m4s
repository checks / lockfiles, advisories, tests in CI, workflow hygiene, spec and section references, public text (push) Failing after 4m26s
wai-quantum energy-landscape jobs / the same bits · macos (push) Successful in 4m5s
wai-quantum energy-landscape jobs / native against WebAssembly, over many seeds (push) Successful in 5m14s
WAI breaking changes and the conformance runner / WAI breaking and conform · their tests, and the independent verifiers through wai conform · linux (push) Successful in 5m51s
joule-code conformance gate / joule-moq-relay, every target (push) Successful in 7m59s
wai-quantum energy-landscape jobs / the same bits · linux-arm64 (push) Successful in 7m41s
wai-quantum energy-landscape jobs / reader, kernels, answers and the stated result · linux, release (push) Successful in 7m57s
joule-moq-remote host agent / joule-moq-remote · does this change touch it (push) Has been cancelled
joule-moq-remote host agent / joule-moq-remote, every target (linux-arm64) (push) Has been cancelled
joule-moq-remote host agent / joule-moq-remote, every target (macos) (push) Has been cancelled
joule-code conformance gate / joule-moq-ingest, every target (push) Successful in 8m58s
joule-moq-room room service / joule-moq-room · does this change touch it (push) Has been cancelled
joule-moq-room room service / joule-moq-room, every target (push) Has been cancelled
joule-moq-web browser client / joule-moq-web · does this change touch it (push) Has been cancelled
joule-moq-web browser client / joule-moq-web · browser end-to-end (macos) (push) Has been cancelled
wai-app and Create / wai-app · does this change touch it (push) Has been cancelled
wai-app and Create / wai-app · tests, clippy, the line language's verifier (linux) (push) Has been cancelled
wai-app and Create / wai-app · Create, browser end-to-end (macos) (push) Has been cancelled
wai-audit collector and player integration / does this change touch it (push) Has been cancelled
wai-audit collector and player integration / collector · linux (push) Has been cancelled
wai-audit collector and player integration / collector, player integration and the browser end to end · macos (push) Has been cancelled
WAI operation catalogue / does this change touch it (push) Has been cancelled
WAI operation catalogue / the catalogue and every door · linux (push) Has been cancelled
wai-fleet service / does this change touch it (push) Has been cancelled
wai-fleet service / service · linux (push) Has been cancelled
wai-fleet service / service · macos (push) Has been cancelled
wai-key-proxy / does this change touch it (push) Has been cancelled
wai-key-proxy / proxy · linux (push) Has been cancelled
wai-ledger service / does this change touch it (push) Has been cancelled
wai-ledger service / service · linux (push) Has been cancelled
wai-ledger service / service · macos (push) Has been cancelled
wai-quantum for JavaScript / does this change touch it (push) Has been cancelled
wai-quantum for JavaScript / javascript · linux (push) Has been cancelled
wai-quantum studio and desktop / does this change touch it (push) Has been cancelled
wai-quantum studio and desktop / studio · browser (push) Has been cancelled
wai-quantum studio and desktop / desktop app · macos (push) Has been cancelled
wai-quantum studio and desktop / desktop app · linux (push) Has been cancelled
wai-quantum studio and desktop / desktop app · windows (push) Has been cancelled
wai-sink-android native sink library / does this change touch it (push) Has been cancelled
wai-sink-android native sink library / the JNI layer and the platform-free half on the host JVM · linux-arm64 (push) Has been cancelled
wai-sink-android native sink library / every ABI, the AAR, and the instrumented tests in a headless emulator · macos (push) Has been cancelled
wai-sink-swift native sink package / does this change touch it (push) Has been cancelled
wai-sink-swift native sink package / libwai slices, desktop tests, simulator tests · macos (push) Has been cancelled
WAI Studio / does this change touch it (push) Has been cancelled
WAI Studio / the catalogue's actions, the unit tests and the core · linux (push) Has been cancelled
WAI Studio / Studio in Chromium and Firefox · macos (push) Has been cancelled
WAI Studio / Studio in WebKit · linux (push) Has been cancelled
wai cross-architecture byte-equality / does this change touch it (push) Has been cancelled
wai cross-architecture byte-equality / linux-aarch64 (push) Has been cancelled
wai cross-architecture byte-equality / linux-x86_64 (push) Has been cancelled
wai cross-architecture byte-equality / macos-arm64 (reference) (push) Has been cancelled
wai cross-architecture byte-equality / windows-x86_64 (push) Has been cancelled
WAI named two of the DCVC neural video codecs and none of the rest, nothing for the neural-network-based video coding exploration of ITU-T and ISO/IEC, and no lossless frame format for tensors. SPEC §5 registers wai.neural.dcvc, .dcvc_tcm, .dcvc_hem, .dcvc_dc and .dcvc_uf as candidates (neural-float, media class video, patent-pool provisionally: the code is under MIT, which grants no patent licence). Each published decoder takes its latent's entropy parameters from a temporal context as well as the hyperprior, most from a spatial prior of two or four passes too, four decode a motion latent, and DCVC-UF codes a chunk of frames as one latent; none fits the inter-frame route of neural/video_dcvc.rs, whose latent comes from the hyperprior alone, and none pins a bitstream. A new SPEC note says so, and that dcvc_rt and dcvc_fm decode through that route with a sink-supplied temporal decoder. wai.video.nnvc is a candidate too: no standard is published and the reference software's bitstream follows its release. Candidates are refused by dispatch and never picked (SPEC §7.1), which the existing candidate tests now cover for all six. wai.tensor.weft registers one frame of the WeftCodec format 1.0 (WEFTCODEC-FORMAT v1.0.0, WEFT-AI-CODEC v1.3.0, weftcodec 1.2.0) in mode RAW, TENSOR or FLOAT_TENSOR, naming no dependency: lossless, its plaintext bound by a BLAKE3 content hash, so standard-defined; royalty-free (text CC BY 4.0, reference implementation Apache-2.0). Any other mode is UnsupportedMode, as the format requires of a decoder that does not implement a mode. The reference is codecs::weft (feature weft): a decoder that checks a frame in the format's order and refuses it with the format's own class, and writers that give the format's own frames byte for byte. The corpus, tensor-conformance/, holds 77 of the format's frozen vectors with the outcome this capability gives each, and 70 generated frames, five that decode and the rest with one planted defect each, every class and every limit reached. weft_verify.py, its second implementation, agrees on all 147, refuses all 143 changed frames, and requires each of its 77 checks to refuse some vector and to be needed: 72 alone, five (always backed by another check with the same class) together with that check. staged_verify.py's video class names the DCVC candidates as the reference's does. The registry export, REGISTRY.md and wai.h are regenerated. Thirteen faults planted, each failing its tests: DCVC-HEM not a candidate, NNVC royalty-free, DCVC-UF outside the video class, ZSTD admitted, no content hash, no header CRC, a 25-bit code admitted, no exponent range, no table_len check, weft as neural-float, SPEC missing a class (both implementations), and the second verifier without its exponent range. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1705 lines
55 KiB
JSON
1705 lines
55 KiB
JSON
{
|
|
"format": "wai-weft-corpus/1",
|
|
"capability": "wai.tensor.weft",
|
|
"admitted_modes": [
|
|
0,
|
|
6,
|
|
9
|
|
],
|
|
"classes": [
|
|
"Malformed",
|
|
"Corrupt",
|
|
"UnsupportedVersion",
|
|
"UnsupportedMode",
|
|
"UnsupportedFeature",
|
|
"LimitExceeded",
|
|
"NonCanonical"
|
|
],
|
|
"vectors": [
|
|
{
|
|
"name": "001_raw_empty",
|
|
"source": "third-party",
|
|
"file": "vectors/001_raw_empty/frame.wft",
|
|
"frame_sha256": "efdf8a3a09d5b435ca76df5a042a4fc389137e06d68219944cd88eb45a1078ab",
|
|
"limits": {},
|
|
"expect": {
|
|
"decode": {
|
|
"decoded_len": 0,
|
|
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
|
}
|
|
},
|
|
"upstream": "ok"
|
|
},
|
|
{
|
|
"name": "002_raw_one_byte",
|
|
"source": "third-party",
|
|
"file": "vectors/002_raw_one_byte/frame.wft",
|
|
"frame_sha256": "5c0e3627bff439931ef81e2eafdb02c3543d84d6aa82f8d53645241ddc8a9c82",
|
|
"limits": {},
|
|
"expect": {
|
|
"decode": {
|
|
"decoded_len": 1,
|
|
"sha256": "559aead08264d5795d3909718cdd05abd49572e84fe55590eef31a88a08fdffd"
|
|
}
|
|
},
|
|
"upstream": "ok"
|
|
},
|
|
{
|
|
"name": "003_raw_4k",
|
|
"source": "third-party",
|
|
"file": "vectors/003_raw_4k/frame.wft",
|
|
"frame_sha256": "e1a8fb3f6af2b4f2585d1281c985a4a30b4dfa38505816eedecc15e1e4f8b86f",
|
|
"limits": {},
|
|
"expect": {
|
|
"decode": {
|
|
"decoded_len": 4096,
|
|
"sha256": "4dd7e5d1734d0011ac775692e1328a55a589708d45e22603b83a70a1632a9351"
|
|
}
|
|
},
|
|
"upstream": "ok"
|
|
},
|
|
{
|
|
"name": "005_raw_64k_repetitive",
|
|
"source": "third-party",
|
|
"file": "vectors/005_raw_64k_repetitive/frame.wft",
|
|
"frame_sha256": "b6e1f85a06a0632c6be92ab7332c578788d2f7dcbfe955741df31bde88e26565",
|
|
"limits": {},
|
|
"expect": {
|
|
"decode": {
|
|
"decoded_len": 65536,
|
|
"sha256": "ce0ff060d9716d935a6eea5683511b7ef5ac06fa6e525f5b23cbc12d85e02899"
|
|
}
|
|
},
|
|
"upstream": "ok"
|
|
},
|
|
{
|
|
"name": "006_raw_chunked_1024",
|
|
"source": "third-party",
|
|
"file": "vectors/006_raw_chunked_1024/frame.wft",
|
|
"frame_sha256": "ce71902b37d93f9e6e751d7715d77eea1880ea0ca330b114ebbbf0bad21d98fa",
|
|
"limits": {},
|
|
"expect": {
|
|
"decode": {
|
|
"decoded_len": 5000,
|
|
"sha256": "f1be48f0cdb5b5916b3c4cd57062c23c454118842d20ddb6ab3d44b2ecadd528"
|
|
}
|
|
},
|
|
"upstream": "ok"
|
|
},
|
|
{
|
|
"name": "007_zstd_chunked_1024",
|
|
"source": "third-party",
|
|
"file": "vectors/007_zstd_chunked_1024/frame.wft",
|
|
"frame_sha256": "33724b0aef50a37519efeaba27e5387fbd67f2393bf9333ef580b39fc4072944",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "ok"
|
|
},
|
|
{
|
|
"name": "008_zstd_4k",
|
|
"source": "third-party",
|
|
"file": "vectors/008_zstd_4k/frame.wft",
|
|
"frame_sha256": "d2554f42f043b41074efd0aeb2b13df2bab004c3679e060fca0f3df9d9308034",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "ok"
|
|
},
|
|
{
|
|
"name": "009_reference_equal",
|
|
"source": "third-party",
|
|
"file": "vectors/009_reference_equal/frame.wft",
|
|
"frame_sha256": "e5eccbb26f7e41f2bfdcb2a1d291c1358e39e59596167ec49632d8674b9fee39",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "ok"
|
|
},
|
|
{
|
|
"name": "010_delta_edits",
|
|
"source": "third-party",
|
|
"file": "vectors/010_delta_edits/frame.wft",
|
|
"frame_sha256": "facd89cfa5b8ac7a7e2ea7a1e1387a99daafddd26896b54cba8ac36c039f028d",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "ok"
|
|
},
|
|
{
|
|
"name": "011_dictionary_raw",
|
|
"source": "third-party",
|
|
"file": "vectors/011_dictionary_raw/frame.wft",
|
|
"frame_sha256": "d8aadb88f43d14f360cd7517a1e6b1faeefa0b6b5ff6368d1661dafc00e03975",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "ok"
|
|
},
|
|
{
|
|
"name": "012_structured_map",
|
|
"source": "third-party",
|
|
"file": "vectors/012_structured_map/frame.wft",
|
|
"frame_sha256": "220d997c2c2ed5bd9d1685d5d7d6458f0271ad3db0e45c5c1b9d5b5bbc32a52b",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "ok"
|
|
},
|
|
{
|
|
"name": "013_bad_magic",
|
|
"source": "third-party",
|
|
"file": "vectors/013_bad_magic/frame.wft",
|
|
"frame_sha256": "7c82e58a4987f41a25222a567d51496d168e8c098d8ba70db3655ee3b28ee728",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "014_bad_header_crc",
|
|
"source": "third-party",
|
|
"file": "vectors/014_bad_header_crc/frame.wft",
|
|
"frame_sha256": "abbcf35419621f515f34689be0abab85ca9debab313948a6a1afc6d204e635c1",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Corrupt"
|
|
},
|
|
"upstream": "Corrupt"
|
|
},
|
|
{
|
|
"name": "015_bad_trailer_crc",
|
|
"source": "third-party",
|
|
"file": "vectors/015_bad_trailer_crc/frame.wft",
|
|
"frame_sha256": "1394d998b642f84a058ae2ea74a24aef5d18ca3762b43c2db9c895bf0b4b7e20",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Corrupt"
|
|
},
|
|
"upstream": "Corrupt"
|
|
},
|
|
{
|
|
"name": "016_truncated",
|
|
"source": "third-party",
|
|
"file": "vectors/016_truncated/frame.wft",
|
|
"frame_sha256": "e7fda8a81d35e50487875d39b4be9677134aa8045bf2b5d963db093a3d1f1bac",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "017_unknown_mode_reserved19",
|
|
"source": "third-party",
|
|
"file": "vectors/017_unknown_mode_reserved19/frame.wft",
|
|
"frame_sha256": "a06b7aa27f286831bcd8bde58d4fedbe3ee204f23750a8c6c9b444e12e467208",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "UnsupportedMode"
|
|
},
|
|
{
|
|
"name": "018_unknown_feature",
|
|
"source": "third-party",
|
|
"file": "vectors/018_unknown_feature/frame.wft",
|
|
"frame_sha256": "7b76e7b0a455859165cbdd194832ba4f8aadb394fec21b897c7317018cc9f6d4",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedFeature"
|
|
},
|
|
"upstream": "UnsupportedFeature"
|
|
},
|
|
{
|
|
"name": "019_self_contained_reserved",
|
|
"source": "third-party",
|
|
"file": "vectors/019_self_contained_reserved/frame.wft",
|
|
"frame_sha256": "d571ad9f8830f82ec296c6d5f6edbca253a719f711ad785385179733bca2bdf2",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedFeature"
|
|
},
|
|
"upstream": "UnsupportedFeature"
|
|
},
|
|
{
|
|
"name": "020_unsupported_version",
|
|
"source": "third-party",
|
|
"file": "vectors/020_unsupported_version/frame.wft",
|
|
"frame_sha256": "15803ee62c1ee649e98d508284e57a5ded4127784928248da01b9277d3ef5aad",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedVersion"
|
|
},
|
|
"upstream": "UnsupportedVersion"
|
|
},
|
|
{
|
|
"name": "021_bad_table_len",
|
|
"source": "third-party",
|
|
"file": "vectors/021_bad_table_len/frame.wft",
|
|
"frame_sha256": "30f7dfbc23588cb03293dc29982a355e18cf9197a7c8211979802799942d2c22",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "022_chunk_gap",
|
|
"source": "third-party",
|
|
"file": "vectors/022_chunk_gap/frame.wft",
|
|
"frame_sha256": "db53cb07b45ebe9ff9cc5bf50cd2274e0b98ac68c05a27d86b36645f1ec25e9e",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "023_chunk_overlap",
|
|
"source": "third-party",
|
|
"file": "vectors/023_chunk_overlap/frame.wft",
|
|
"frame_sha256": "c280772e1e8831f667419d2b26490a2bde57d6e5303742964ac850be92665c5c",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "024_bad_dependency_length",
|
|
"source": "third-party",
|
|
"file": "vectors/024_bad_dependency_length/frame.wft",
|
|
"frame_sha256": "fb734497445dfc8ca6bf72c88e716101e2ddd7dd1f50f2e5f799c89108681a47",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "DependencyMismatch"
|
|
},
|
|
{
|
|
"name": "025_bad_dependency_hash",
|
|
"source": "third-party",
|
|
"file": "vectors/025_bad_dependency_hash/frame.wft",
|
|
"frame_sha256": "aa24e6e9a2ddb6beaad26116dfe9c153b847332baea93cb6c63a6779cf015db4",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "DependencyMismatch"
|
|
},
|
|
{
|
|
"name": "026_delta_offset_out_of_range",
|
|
"source": "third-party",
|
|
"file": "vectors/026_delta_offset_out_of_range/frame.wft",
|
|
"frame_sha256": "ade2221afed0280c47ed2a108adae63a77fec353fb1e8786999be03c38963815",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "027_delta_length_mismatch",
|
|
"source": "third-party",
|
|
"file": "vectors/027_delta_length_mismatch/frame.wft",
|
|
"frame_sha256": "4842968687e8bce22cc9b102dcb6184835832952c2eb8b88471c16a883ac51c9",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "Corrupt"
|
|
},
|
|
{
|
|
"name": "028_structured_non_canonical",
|
|
"source": "third-party",
|
|
"file": "vectors/028_structured_non_canonical/frame.wft",
|
|
"frame_sha256": "a91af9f4236b1725ba79898ca3e52cdf9f759fc03466156b0d4695b310fefeb5",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "NonCanonical"
|
|
},
|
|
{
|
|
"name": "029_limits_exceeded",
|
|
"source": "third-party",
|
|
"file": "vectors/029_limits_exceeded/frame.wft",
|
|
"frame_sha256": "e1a8fb3f6af2b4f2585d1281c985a4a30b4dfa38505816eedecc15e1e4f8b86f",
|
|
"limits": {
|
|
"max_decoded_bytes": 1024
|
|
},
|
|
"expect": {
|
|
"refuse": "LimitExceeded"
|
|
},
|
|
"upstream": "LimitExceeded"
|
|
},
|
|
{
|
|
"name": "030_quantized_dtype_f32",
|
|
"source": "third-party",
|
|
"file": "vectors/030_quantized_dtype_f32/frame.wft",
|
|
"frame_sha256": "1550233261ebd9f9b2e6126625169a15521db2e00e120a06b31ca1f67a263cdd",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "031_quantized_scale_nan",
|
|
"source": "third-party",
|
|
"file": "vectors/031_quantized_scale_nan/frame.wft",
|
|
"frame_sha256": "b4a987a297d68993e1c5d647749e55f88d0a4d9759ed785aeb1c91dff90dd291",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "032_quantized_zero_point_out_of_range",
|
|
"source": "third-party",
|
|
"file": "vectors/032_quantized_zero_point_out_of_range/frame.wft",
|
|
"frame_sha256": "79eb1c44eecca31084c3879e9dbfb50292351f6a5667bdec94c288bbb11cff44",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "033_quantized_payload_bytes_mismatch",
|
|
"source": "third-party",
|
|
"file": "vectors/033_quantized_payload_bytes_mismatch/frame.wft",
|
|
"frame_sha256": "3d4e5d1cb5dac1260c88e5ab59d566a2d39a8c50d92cf6b744c0114ba8c35b9d",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "034_quantized_payload_hash_mismatch",
|
|
"source": "third-party",
|
|
"file": "vectors/034_quantized_payload_hash_mismatch/frame.wft",
|
|
"frame_sha256": "3c7f6ba8cd12d29e7ca4174c1a5b6c1c9eb2aef346d5ed649cbc82cee22f11b0",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "Corrupt"
|
|
},
|
|
{
|
|
"name": "035_quantized_scale_bytes_len",
|
|
"source": "third-party",
|
|
"file": "vectors/035_quantized_scale_bytes_len/frame.wft",
|
|
"frame_sha256": "eb6f6c1137d2c8e2d17a216fc02bbf028e1808bfb2158c592ab46390452540a9",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "036_quantized_layout_not_implemented",
|
|
"source": "third-party",
|
|
"file": "vectors/036_quantized_layout_not_implemented/frame.wft",
|
|
"frame_sha256": "ae1da3b40d07a1b59c0920d88aad2dc9f7b1e916eea379d73ea21be0e0558072",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "037_quantized_zero_point_not_i64",
|
|
"source": "third-party",
|
|
"file": "vectors/037_quantized_zero_point_not_i64/frame.wft",
|
|
"frame_sha256": "f1bf343c31971ecc58d3630949723e8ae096ea4c94cfa1aaea217c6cbccead1b",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "038_zstd_empty_body",
|
|
"source": "third-party",
|
|
"file": "vectors/038_zstd_empty_body/frame.wft",
|
|
"frame_sha256": "007b3eafec7227c79caf3e874c41e7b31662f30994f4bd9ac05290dfc202efaa",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "039_zstd_content_size_mismatch",
|
|
"source": "third-party",
|
|
"file": "vectors/039_zstd_content_size_mismatch/frame.wft",
|
|
"frame_sha256": "d899131efd47724f7eb66d3595fa61e08e0a9b3dfe451d566a0f5c555ea69dd7",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "Corrupt"
|
|
},
|
|
{
|
|
"name": "100_tensor_f32_2x3",
|
|
"source": "third-party",
|
|
"file": "vectors/100_tensor_f32_2x3/frame.wft",
|
|
"frame_sha256": "c457ea521c76f1d1bb453f01702a8279a355d278fb8e03f02120793c21ce3d2f",
|
|
"limits": {},
|
|
"expect": {
|
|
"decode": {
|
|
"decoded_len": 24,
|
|
"sha256": "3476ca35238b26f59f4f6d71b7f28cc499f87acf513571fec28026f17cc98ce1"
|
|
}
|
|
},
|
|
"upstream": "ok"
|
|
},
|
|
{
|
|
"name": "101_tensor_f16_scalar",
|
|
"source": "third-party",
|
|
"file": "vectors/101_tensor_f16_scalar/frame.wft",
|
|
"frame_sha256": "fb769669a1de418589b36b0fc603fd45a0e340527b9c4441b105dcc07b044373",
|
|
"limits": {},
|
|
"expect": {
|
|
"decode": {
|
|
"decoded_len": 2,
|
|
"sha256": "505114fe537172ea35e17ca1a7516edac516a89b31f983f7c6387d5d2bb462aa"
|
|
}
|
|
},
|
|
"upstream": "ok"
|
|
},
|
|
{
|
|
"name": "102_tensor_u8_zero_element",
|
|
"source": "third-party",
|
|
"file": "vectors/102_tensor_u8_zero_element/frame.wft",
|
|
"frame_sha256": "890b4dc6b0076b26fb13bd68b82317669c9b33f2f8d496c85bc00bce497990c4",
|
|
"limits": {},
|
|
"expect": {
|
|
"decode": {
|
|
"decoded_len": 0,
|
|
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
|
}
|
|
},
|
|
"upstream": "ok"
|
|
},
|
|
{
|
|
"name": "103_tokens_delta_boundaries",
|
|
"source": "third-party",
|
|
"file": "vectors/103_tokens_delta_boundaries/frame.wft",
|
|
"frame_sha256": "9d6503442f5c425d9c949a66a14a3968c6a152a8aae71ac9e131231573243e0c",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "ok"
|
|
},
|
|
{
|
|
"name": "104_tokens_empty",
|
|
"source": "third-party",
|
|
"file": "vectors/104_tokens_empty/frame.wft",
|
|
"frame_sha256": "8ccc03624a6ae7062f29d444c275016823af22582253821af27ff5f0d100be08",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "ok"
|
|
},
|
|
{
|
|
"name": "105_quantized_i8_2x3",
|
|
"source": "third-party",
|
|
"file": "vectors/105_quantized_i8_2x3/frame.wft",
|
|
"frame_sha256": "780553a4ea640f3b020101b6a596979091ed9218b3b39dde789bbd00c532c5fc",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "ok"
|
|
},
|
|
{
|
|
"name": "106_quantized_u8_zero_element",
|
|
"source": "third-party",
|
|
"file": "vectors/106_quantized_u8_zero_element/frame.wft",
|
|
"frame_sha256": "49fd2bb5a4fe578f173d05e94eea2a0bda10d6ee9afbd2d6ca893211a82484e3",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "ok"
|
|
},
|
|
{
|
|
"name": "107_quantized_i8_scalar",
|
|
"source": "third-party",
|
|
"file": "vectors/107_quantized_i8_scalar/frame.wft",
|
|
"frame_sha256": "f7d45d08dea5bceb09ac3a12d8f4fb92f376120b0794a89fbef05d007e264ad1",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "ok"
|
|
},
|
|
{
|
|
"name": "108_float_bf16_2x2",
|
|
"source": "third-party",
|
|
"file": "vectors/108_float_bf16_2x2/frame.wft",
|
|
"frame_sha256": "9dbd7129438556fb70d7b6330af9e028b97ef6784fcc4d08c0e22c6c6041647d",
|
|
"limits": {},
|
|
"expect": {
|
|
"decode": {
|
|
"decoded_len": 8,
|
|
"sha256": "421e3067fcf6dea70351162ca3c39d45a7ffc9d52d47e82b766b754c2f3310a6"
|
|
}
|
|
},
|
|
"upstream": "ok"
|
|
},
|
|
{
|
|
"name": "109_float_fp16_3d",
|
|
"source": "third-party",
|
|
"file": "vectors/109_float_fp16_3d/frame.wft",
|
|
"frame_sha256": "decb1d246e0b1d45b1cf2c5d6ce9f82390a90546f9d4e3cfa54f3421bdf7f17c",
|
|
"limits": {},
|
|
"expect": {
|
|
"decode": {
|
|
"decoded_len": 8,
|
|
"sha256": "02bb923fbe64a02ab45ab5f3a81b62a6f312b11416d48891163b5dc84256cca8"
|
|
}
|
|
},
|
|
"upstream": "ok"
|
|
},
|
|
{
|
|
"name": "110_float_fp32_4d",
|
|
"source": "third-party",
|
|
"file": "vectors/110_float_fp32_4d/frame.wft",
|
|
"frame_sha256": "89009ce81d7bc53de702736611506d9add6fdc4120f1e70fb24dd7a6d3cb51ac",
|
|
"limits": {},
|
|
"expect": {
|
|
"decode": {
|
|
"decoded_len": 16,
|
|
"sha256": "c9d2eef2d5aa2224ccde51031009295312b67508a1c06293a97c2f3eb7a3c65f"
|
|
}
|
|
},
|
|
"upstream": "ok"
|
|
},
|
|
{
|
|
"name": "120_tensor_shape_mismatch",
|
|
"source": "third-party",
|
|
"file": "vectors/120_tensor_shape_mismatch/frame.wft",
|
|
"frame_sha256": "f66b7c5e0e7b388ab8d0e791595d4008aafcbce76ca82c54250ed6478afce0cb",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "121_tensor_payload_bytes_mismatch",
|
|
"source": "third-party",
|
|
"file": "vectors/121_tensor_payload_bytes_mismatch/frame.wft",
|
|
"frame_sha256": "90c5e072d0a6f1dca2a0eb94626eea469a8883db31ca77992ee1365c1cf770b9",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "122_tensor_payload_hash_mismatch",
|
|
"source": "third-party",
|
|
"file": "vectors/122_tensor_payload_hash_mismatch/frame.wft",
|
|
"frame_sha256": "0967eafd948ab614c6b7e519e7c2e1b4b696839220eb4115d9d86fe62d74f9d5",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Corrupt"
|
|
},
|
|
"upstream": "Corrupt"
|
|
},
|
|
{
|
|
"name": "123_tensor_layout_not_implemented",
|
|
"source": "third-party",
|
|
"file": "vectors/123_tensor_layout_not_implemented/frame.wft",
|
|
"frame_sha256": "f3f212d4e87851f7350e5c1ed38d37bc6ac96c0a4efab1bc0d3f88fcad4d68f2",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "124_tensor_unknown_dtype",
|
|
"source": "third-party",
|
|
"file": "vectors/124_tensor_unknown_dtype/frame.wft",
|
|
"frame_sha256": "0e9d72f2246ed34cd495e607af1105837edb77ab103c5de25eb5f71ac570957e",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "125_tensor_shape_overflow",
|
|
"source": "third-party",
|
|
"file": "vectors/125_tensor_shape_overflow/frame.wft",
|
|
"frame_sha256": "5b97df7c986f85f2bfb64b9a38c83b6208cbd9b79b38edbae7c8c9203f6c4caa",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "LimitExceeded"
|
|
},
|
|
"upstream": "LimitExceeded"
|
|
},
|
|
{
|
|
"name": "126_tensor_element_limit",
|
|
"source": "third-party",
|
|
"file": "vectors/126_tensor_element_limit/frame.wft",
|
|
"frame_sha256": "f2d6896b099bcdea7bac2f3a3dc0f0106247c6245a299045314128c3f04b396a",
|
|
"limits": {
|
|
"max_tensor_elements": 5
|
|
},
|
|
"expect": {
|
|
"refuse": "LimitExceeded"
|
|
},
|
|
"upstream": "LimitExceeded"
|
|
},
|
|
{
|
|
"name": "127_tensor_rank_limit",
|
|
"source": "third-party",
|
|
"file": "vectors/127_tensor_rank_limit/frame.wft",
|
|
"frame_sha256": "8c5cfa4171cd92019a1210a7ef43ac27f1ca62cfd2d5337e13010440921119cf",
|
|
"limits": {
|
|
"max_tensor_rank": 8
|
|
},
|
|
"expect": {
|
|
"refuse": "LimitExceeded"
|
|
},
|
|
"upstream": "LimitExceeded"
|
|
},
|
|
{
|
|
"name": "130_tokens_count_mismatch",
|
|
"source": "third-party",
|
|
"file": "vectors/130_tokens_count_mismatch/frame.wft",
|
|
"frame_sha256": "8f09570c6aaee62ef19929d47a78222e8112e8ed6c11c2bb7bd0cb130953094d",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "131_tokens_encoding_not_implemented",
|
|
"source": "third-party",
|
|
"file": "vectors/131_tokens_encoding_not_implemented/frame.wft",
|
|
"frame_sha256": "e37f21ad8086066c70228339906a03c836842684b7598b426ff2e2067322403d",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "132_tokens_non_minimal_varint",
|
|
"source": "third-party",
|
|
"file": "vectors/132_tokens_non_minimal_varint/frame.wft",
|
|
"frame_sha256": "174a67cb6ccd44e939e3ab6ed8d99d31bf5f87afba18273ea4d5fc51f267ccc3",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "NonCanonical"
|
|
},
|
|
{
|
|
"name": "133_tokens_trailing_bytes",
|
|
"source": "third-party",
|
|
"file": "vectors/133_tokens_trailing_bytes/frame.wft",
|
|
"frame_sha256": "2cd0cb3adfaf118480ff893607441c3da942d2da67d3ce59c8790bd663e19863",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "134_tokens_payload_hash_mismatch",
|
|
"source": "third-party",
|
|
"file": "vectors/134_tokens_payload_hash_mismatch/frame.wft",
|
|
"frame_sha256": "93b1925d216798f10e73c4588aca69ee87901da3ce0b27e32eb30198909db067",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "Corrupt"
|
|
},
|
|
{
|
|
"name": "135_tokens_count_limit",
|
|
"source": "third-party",
|
|
"file": "vectors/135_tokens_count_limit/frame.wft",
|
|
"frame_sha256": "a4b4137085274ea04f17c60bf21d1e10b8690c69a6bb9591d59c58a81e8e6c4c",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedMode"
|
|
},
|
|
"upstream": "LimitExceeded"
|
|
},
|
|
{
|
|
"name": "140_float_tensor_unknown_dtype",
|
|
"source": "third-party",
|
|
"file": "vectors/140_float_tensor_unknown_dtype/frame.wft",
|
|
"frame_sha256": "4bd8303ac2e32fdddc7d0cadf091929a3a5644b9de3293fd93e65c53f022db3a",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "141_float_tensor_element_count_mismatch",
|
|
"source": "third-party",
|
|
"file": "vectors/141_float_tensor_element_count_mismatch/frame.wft",
|
|
"frame_sha256": "91bf2cb936d430e091c1d757b2e30fb82f4b37f18e87c5b94bba5dd00f4f7aab",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "142_float_tensor_rank_zero",
|
|
"source": "third-party",
|
|
"file": "vectors/142_float_tensor_rank_zero/frame.wft",
|
|
"frame_sha256": "d7e428ab9c9fbd8dfa2043150a7e41c8238b19b73fc09215dfbe5a646e1766ed",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "143_float_tensor_zero_dimension",
|
|
"source": "third-party",
|
|
"file": "vectors/143_float_tensor_zero_dimension/frame.wft",
|
|
"frame_sha256": "dd3c586ac294156365d723c4468bb9840522c82a63099107ae8f8f7e964bfbb9",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "144_float_tensor_field_widths_mismatch",
|
|
"source": "third-party",
|
|
"file": "vectors/144_float_tensor_field_widths_mismatch/frame.wft",
|
|
"frame_sha256": "6ea27022f861c71249749b064060f6b1dd4fff94b6ab66c05f4860c0ab2fb502",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "145_float_tensor_plane_length_overflow",
|
|
"source": "third-party",
|
|
"file": "vectors/145_float_tensor_plane_length_overflow/frame.wft",
|
|
"frame_sha256": "a4ce2190470f654c79781fe3942b20104b5d9d4c5037196c026700f8fde3e94a",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "LimitExceeded"
|
|
},
|
|
"upstream": "LimitExceeded"
|
|
},
|
|
{
|
|
"name": "146_float_tensor_unknown_exponent_coder",
|
|
"source": "third-party",
|
|
"file": "vectors/146_float_tensor_unknown_exponent_coder/frame.wft",
|
|
"frame_sha256": "121e991fc7ecb6b065b8042232d9b25e3c8e87ba98732b43d883d4d463a63128",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"upstream": "Malformed"
|
|
},
|
|
{
|
|
"name": "147_float_tensor_decoded_len_mismatch",
|
|
"source": "third-party",
|
|
"file": "vectors/147_float_tensor_decoded_len_mismatch/frame.wft",
|
|
"frame_sha256": "d099ed0e36fd5675187b20e5d907fcabb2659d88811ba02aa378798f40bd75c0",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Corrupt"
|
|
},
|
|
"upstream": "Corrupt"
|
|
},
|
|
{
|
|
"name": "148_float_tensor_exponent_over_subscribed",
|
|
"source": "third-party",
|
|
"file": "vectors/148_float_tensor_exponent_over_subscribed/frame.wft",
|
|
"frame_sha256": "91486105909ddb2b4116411dcf88c180001aeffe009733643d388fc3d9fc943e",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "NonCanonical"
|
|
},
|
|
"upstream": "NonCanonical"
|
|
},
|
|
{
|
|
"name": "149_float_tensor_exponent_incomplete",
|
|
"source": "third-party",
|
|
"file": "vectors/149_float_tensor_exponent_incomplete/frame.wft",
|
|
"frame_sha256": "4d986fcfc3537da4fd80adf151969117d0fdf85c210d535fbca953ac72df0d0f",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "NonCanonical"
|
|
},
|
|
"upstream": "NonCanonical"
|
|
},
|
|
{
|
|
"name": "150_float_tensor_exponent_code_length_too_long",
|
|
"source": "third-party",
|
|
"file": "vectors/150_float_tensor_exponent_code_length_too_long/frame.wft",
|
|
"frame_sha256": "5ca9d69578f63fb070a24bf81863c4b07442bc6fc8bedf4b25b7620f3c785254",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "NonCanonical"
|
|
},
|
|
"upstream": "NonCanonical"
|
|
},
|
|
{
|
|
"name": "151_float_tensor_exponent_nonzero_padding",
|
|
"source": "third-party",
|
|
"file": "vectors/151_float_tensor_exponent_nonzero_padding/frame.wft",
|
|
"frame_sha256": "a1ecdefc85d1b445a56fab9d5f5234b1e80d1993299d6284abd3bbd5a536f3c0",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Corrupt"
|
|
},
|
|
"upstream": "Corrupt"
|
|
},
|
|
{
|
|
"name": "152_float_tensor_exponent_table_truncated",
|
|
"source": "third-party",
|
|
"file": "vectors/152_float_tensor_exponent_table_truncated/frame.wft",
|
|
"frame_sha256": "4760c2643faf1298d31fbe332cf491062138d7172020b66bf04065b8bf38e3e4",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Corrupt"
|
|
},
|
|
"upstream": "Corrupt"
|
|
},
|
|
{
|
|
"name": "153_float_tensor_exponent_stream_truncated",
|
|
"source": "third-party",
|
|
"file": "vectors/153_float_tensor_exponent_stream_truncated/frame.wft",
|
|
"frame_sha256": "0025cc65c709c69e362bf1b002b9a94a625c653ec456080e55eb881b5fbc982f",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Corrupt"
|
|
},
|
|
"upstream": "Corrupt"
|
|
},
|
|
{
|
|
"name": "w01_tensor_i8_2x3x4",
|
|
"source": "generated",
|
|
"file": "vectors/w01_tensor_i8_2x3x4/frame.wft",
|
|
"frame_sha256": "e85fcdadce810d4972aa7a4cc70c16e7ca2ccf419ff71f26cf95b7b61aadbe27",
|
|
"limits": {},
|
|
"expect": {
|
|
"decode": {
|
|
"decoded_len": 24,
|
|
"sha256": "330df31f64a5fde7d67be1d69b79210fad204a67ee0bfc5a20884b8456e1b0b0"
|
|
}
|
|
},
|
|
"about": "TENSOR of i8, shape [2, 3, 4]"
|
|
},
|
|
{
|
|
"name": "w02_float_fp32_16x16",
|
|
"source": "generated",
|
|
"file": "vectors/w02_float_fp32_16x16/frame.wft",
|
|
"frame_sha256": "20e687d14376f2541a250a9b5969a6dcea8fa8ccb2b30b296f8c37c440664780",
|
|
"limits": {},
|
|
"expect": {
|
|
"decode": {
|
|
"decoded_len": 1024,
|
|
"sha256": "7f666eab9dc2d5a971951e477f2172af05d346aa26cb29b2e5196947343c106d"
|
|
}
|
|
},
|
|
"about": "FLOAT_TENSOR of fp32 weights, shape [16, 16]: the exponents cluster, so their plane codes short"
|
|
},
|
|
{
|
|
"name": "w03_float_bf16_specials",
|
|
"source": "generated",
|
|
"file": "vectors/w03_float_bf16_specials/frame.wft",
|
|
"frame_sha256": "4d7959f269a351e84ca81e4370c82c488e510f1b61d54ccd0f1f537ae4d16e41",
|
|
"limits": {},
|
|
"expect": {
|
|
"decode": {
|
|
"decoded_len": 32,
|
|
"sha256": "d20c64042105e079f0a29f650fa2135c7ee04f214c4a103fd929c2ecde5571ca"
|
|
}
|
|
},
|
|
"about": "FLOAT_TENSOR of bf16: NaNs with payloads, infinities, signed zeros, subnormals and the largest finite values, every bit kept"
|
|
},
|
|
{
|
|
"name": "w04_float_e4m3_one_exponent",
|
|
"source": "generated",
|
|
"file": "vectors/w04_float_e4m3_one_exponent/frame.wft",
|
|
"frame_sha256": "6bdfd42b327ff2cc9eeb1e042846b004a5bcc2ef73510c9c4f958f2593cd7791",
|
|
"limits": {},
|
|
"expect": {
|
|
"decode": {
|
|
"decoded_len": 16,
|
|
"sha256": "05e489f97ffcccded106e47f6139d2ffe65b7073cc580baa8d8fd21b96b2d421"
|
|
}
|
|
},
|
|
"about": "FLOAT_TENSOR of fp8-e4m3 whose exponents are all 7: the single-symbol form of the exponent coder"
|
|
},
|
|
{
|
|
"name": "w05_raw_chunked_3",
|
|
"source": "generated",
|
|
"file": "vectors/w05_raw_chunked_3/frame.wft",
|
|
"frame_sha256": "daef1ead5dc0af1b60beb71c8da1dfd452bb58b1dd95f04810bf319d162f53c5",
|
|
"limits": {},
|
|
"expect": {
|
|
"decode": {
|
|
"decoded_len": 1000,
|
|
"sha256": "64b4e685ae868f9e0d54b81847e51bc307920614443013146c2848f92f1ba263"
|
|
}
|
|
},
|
|
"about": "RAW in three chunks of at most 400 bytes"
|
|
},
|
|
{
|
|
"name": "w101_raw_content_hash",
|
|
"source": "generated",
|
|
"file": "vectors/w101_raw_content_hash/frame.wft",
|
|
"frame_sha256": "27331313ae6dae7f10721193db946a1baa4979b3d996649072ae1abafa841942",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Corrupt"
|
|
},
|
|
"about": "RAW whose content_hash is not its plaintext's"
|
|
},
|
|
{
|
|
"name": "w102_raw_chunk_hash",
|
|
"source": "generated",
|
|
"file": "vectors/w102_raw_chunk_hash/frame.wft",
|
|
"frame_sha256": "a7d7089915208c0f81f15853c9c38f03482c806ea43be5a6d077d0d353de9817",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Corrupt"
|
|
},
|
|
"about": "chunked RAW whose second chunk's hash is wrong"
|
|
},
|
|
{
|
|
"name": "w103_raw_dependency",
|
|
"source": "generated",
|
|
"file": "vectors/w103_raw_dependency/frame.wft",
|
|
"frame_sha256": "39c71a94e8397edddcabe543794aa22f360424bb912d35f7184fa3c4343bbc54",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "RAW naming a dependency, which the mode does not take"
|
|
},
|
|
{
|
|
"name": "w104_raw_dict_raw",
|
|
"source": "generated",
|
|
"file": "vectors/w104_raw_dict_raw/frame.wft",
|
|
"frame_sha256": "c9c638dd0f04a4ad7b1667b51273cde396fe313d75662761af3492f44c1c6304",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "RAW with DICT_RAW set"
|
|
},
|
|
{
|
|
"name": "w105_raw_structured_domain",
|
|
"source": "generated",
|
|
"file": "vectors/w105_raw_structured_domain/frame.wft",
|
|
"frame_sha256": "d46a6da4233a70af2dda6ff407bdb02b2c3f3b4111e7015d9d0b0bfc352e88d0",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "RAW in the structured domain"
|
|
},
|
|
{
|
|
"name": "w106_minor_version",
|
|
"source": "generated",
|
|
"file": "vectors/w106_minor_version/frame.wft",
|
|
"frame_sha256": "bf2bf7f41f1cb7b9fe1faa10fb1c7ce63610caef57f2832c66553539232661c3",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedVersion"
|
|
},
|
|
"about": "format 1.1"
|
|
},
|
|
{
|
|
"name": "w107_short",
|
|
"source": "generated",
|
|
"file": "vectors/w107_short/frame.wft",
|
|
"frame_sha256": "bfbdcc343575a2808b2a5bb1c3db74ba8381191e60aca840e896a4481a24faf6",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "99 bytes, below the frame's least length"
|
|
},
|
|
{
|
|
"name": "w108_reserved",
|
|
"source": "generated",
|
|
"file": "vectors/w108_reserved/frame.wft",
|
|
"frame_sha256": "fc873d9af71bccc3f1d66022867a51ae08b4c43d2f068b72a1f79ee0387f78fd",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "a reserved header field that is not zero"
|
|
},
|
|
{
|
|
"name": "w109_domain_2",
|
|
"source": "generated",
|
|
"file": "vectors/w109_domain_2/frame.wft",
|
|
"frame_sha256": "3ce0e7321c831107a78d158e452688681912547e4fa4b1af977dd68c596be0d6",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "domain 2, which the format does not define"
|
|
},
|
|
{
|
|
"name": "w110_unknown_flag",
|
|
"source": "generated",
|
|
"file": "vectors/w110_unknown_flag/frame.wft",
|
|
"frame_sha256": "989c34294e0e8704aa7798ebca8a3e94fb794d4db8b368164fe6b20e6781c248",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedFeature"
|
|
},
|
|
"about": "a flag bit the format does not define"
|
|
},
|
|
{
|
|
"name": "w111_original_hash",
|
|
"source": "generated",
|
|
"file": "vectors/w111_original_hash/frame.wft",
|
|
"frame_sha256": "29789d6942790d7bb7c6dc798344b038758ce57b468fbe37008e6d2489d80bb1",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedFeature"
|
|
},
|
|
"about": "ORIGINAL_HASH, reserved in format 1.0"
|
|
},
|
|
{
|
|
"name": "w112_self_contained",
|
|
"source": "generated",
|
|
"file": "vectors/w112_self_contained/frame.wft",
|
|
"frame_sha256": "0df11b44175e0117ebce79eee8392ba7e61d2b3bcb726a1ace53a09033391a8a",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedFeature"
|
|
},
|
|
"about": "SELF_CONTAINED, reserved in format 1.0"
|
|
},
|
|
{
|
|
"name": "w113_unknown_feature",
|
|
"source": "generated",
|
|
"file": "vectors/w113_unknown_feature/frame.wft",
|
|
"frame_sha256": "0086a416be63f44ce6004b579184befbc0e870ef35b38f033f19ecce308ad28b",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "UnsupportedFeature"
|
|
},
|
|
"about": "a feature bit the format does not define"
|
|
},
|
|
{
|
|
"name": "w114_chunked_no_chunks",
|
|
"source": "generated",
|
|
"file": "vectors/w114_chunked_no_chunks/frame.wft",
|
|
"frame_sha256": "b201b01cbd6e923ba6a29b85a2772e77a9435faf76ff05502e3a8e04604316fd",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "CHUNKED with an empty chunk table, over an empty plaintext"
|
|
},
|
|
{
|
|
"name": "w115_chunked_no_hashes",
|
|
"source": "generated",
|
|
"file": "vectors/w115_chunked_no_hashes/frame.wft",
|
|
"frame_sha256": "087cc49bc9a454b3afa6694f3abf94cdb321a1c9fd01572569880d59cc99bac2",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "CHUNKED without CHUNK_HASHES"
|
|
},
|
|
{
|
|
"name": "w116_chunks_without_flag",
|
|
"source": "generated",
|
|
"file": "vectors/w116_chunks_without_flag/frame.wft",
|
|
"frame_sha256": "6febef1c843a8e0018b8950d6eca8028a9cf42a9c37892b7fa1c541c8a075f8c",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "a chunk table without CHUNKED"
|
|
},
|
|
{
|
|
"name": "w117_hashes_without_flag",
|
|
"source": "generated",
|
|
"file": "vectors/w117_hashes_without_flag/frame.wft",
|
|
"frame_sha256": "264645556798404a981b25af6e6b299276ac146e57bf972c694ea0c001b88f86",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "CHUNK_HASHES without CHUNKED"
|
|
},
|
|
{
|
|
"name": "w118_dependency_without_feature",
|
|
"source": "generated",
|
|
"file": "vectors/w118_dependency_without_feature/frame.wft",
|
|
"frame_sha256": "e7afa6b3b22fabee13a7f493282b3e2e68513cbf9b382bc53c6fe95380c828b0",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "a dependency table without DEPENDENCIES"
|
|
},
|
|
{
|
|
"name": "w119_dependency_not_required",
|
|
"source": "generated",
|
|
"file": "vectors/w119_dependency_not_required/frame.wft",
|
|
"frame_sha256": "fbd7699a565b4afadd679603908f5ef6bf10745c5962440898f6a387a7b30e6d",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "a dependency entry without REQUIRED"
|
|
},
|
|
{
|
|
"name": "w120_chunk_empty",
|
|
"source": "generated",
|
|
"file": "vectors/w120_chunk_empty/frame.wft",
|
|
"frame_sha256": "4f9e383ac481e95259e3704b24823c368de31bc3e97abebb12eb0d8091509500",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "a chunk of no encoded bytes"
|
|
},
|
|
{
|
|
"name": "w121_chunk_extent",
|
|
"source": "generated",
|
|
"file": "vectors/w121_chunk_extent/frame.wft",
|
|
"frame_sha256": "d588dc8cac61d5454c1467cc534323734e9bc8f185c36b83922fc84a7e11721c",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "chunk extents that end before the body does"
|
|
},
|
|
{
|
|
"name": "w122_chunk_sum",
|
|
"source": "generated",
|
|
"file": "vectors/w122_chunk_sum/frame.wft",
|
|
"frame_sha256": "e4a9e1fcda1b49e6650cd133c6f4f0c11cf872f1016fa44fc07ca33083ab5ed2",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "chunk lengths that do not sum to decoded_len"
|
|
},
|
|
{
|
|
"name": "w123_raw_chunk_lengths",
|
|
"source": "generated",
|
|
"file": "vectors/w123_raw_chunk_lengths/frame.wft",
|
|
"frame_sha256": "c6160ceb581a1c52b092530814e58a5eed978b2a4eb2a922b8ddc71660e081f2",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "a RAW chunk whose encoded and decoded lengths differ"
|
|
},
|
|
{
|
|
"name": "w124_raw_body_length",
|
|
"source": "generated",
|
|
"file": "vectors/w124_raw_body_length/frame.wft",
|
|
"frame_sha256": "db1097301d560e170a9db78d73f6fa3ee1fbfbdfa484c083003e31968533abdc",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "RAW whose body_len differs from decoded_len"
|
|
},
|
|
{
|
|
"name": "w125_short_60",
|
|
"source": "generated",
|
|
"file": "vectors/w125_short_60/frame.wft",
|
|
"frame_sha256": "33a1d939b365c400310b401d1e2fa01584ed8528116ff1a56643a14d1aba9bcd",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "60 bytes: the frame's first bytes, shorter than its header"
|
|
},
|
|
{
|
|
"name": "w126_header_crc_stale",
|
|
"source": "generated",
|
|
"file": "vectors/w126_header_crc_stale/frame.wft",
|
|
"frame_sha256": "2310374cc71a2304b1dfb87af55182968ffd705167c98f7e60b90004be6757a7",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Corrupt"
|
|
},
|
|
"about": "a header changed after its checksum was written, the trailer written again"
|
|
},
|
|
{
|
|
"name": "w127_table_len_unbacked",
|
|
"source": "generated",
|
|
"file": "vectors/w127_table_len_unbacked/frame.wft",
|
|
"frame_sha256": "f424a3c91160720c30ba8207588b42b8789effd6d3caf1e4abf9b39ad6329160",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "a table_len of one entry with no entry counted: read past it, the frame would decode"
|
|
},
|
|
{
|
|
"name": "w201_tensor_extra_key",
|
|
"source": "generated",
|
|
"file": "vectors/w201_tensor_extra_key/frame.wft",
|
|
"frame_sha256": "c2ae9c8851e93ea7541bb1f2a9cd3081f86e29a96fa54d5bfadcd540a5003c12",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "a TENSOR descriptor with a key its schema lacks"
|
|
},
|
|
{
|
|
"name": "w202_tensor_big_endian",
|
|
"source": "generated",
|
|
"file": "vectors/w202_tensor_big_endian/frame.wft",
|
|
"frame_sha256": "309130f2eeb4426942022253353f34fc077c8cc03cc7ae6ead151b12d74f3b8d",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "a TENSOR descriptor naming big-endian elements"
|
|
},
|
|
{
|
|
"name": "w203_tensor_unsorted_keys",
|
|
"source": "generated",
|
|
"file": "vectors/w203_tensor_unsorted_keys/frame.wft",
|
|
"frame_sha256": "79ac0e627ac91a1004c252023d19332428b52ad2a0d64ac136663ee78bc0a7c4",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "NonCanonical"
|
|
},
|
|
"about": "a TENSOR descriptor whose keys are out of their encoded order"
|
|
},
|
|
{
|
|
"name": "w204_tensor_non_minimal_varint",
|
|
"source": "generated",
|
|
"file": "vectors/w204_tensor_non_minimal_varint/frame.wft",
|
|
"frame_sha256": "61553ccbe269235856334b2561d37e0ce79135fe2658e64e32efea140a735194",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "NonCanonical"
|
|
},
|
|
"about": "a TENSOR descriptor with a varint of two bytes where one serves"
|
|
},
|
|
{
|
|
"name": "w205_tensor_trailing_byte",
|
|
"source": "generated",
|
|
"file": "vectors/w205_tensor_trailing_byte/frame.wft",
|
|
"frame_sha256": "6031415a5a294aabbf03074565b231a76af77f0505211be3b3056d899a9b8b71",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "NonCanonical"
|
|
},
|
|
"about": "a TENSOR descriptor followed by a byte inside its length"
|
|
},
|
|
{
|
|
"name": "w206_tensor_key_not_text",
|
|
"source": "generated",
|
|
"file": "vectors/w206_tensor_key_not_text/frame.wft",
|
|
"frame_sha256": "5b30de466ec15dde9049cc2bb657fef7048ffe35b8ede83b7cf5816480ac0e09",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "NonCanonical"
|
|
},
|
|
"about": "a TENSOR descriptor with a key that is not text"
|
|
},
|
|
{
|
|
"name": "w207_tensor_missing_key",
|
|
"source": "generated",
|
|
"file": "vectors/w207_tensor_missing_key/frame.wft",
|
|
"frame_sha256": "85a7b0a3a2a2ca1f12e5735ffb1a1348110d63c41a2b2a86a3d35711e61993cd",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "a TENSOR descriptor without its layout"
|
|
},
|
|
{
|
|
"name": "w208_tensor_schema",
|
|
"source": "generated",
|
|
"file": "vectors/w208_tensor_schema/frame.wft",
|
|
"frame_sha256": "341b43edb460e5e7ad82570ae4e1ba17fde86ed2e94f15f57620b753f9b296e8",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "a TENSOR descriptor of another schema"
|
|
},
|
|
{
|
|
"name": "w209_tensor_hash_length",
|
|
"source": "generated",
|
|
"file": "vectors/w209_tensor_hash_length/frame.wft",
|
|
"frame_sha256": "3d4b6f50d19dca9c9cb90fe5286f8fe5a5ea02cbca0ce838c22a3b828e2c487c",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "a TENSOR payload_hash of 31 bytes"
|
|
},
|
|
{
|
|
"name": "w210_tensor_payload_length",
|
|
"source": "generated",
|
|
"file": "vectors/w210_tensor_payload_length/frame.wft",
|
|
"frame_sha256": "7d989534ad91610abb3730fb8e1c0db7efac3150efc6e99de6b63cfd73fc0c65",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "a TENSOR payload shorter than decoded_len"
|
|
},
|
|
{
|
|
"name": "w211_tensor_payload_bytes_length",
|
|
"source": "generated",
|
|
"file": "vectors/w211_tensor_payload_bytes_length/frame.wft",
|
|
"frame_sha256": "bb8f4ff975ce6ee15e6108b45bce8b9f39474f1e89a0f44b9d1213de06fd90a2",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "a TENSOR payload of 7 bytes whose descriptor counts 6"
|
|
},
|
|
{
|
|
"name": "w212_tensor_body_3",
|
|
"source": "generated",
|
|
"file": "vectors/w212_tensor_body_3/frame.wft",
|
|
"frame_sha256": "4415a5953f3aaffba0c3bf030d501bc333518c02039adfa5d75c25277492dceb",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "a TENSOR body of 3 bytes"
|
|
},
|
|
{
|
|
"name": "w213_tensor_descriptor_past_body",
|
|
"source": "generated",
|
|
"file": "vectors/w213_tensor_descriptor_past_body/frame.wft",
|
|
"frame_sha256": "ad8a651b7238b5a4940c00e86c262b252b8131c725143412ab32d515959e6992",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "a TENSOR descriptor length past the body"
|
|
},
|
|
{
|
|
"name": "w214_tensor_not_a_map",
|
|
"source": "generated",
|
|
"file": "vectors/w214_tensor_not_a_map/frame.wft",
|
|
"frame_sha256": "12a1d8bd8d57557d9c931d739b3486edf47e5a05ef6a827d8d5dfa02f3e48e21",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "a TENSOR descriptor that is an array"
|
|
},
|
|
{
|
|
"name": "w215_tensor_count_not_shape",
|
|
"source": "generated",
|
|
"file": "vectors/w215_tensor_count_not_shape/frame.wft",
|
|
"frame_sha256": "dfe89afe6591d5f2d14cfeead89c98f5e5a372579e61a902664c14c46b070734",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "a TENSOR of shape [2, 2] whose element_count, payload_bytes and payload are 6"
|
|
},
|
|
{
|
|
"name": "w216_tensor_bytes_not_dtype",
|
|
"source": "generated",
|
|
"file": "vectors/w216_tensor_bytes_not_dtype/frame.wft",
|
|
"frame_sha256": "ef87a065a6184314c38429bc1d5684f1869659c076e67f63b4207e63eeebeff4",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "an i32 TENSOR of shape [3] whose payload_bytes and payload are 6 bytes, not 12"
|
|
},
|
|
{
|
|
"name": "w301_float_exponent_out_of_range",
|
|
"source": "generated",
|
|
"file": "vectors/w301_float_exponent_out_of_range/frame.wft",
|
|
"frame_sha256": "64f8522579fd9eb30db3c4ac520dd9d187651b1b7426ae3db9508679b08a170e",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Corrupt"
|
|
},
|
|
"about": "FLOAT_TENSOR of fp16 with an exponent of 32, past its 5 bits, whose header states the plaintext the spilled bit would give"
|
|
},
|
|
{
|
|
"name": "w302_float_mantissa_padding",
|
|
"source": "generated",
|
|
"file": "vectors/w302_float_mantissa_padding/frame.wft",
|
|
"frame_sha256": "e39a78be96dee48c1e45c8704b2ab32c7928f42d90591e246b09eeceb2d9e967",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Corrupt"
|
|
},
|
|
"about": "FLOAT_TENSOR whose sign-and-mantissa plane has a padding bit set"
|
|
},
|
|
{
|
|
"name": "w303_float_payload_hash",
|
|
"source": "generated",
|
|
"file": "vectors/w303_float_payload_hash/frame.wft",
|
|
"frame_sha256": "b94845d02e1496afb209ca5181156a34f4ebfe570cb495f6057b0c5a21902564",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Corrupt"
|
|
},
|
|
"about": "FLOAT_TENSOR whose payload_hash is not its stored payload's"
|
|
},
|
|
{
|
|
"name": "w304_float_dependency",
|
|
"source": "generated",
|
|
"file": "vectors/w304_float_dependency/frame.wft",
|
|
"frame_sha256": "a93498f3415de7b5927a6c12e9dfdb9b4f5593836498e6ba6d192f4e869308c3",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "FLOAT_TENSOR naming a dependency"
|
|
},
|
|
{
|
|
"name": "w305_float_chunked",
|
|
"source": "generated",
|
|
"file": "vectors/w305_float_chunked/frame.wft",
|
|
"frame_sha256": "8369f80637cbd0754f1503f59eb352f4e47ff18022ee011d03494a8d5875882d",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "FLOAT_TENSOR in a chunk table, which a tensor frame does not take"
|
|
},
|
|
{
|
|
"name": "w306_float_exponent_trailing_byte",
|
|
"source": "generated",
|
|
"file": "vectors/w306_float_exponent_trailing_byte/frame.wft",
|
|
"frame_sha256": "c9a4d7320a41f2cb6bb79830bfb80e59886f750a9245a79ccd5955bcdc647b0f",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Corrupt"
|
|
},
|
|
"about": "FLOAT_TENSOR whose coded exponent plane has a byte after its last code"
|
|
},
|
|
{
|
|
"name": "w307_float_schema",
|
|
"source": "generated",
|
|
"file": "vectors/w307_float_schema/frame.wft",
|
|
"frame_sha256": "1b009af2a3bf5c243754c489c14b6f9ba3ebee588d8784cd1e5719bf4b98a447",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "a FLOAT_TENSOR descriptor of another schema"
|
|
},
|
|
{
|
|
"name": "w308_float_width_past_byte",
|
|
"source": "generated",
|
|
"file": "vectors/w308_float_width_past_byte/frame.wft",
|
|
"frame_sha256": "d81a03cf572f46b29ea4ff81338b2d7bd6ac1962229f2c6fe3d830453826c8a8",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "a FLOAT_TENSOR sign_bits of 256"
|
|
},
|
|
{
|
|
"name": "w309_float_product_overflow",
|
|
"source": "generated",
|
|
"file": "vectors/w309_float_product_overflow/frame.wft",
|
|
"frame_sha256": "12c95512afacb23311e759e2c889afb8c3987e427e1900afe8149d28f2014d74",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "LimitExceeded"
|
|
},
|
|
"about": "a FLOAT_TENSOR shape whose product overflows u64"
|
|
},
|
|
{
|
|
"name": "w310_float_mantissa_plane_len",
|
|
"source": "generated",
|
|
"file": "vectors/w310_float_mantissa_plane_len/frame.wft",
|
|
"frame_sha256": "4ab678d7b3fea47e4fe04e7d87a9f73a0ed6a3c1c6b0f3686e03ac26ceb37745",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "a FLOAT_TENSOR mantissa_plane_len its arithmetic does not give"
|
|
},
|
|
{
|
|
"name": "w311_float_stored_len",
|
|
"source": "generated",
|
|
"file": "vectors/w311_float_stored_len/frame.wft",
|
|
"frame_sha256": "4b48c3afd08292835acbefcbba5375a37655bb44259178ade31bbfb341b8aedd",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Malformed"
|
|
},
|
|
"about": "FLOAT_TENSOR planes whose lengths do not sum to the stored payload"
|
|
},
|
|
{
|
|
"name": "w312_float_empty_table",
|
|
"source": "generated",
|
|
"file": "vectors/w312_float_empty_table/frame.wft",
|
|
"frame_sha256": "17fe511073dca5834d7919b35165710f0e433d17896c858a3c9dc5be75305563",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Corrupt"
|
|
},
|
|
"about": "a FLOAT_TENSOR exponent plane whose table has no symbol, in a frame whose content hash is the empty plaintext's: read as an empty plane, it would decode to nothing"
|
|
},
|
|
{
|
|
"name": "w313_float_single_symbol_length_2",
|
|
"source": "generated",
|
|
"file": "vectors/w313_float_single_symbol_length_2/frame.wft",
|
|
"frame_sha256": "9402710781eb4b314b2864c4f0b3db0155c986e8cfaeee2a5e2825032aee5a5e",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "NonCanonical"
|
|
},
|
|
"about": "a single-symbol exponent table whose symbol has 2 bits"
|
|
},
|
|
{
|
|
"name": "w314_float_decoded_len",
|
|
"source": "generated",
|
|
"file": "vectors/w314_float_decoded_len/frame.wft",
|
|
"frame_sha256": "e346e0236593ac4e17d8d8c2bc6e1b57efbab6dbac25967c353be3b30e16d084",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "Corrupt"
|
|
},
|
|
"about": "a FLOAT_TENSOR whose decoded_len is 2 more than its descriptor gives, its content hash its plaintext's"
|
|
},
|
|
{
|
|
"name": "w315_float_code_of_25_bits",
|
|
"source": "generated",
|
|
"file": "vectors/w315_float_code_of_25_bits/frame.wft",
|
|
"frame_sha256": "78fde57323bb2809528f97e8b9ddc921051ca42b0192a3ea5add2bf18d882dd9",
|
|
"limits": {},
|
|
"expect": {
|
|
"refuse": "NonCanonical"
|
|
},
|
|
"about": "a FLOAT_TENSOR exponent table that is complete with two codes of 25 bits, past the coder's 24"
|
|
},
|
|
{
|
|
"name": "w401_limit_frame_bytes",
|
|
"source": "generated",
|
|
"file": "vectors/w401_limit_frame_bytes/frame.wft",
|
|
"frame_sha256": "a4961b89057e28aaebc81b2f91c0755f0181fcf4aaa0b85b89a5f4ab9fa6349d",
|
|
"limits": {
|
|
"max_frame_bytes": 1000
|
|
},
|
|
"expect": {
|
|
"refuse": "LimitExceeded"
|
|
},
|
|
"about": "a frame longer than max_frame_bytes"
|
|
},
|
|
{
|
|
"name": "w402_limit_dependency_count",
|
|
"source": "generated",
|
|
"file": "vectors/w402_limit_dependency_count/frame.wft",
|
|
"frame_sha256": "39c71a94e8397edddcabe543794aa22f360424bb912d35f7184fa3c4343bbc54",
|
|
"limits": {
|
|
"max_dependency_count": 0
|
|
},
|
|
"expect": {
|
|
"refuse": "LimitExceeded"
|
|
},
|
|
"about": "more dependencies than max_dependency_count"
|
|
},
|
|
{
|
|
"name": "w403_limit_chunks",
|
|
"source": "generated",
|
|
"file": "vectors/w403_limit_chunks/frame.wft",
|
|
"frame_sha256": "daef1ead5dc0af1b60beb71c8da1dfd452bb58b1dd95f04810bf319d162f53c5",
|
|
"limits": {
|
|
"max_chunks": 2
|
|
},
|
|
"expect": {
|
|
"refuse": "LimitExceeded"
|
|
},
|
|
"about": "more chunks than max_chunks"
|
|
},
|
|
{
|
|
"name": "w404_limit_structured_depth",
|
|
"source": "generated",
|
|
"file": "vectors/w404_limit_structured_depth/frame.wft",
|
|
"frame_sha256": "f2d6896b099bcdea7bac2f3a3dc0f0106247c6245a299045314128c3f04b396a",
|
|
"limits": {
|
|
"max_structured_depth": 1
|
|
},
|
|
"expect": {
|
|
"refuse": "LimitExceeded"
|
|
},
|
|
"about": "a descriptor nested deeper than max_structured_depth"
|
|
},
|
|
{
|
|
"name": "w405_limit_structured_items",
|
|
"source": "generated",
|
|
"file": "vectors/w405_limit_structured_items/frame.wft",
|
|
"frame_sha256": "f2d6896b099bcdea7bac2f3a3dc0f0106247c6245a299045314128c3f04b396a",
|
|
"limits": {
|
|
"max_structured_items": 4
|
|
},
|
|
"expect": {
|
|
"refuse": "LimitExceeded"
|
|
},
|
|
"about": "a descriptor of more values than max_structured_items"
|
|
},
|
|
{
|
|
"name": "w406_limit_string_bytes",
|
|
"source": "generated",
|
|
"file": "vectors/w406_limit_string_bytes/frame.wft",
|
|
"frame_sha256": "f2d6896b099bcdea7bac2f3a3dc0f0106247c6245a299045314128c3f04b396a",
|
|
"limits": {
|
|
"max_string_bytes": 8
|
|
},
|
|
"expect": {
|
|
"refuse": "LimitExceeded"
|
|
},
|
|
"about": "a descriptor text longer than max_string_bytes"
|
|
},
|
|
{
|
|
"name": "w407_limit_decoded_bytes",
|
|
"source": "generated",
|
|
"file": "vectors/w407_limit_decoded_bytes/frame.wft",
|
|
"frame_sha256": "20e687d14376f2541a250a9b5969a6dcea8fa8ccb2b30b296f8c37c440664780",
|
|
"limits": {
|
|
"max_decoded_bytes": 1023
|
|
},
|
|
"expect": {
|
|
"refuse": "LimitExceeded"
|
|
},
|
|
"about": "a FLOAT_TENSOR longer than max_decoded_bytes"
|
|
}
|
|
]
|
|
}
|