open-standards/wai/ops-conformance/sets/synth/int_synth.json
Transaction Science 608a1bea8d wai-ops: the conformance corpus, its generator, and the WASI and browser-engine legs
wai/ops-conformance/, in integer-operators §14.1's format, written by
`wai-ops vectors gen`:

- vectors/<operator>.jsonl: one-operator graph vectors for every graph operator:
  random cases over several magnitudes, and the coverage classes of §14.1:
  bound-attaining inputs, rounding ties at every mode and the shifts the class
  names, geometry, the i32 limits and one past them, check and scalar ranges at
  their ends and one past, every run-time shape refusal, and the distinguishing
  cases (per-term igdn floors, leaky floors, softmax rows, elu(0), a half mean in
  layernorm_c, ε = 2^64 − 1, exp at n = 62 and 63).
- stage/<operator>.jsonl: E1–E13. E1 under every mode, with each strict refusal
  alone and in each pair one symbol can give, under both end rules; E8 with zero
  tails, short streams, and escapes at bounds of 128 and 255.
- graphs/: the phase form against conv_transpose (the generator checks the two
  outputs agree), a state carried across three decodes, a refusal at each load
  check (steps 1–7) and at each run step, and every lowering on a small set.
- certificates/<capability>/<set digest>/<role>.whg1: the lowered graphs of every
  committed set and of the small sets, with certificates/index.json.

Every vector's `profiles` is the profiles its graph meets under §7 and §8.3, from
the generator's own tagger; a case that meets neither is not written (its load
refusal is a D2b vector). The certifier must agree with every tag.

`wai-ops vectors verify` recomputes every vector file, re-lowers every set and
regenerates the corpus, and requires every byte to match. It passes natively, as
the same binary built for wasm32-wasip2 under wasmtime, and through wai-ops/node,
the recomputation as a wasm32-unknown-unknown module run by Node.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-09 19:31:38 -04:00

1 line
665 B
JSON

{"layers":[{"in_ch":2,"out_ch":3,"k":3,"stride":2,"pad":1,"out_pad":1,"weight":[7,19,20,29,31,40,5,35,-10,-18,31,16,3,38,-29,-4,-15,-29,3,2,33,-37,-9,17,-7,-32,16,-6,31,-9,30,-32,-21,-23,-2,32,-35,30,-33,33,16,-13,-15,23,13,4,-35,-40,36,6,8,14,-28,20],"bias":[-35,67,36],"shift":3,"relu":true},{"in_ch":3,"out_ch":3,"k":3,"stride":1,"pad":1,"out_pad":0,"weight":[-17,-31,12,-4,33,-25,-38,-5,-26,-7,2,-40,-6,-38,-17,-7,-18,-13,-20,-35,39,-24,32,33,-21,5,-40,-34,25,-32,7,31,18,39,-9,5,14,2,-28,-1,19,-10,14,12,-7,40,-4,-21,32,7,9,-38,0,25,37,-31,33,32,-6,-11,-33,20,-34,-5,19,26,34,18,-24,-9,-38,-34,-29,-35,-4,27,-15,-9,20,-11,-3],"bias":[-48,-193,80],"shift":4}]}