open-standards/wai/wai-rs/tests/vectors/generate/sizes.json
Transaction Science a220d16a48 wai: wai generate and wai score build|render, with native pins a sink checks against
`wai generate` makes a wai.generate.spectral picture with the reference generator at
any size and prints its SHA-256; with --instr it makes a listed size of an instruction
object of form v0, which it reads as a sink does, and --write-instr writes one.
`wai score build` writes a WSCR from integer note fields only; `wai score render`
prints samples, pcm_sha256, mixdown_blake3 and score_hash, and --pcm writes the samples.

Vectors: tests/vectors/generate/sizes.json (256x128, 640x320) and instr-v0.json (the
object, its four listed sizes and 28 objects a sink refuses); score-conformance gains
pcm_sha256 for every vector and notes/<name>.json, the authoring form, which
`wai score build` turns back into the committed WSCR byte for byte. Every pin was made
natively and equals the shared browser binding's output.

`wai wrap` refuses a wai.generate.spectral payload that is not a form-v0 object, in
every build. No library source changes.

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

19 lines
505 B
JSON

{
"prompt": "a calm spectral horizon",
"seed": 7,
"steps": 4,
"model_sha256": "963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e",
"buffer": "RGB8: rows top to bottom, pixels left to right, R, G, B bytes",
"sizes": [
{
"w": 256,
"h": 128,
"sha256": "6c7eabbc826affc752394fa67bf74e135331664d53edf13a4f6eabb9b1f80704"
},
{
"w": 640,
"h": 320,
"sha256": "54bc40567935a8b264d1836bd94439623b233c3551b535ea54960f35327e5bf2"
}
]
}