open-standards/wai/quantum-cross-simulator/provider/test.sh
Transaction Science 90f48f6a75
Some checks failed
WAI examples / WAI examples · does this change touch them (pull_request) Successful in 10s
wai key · the real keychain / does this change touch it (pull_request) Successful in 10s
WAI breaking changes and the conformance runner / WAI breaking · does this change touch WAI (pull_request) Successful in 24s
joule-code conformance gate / joule-moq-relay, its own energy on a counter (macos) (pull_request) Successful in 43s
wai key · the real keychain / the real keychain · macos (pull_request) Has been skipped
energy meters on real hardware / RAPL and NVML on jetson-hub (pull_request) Successful in 51s
joule-moq-remote host agent / joule-moq-remote · does this change touch it (pull_request) Successful in 35s
joule-moq-remote host agent / joule-moq-remote, every target (linux-arm64) (pull_request) Has been skipped
joule-moq-web browser client / joule-moq-web · does this change touch it (pull_request) Successful in 56s
smart-byte conformance gate / does this change touch it (pull_request) Successful in 1m0s
joule-moq-remote host agent / joule-moq-remote, every target (macos) (pull_request) Has been skipped
wai-app and Create / wai-app · does this change touch it (pull_request) Successful in 49s
standards workspaces build + test / which workspaces this change touches (pull_request) Successful in 54s
wai-audit collector and player integration / does this change touch it (pull_request) Successful in 36s
wai cross-architecture byte-equality / does this change touch it (pull_request) Successful in 46s
joule-moq-web browser client / joule-moq-web · browser end-to-end (macos) (pull_request) Has been skipped
smart-byte conformance gate / Validate conformance JSON files (pull_request) Has been skipped
smart-byte conformance gate / Second implementation reproduces every vector (pull_request) Has been skipped
wai cross-architecture byte-equality / linux-aarch64 (pull_request) Has been skipped
smart-byte conformance gate / Spec changes require vector-pack updates (pull_request) Has been skipped
smart-byte conformance gate / VERSIONS.md and README.md must exist (pull_request) Has been skipped
wai cross-architecture byte-equality / linux-x86_64 (pull_request) Has been skipped
wai cross-architecture byte-equality / macos-arm64 (reference) (pull_request) Has been skipped
wai cross-architecture byte-equality / windows-x86_64 (pull_request) Has been skipped
joule-moq-room room service / joule-moq-room · does this change touch it (pull_request) Successful in 1m0s
WAI breaking changes and the conformance runner / WAI breaking · wire, record and API against main · linux (pull_request) Successful in 46s
wai-app and Create / wai-app · tests, clippy, the line language's verifier (linux) (pull_request) Has been skipped
joule-moq-room room service / joule-moq-room, every target (pull_request) Has been skipped
wai-app and Create / wai-app · Create, browser end-to-end (macos) (pull_request) Has been skipped
WAI energy receipts / does this change touch it (pull_request) Successful in 26s
WAI operation catalogue / does this change touch it (pull_request) Successful in 24s
WAI conformance / does this change touch it (pull_request) Successful in 27s
wai-quantum energy-landscape jobs / does this change touch it (pull_request) Successful in 16s
wai-quantum energy-landscape jobs / reader, kernels, answers and the stated result · linux, release (pull_request) Has been skipped
wai-quantum energy-landscape jobs / the same bits · linux-arm64 (pull_request) Has been skipped
wai-quantum energy-landscape jobs / the same bits · macos (pull_request) Has been skipped
wai-quantum energy-landscape jobs / the module under wasm32-wasip2 (wasmtime) (pull_request) Has been skipped
wai-quantum energy-landscape jobs / native against WebAssembly, over many seeds (pull_request) Has been skipped
WAI JPEG-AI whole decode (pinned inputs, required) / does this change touch it (pull_request) Successful in 33s
WAI HTTP delivery / WAI HTTP · does this change touch it (pull_request) Successful in 36s
wai formal verification (integer core) / does this change touch it (pull_request) Successful in 43s
WAI HTTP delivery / HTTP corpus · falsify mutations 0/3 (pull_request) Has been skipped
wai formal verification (integer core) / every harness in one shard (pull_request) Has been skipped
wai-fleet service / does this change touch it (pull_request) Successful in 29s
WAI HTTP delivery / HTTP corpus · falsify mutations 1/3 (pull_request) Has been skipped
wai formal verification (integer core) / kani (arith) (pull_request) Has been skipped
WAI HTTP delivery / HTTP corpus · falsify mutations 2/3 (pull_request) Has been skipped
WAI JPEG-AI whole decode (pinned inputs, required) / fetch pinned JPEG-AI inputs → whole decode + pixel hash, required (pull_request) Has been skipped
wai-key-proxy / does this change touch it (pull_request) Successful in 25s
wai formal verification (integer core) / kani (isqrt512) (pull_request) Has been skipped
WAI HTTP delivery / HTTP corpus · falsify patches 0/3 (pull_request) Has been skipped
wai formal verification (integer core) / kani (plan) (pull_request) Has been skipped
WAI HTTP delivery / HTTP corpus · falsify patches 1/3 (pull_request) Has been skipped
WAI HTTP delivery / HTTP corpus · falsify patches 2/3 (pull_request) Has been skipped
wai-fleet service / service · linux (pull_request) Has been skipped
WAI HTTP delivery / HTTP corpus · every patch and mutation in exactly one shard (pull_request) Has been skipped
WAI HTTP delivery / HTTP corpus · verified both ways, and the differential (pull_request) Has been skipped
wai formal verification (integer core) / kani (sound) (pull_request) Has been skipped
WAI HTTP delivery / cache rules · controls and labelled caches (pull_request) Has been skipped
wai formal verification (integer core) / kani (stage) (pull_request) Has been skipped
wai-fleet service / service · macos (pull_request) Has been skipped
wai formal verification (integer core) / kani (rans64-t2) (pull_request) Has been skipped
WAI neural decoders end-to-end / does this change touch it (pull_request) Successful in 34s
wai formal verification (integer core) / kani (stage-long) (pull_request) Has been skipped
wai formal verification (integer core) / kani (integer-core) (pull_request) Has been skipped
wai-key-proxy / proxy · linux (pull_request) Has been skipped
WAI neural decoders end-to-end / synthetic fixtures → Rust decode → reference (±4) (pull_request) Has been skipped
wai-ledger service / does this change touch it (pull_request) Successful in 39s
jouleclaw public surface must stay documented / Public-surface audit (jouleclaw-rs) (pull_request) Successful in 1m29s
WAI conformance / fast integer kernels, every x86_64 kernel set (AVX-512 silicon) (pull_request) Failing after 40s
wai-ledger service / service · linux (pull_request) Has been skipped
wai-audit collector and player integration / collector, player integration and the browser end to end · macos (pull_request) Successful in 1m51s
wai key · Windows / does this change touch it (pull_request) Successful in 42s
energy meters on real hardware / sink decode table · per-task energy and the GPU rail on macOS (pull_request) Successful in 2m45s
wai-ledger service / service · macos (pull_request) Has been skipped
joule-code conformance gate / Build + round-trip C1-C4 vectors (pull_request) Successful in 3m43s
wai-quantum on every processor / emulated · aarch64-unknown-linux-gnu (pull_request) Successful in 2m58s
energy meters on real hardware / sink decode table · RAPL on jetson-hub (NVML surveyed) (pull_request) Successful in 2m50s
wai-audit collector and player integration / collector · linux (pull_request) Successful in 2m27s
WAI neural sink gates / does this change touch it (pull_request) Successful in 23s
wai key · Windows / wai key and the toolchain's tests · windows (pull_request) Has been skipped
wai-ops-npu integer operators on neural processors / does this change touch it (pull_request) Successful in 28s
WAI breaking changes and the conformance runner / WAI breaking and conform · their tests, and the independent verifiers through wai conform · linux (pull_request) Successful in 4m3s
wai-pack / wai-pack · does this change touch it (pull_request) Successful in 1m38s
wai-ops-npu integer operators on neural processors / neural processor (framework-128gb silicon) (pull_request) Has been skipped
wai-ops-gpu integer operators on GPUs / does this change touch it (pull_request) Successful in 24s
wai-ops-npu integer operators on neural processors / builds · no device is not a pass (linux-arm64) (pull_request) Has been skipped
wai-quantum on every processor / emulated · riscv64gc-unknown-linux-gnu (pull_request) Successful in 3m40s
wai-quantum on every processor / emulated · loongarch64-unknown-linux-gnu (pull_request) Successful in 4m50s
wai-pack / wai-pack · linux (pull_request) Has been skipped
wai-ops-gpu integer operators on GPUs / builds · no adapter is not a pass (linux) (pull_request) Has been skipped
wai-quantum on every processor / emulated · armv7-unknown-linux-gnueabihf (pull_request) Successful in 9m6s
wai-pack / wai-pack · linux-arm64 (pull_request) Has been skipped
wai-ops-gpu integer operators on GPUs / Metal GPU and browser WebGPU (macos) (pull_request) Has been skipped
wai-pack / wai-pack · macos (pull_request) Has been skipped
wai-quantum CUDA member / does this change touch it (pull_request) Successful in 4m32s
wai-quantum command line / does this change touch it (pull_request) Successful in 1m45s
wai-quantum contract / does this change touch it (pull_request) Successful in 32s
wai-pack / wai-pack · independent verifier (Python) (pull_request) Has been skipped
standards workspaces build + test / macOS energy backends (pull_request) Successful in 4m29s
wai-quantum dataflow member / does this change touch it (pull_request) Successful in 2m59s
wai-pack / wai-pack · the floor through a media prober (pull_request) Has been skipped
wai-quantum on every processor / emulated · s390x-unknown-linux-gnu (pull_request) Successful in 6m44s
wai-ops integer operators / does this change touch it (pull_request) Successful in 26s
wai-pack / wai-pack · dependency licences (pull_request) Has been skipped
WAI neural sink gates / model-free refusals of the neural sink (pull_request) Has been skipped
WAI examples / WAI examples · portable · linux (pull_request) Successful in 12m45s
WAI neural sink gates / the exact JPEG-AI decoder reports its path (pinned inputs, required) (pull_request) Has been skipped
wai-quantum on every processor / emulated · powerpc64le-unknown-linux-gnu (pull_request) Successful in 6m23s
wai-quantum on every processor / emulated · powerpc64-unknown-linux-gnu (pull_request) Successful in 14m2s
wai-ops integer operators / linux-aarch64 (pull_request) Has been skipped
WAI conformance / cross-arch byte-equality · linux (pull_request) Successful in 1m51s
wai-quantum on every processor / emulated · i686-unknown-linux-gnu (pull_request) Successful in 4m0s
wai-ops integer operators / linux-x86_64 (pull_request) Has been skipped
WAI conformance / faces from keypoints under wasm32-wasip2 (wasmtime) (pull_request) Successful in 2m41s
WAI conformance / quantum core and corpus under wasm32-wasip2 (wasmtime) (pull_request) Successful in 5m21s
wai-ops integer operators / macos-arm64 (pull_request) Has been skipped
wai-quantum editors / does this change touch it (pull_request) Successful in 2m41s
wai-quantum signal processor / does this change touch it (pull_request) Successful in 1m21s
wai-ops integer operators / wasm32-wasip2 (wasmtime) (pull_request) Has been skipped
wai-quantum docs, course and locales / does this change touch it (pull_request) Successful in 1m44s
wai-ops integer operators / wasm32 under Node (pull_request) Has been skipped
WAI conformance / cargo-class corpora · macos (pull_request) Failing after 14m19s
wai-ops integer operators / independent checker (Python) (pull_request) Has been skipped
wai-quantum WebGPU member / member · DX12 and Vulkan (cbio-windows) (pull_request) Failing after 12m30s
WAI operation catalogue / the catalogue and every door · linux (pull_request) Successful in 7m18s
wai-quantum resource estimation / does this change touch it (pull_request) Successful in 3m38s
WAI energy receipts / energy receipts · macos (pull_request) Successful in 10m54s
WAI conformance / cargo-class corpora · linux (pull_request) Failing after 3m44s
WAI conformance / cross-arch byte-equality · macos (pull_request) Successful in 44s
WAI conformance / codec wrappers · fuzz smoke, text decode limits, C entry points, provenance, the semantic path (pull_request) Successful in 3m34s
wai-quantum on every processor / emulated · sparc64-unknown-linux-gnu (pull_request) Successful in 8m24s
wai-quantum other formats / does this change touch it (pull_request) Successful in 31s
wai-quantum HIP member / does this change touch it (pull_request) Successful in 34s
wai-quantum FPGA member / does this change touch it (pull_request) Successful in 38s
wai-quantum for JavaScript / does this change touch it (pull_request) Successful in 22s
wai-quantum OpenQASM reader / does this change touch it (pull_request) Successful in 27s
wai-quantum npu-cores member / does this change touch it (pull_request) Successful in 32s
wai-quantum Metal member / does this change touch it (pull_request) Successful in 35s
wai-quantum OpenCL member / does this change touch it (pull_request) Successful in 32s
wai-quantum neural-processor member / does this change touch it (pull_request) Successful in 37s
wai-quantum CUDA member / member · CUDA (thor) (pull_request) Successful in 6m43s
wai-quantum CUDA member / member · CUDA absent (linux) (pull_request) Successful in 2m58s
wai-quantum HIP member / member · HIP (framework-128gb) (pull_request) Successful in 1m31s
wai-quantum OpenCL member / member · OpenCL GPU and CPU (thor) (pull_request) Successful in 1m10s
wai-quantum CUDA member / member · CUDA (jetson-hub) (pull_request) Successful in 2m15s
wai-quantum command line / command line · macos (pull_request) Successful in 5m0s
wai-quantum dataflow member / member · dataflow device absent (macos) (pull_request) Successful in 16s
wai-quantum contract / the policy is linked, and the deprecations page reads (pull_request) Successful in 9s
wai-quantum npu-cores member / member · npu-cores, neural processor (framework-128gb silicon) (pull_request) Successful in 1m25s
wai-quantum OpenCL member / member · OpenCL GPU (framework-128gb) (pull_request) Successful in 32s
wai-quantum OpenCL member / member · OpenCL GPU and CPU (jetson-hub) (pull_request) Successful in 1m13s
wai-quantum for Python / does this change touch it (pull_request) Successful in 6m24s
wai-quantum pulse and dynamics / does this change touch it (pull_request) Successful in 6m45s
wai-quantum FPGA member / member · FPGA datapath, simulated (macos) (pull_request) Successful in 1m37s
wai-quantum docs, course and locales / the course and the command line's languages · linux (pull_request) Successful in 2m24s
wai-quantum docs, course and locales / the Studio's words in every locale · linux (pull_request) Successful in 1m58s
wai-quantum contract / API compatibility · linux (pull_request) Successful in 5m0s
wai-quantum error correction and mitigation / does this change touch it (pull_request) Successful in 1m46s
wai-quantum extension points / does this change touch it (pull_request) Successful in 1m46s
wai-quantum-qpu / does this change touch it (pull_request) Successful in 1m46s
WAI examples / WAI examples · the archive, the readiness check, the browser and Apple · macos (pull_request) Successful in 28m12s
wai-quantum service / does this change touch it (pull_request) Successful in 28s
wai-quantum service / service energy · linux packages (pull_request) Failing after 33s
wai-quantum matrix-extension member / does this change touch it (pull_request) Successful in 1m36s
wai-quantum studio and desktop / does this change touch it (pull_request) Successful in 1m34s
wai-quantum dataflow member / member · dataflow device, simulated (pci 1e52:401e) (pull_request) Successful in 2m6s
wai-quantum tensor-engine member / does this change touch it (pull_request) Successful in 1m33s
wai-quantum FPGA member / member · FPGA simulation absent (linux) (pull_request) Successful in 27s
wai-quantum editors / editors · macos (pull_request) Successful in 2m25s
wai-quantum CPU vector units / does this change touch it (pull_request) Successful in 1m13s
wai-quantum variational and algorithm library / does this change touch it (pull_request) Successful in 1m15s
wai-quantum portable tensor program / does this change touch it (pull_request) Successful in 1m18s
wai-quantum Metal member / member · Metal (macos) (pull_request) Successful in 56s
wai-quantum CPU vector units / member · vector units, avx2 and avx512 (framework-128gb silicon) (pull_request) Successful in 25s
wai-quantum contract / schemas and the committed tool lists · linux (pull_request) Successful in 8m27s
wai-quantum other formats / the set under wasm32-wasip2 (wasmtime) (pull_request) Successful in 1m55s
wai-quantum portable tensor program / tensor program · integrated GPU (framework-128gb) (pull_request) Successful in 20s
wai-quantum OpenCL member / member · OpenCL GPU (macos) (pull_request) Successful in 1m21s
wai-quantum WebGPU member / does this change touch it (pull_request) Successful in 1m19s
wai-quantum verdicts and repairs / does this change touch it (pull_request) Successful in 1m21s
wai-quantum views in agent hosts / does this change touch it (pull_request) Successful in 1m22s
wai-quantum portable tensor program / tensor program · GPUs (jetson-hub) (pull_request) Successful in 27s
wai-quantum pulse and dynamics / the same bits · macos (pull_request) Failing after 49s
WAI energy receipts / energy receipts · linux (pull_request) Successful in 23m5s
wai-sink-android native sink library / does this change touch it (pull_request) Successful in 1m3s
wai-sink-swift native sink package / does this change touch it (pull_request) Successful in 1m2s
wai-quantum dataflow member / member · dataflow device, simulated (pci 1e52:b140) (pull_request) Successful in 5m41s
WAI mbt2018_mean integer decode (regenerated vectors) / does this change touch it (pull_request) Successful in 40s
WAI Studio / does this change touch it (pull_request) Successful in 40s
wai-vector vector graphics / does this change touch it (pull_request) Successful in 39s
WAI mbt2018_mean integer decode (regenerated vectors) / regenerate mbt2018_mean integer vectors → Rust decode, required (pull_request) Has been skipped
wai-vector vector graphics / linux-aarch64 (pull_request) Has been skipped
wai-vector vector graphics / linux-x86_64 (pull_request) Has been skipped
wai-vector vector graphics / macos-arm64 (pull_request) Has been skipped
wai-vector vector graphics / wasm32-wasip2 (wasmtime) (pull_request) Has been skipped
wai-vector vector graphics / wasm32 under Node (pull_request) Has been skipped
wai-vector vector graphics / wasm32 in three browser engines (pull_request) Has been skipped
wai-vector vector graphics / fuzz, peak allocation, comparison count (pull_request) Has been skipped
wai-vector vector graphics / independent checker (Python) (pull_request) Has been skipped
wai-quantum other formats / readers, writers and the set · linux (pull_request) Successful in 4m37s
wai-web reach builds / wai-web reach · does this change touch it (pull_request) Successful in 49s
wai-quantum-qpu / credentials in the keychain (macos) (pull_request) Successful in 19s
wai-quantum for Python / python · macos (pull_request) Successful in 3m46s
wai-web wasm32 / does this change touch it (pull_request) Successful in 48s
wai-quantum OpenQASM reader / corpus under wasm32-wasip2 (wasmtime) (pull_request) Successful in 46s
wai-quantum for JavaScript / javascript · linux (pull_request) Successful in 4m15s
wai-quantum matrix-extension member / member · matrix extension absent (macos) (pull_request) Successful in 23s
wai-quantum resource estimation / estimation and calibration · linux, release (pull_request) Successful in 7m10s
wai-quantum Metal member / member · Metal absent (linux) (pull_request) Successful in 41s
wai-quantum OpenCL member / member · OpenCL absent (linux) (pull_request) Successful in 45s
wai-quantum OpenQASM reader / reader and corpus · linux (pull_request) Successful in 3m38s
wai-quantum neural-processor member / member · neural processor absent (linux) (pull_request) Successful in 25s
wai-quantum editors / editors · linux (pull_request) Successful in 4m19s
wai-quantum service / service · macos (pull_request) Successful in 3m43s
wai-quantum CPU vector units / member · vector unit absent (macos) (pull_request) Successful in 16s
wai-quantum portable tensor program / tensor program · Metal and the arm64 CPU (macos) (pull_request) Successful in 21s
wai-quantum neural-processor member / member · neural processor (macos) (pull_request) Successful in 9m31s
wai-quantum studio and desktop / desktop app · windows (pull_request) Successful in 9m17s
wai-quantum WebGPU member / member · browser WebGPU (macos) (pull_request) Successful in 1m48s
wai-quantum pulse and dynamics / reader, simulator and pulse jobs under wasm32-wasip2 (wasmtime) (pull_request) Successful in 1m13s
wai-quantum-qpu / clients against their contracts (linux) (pull_request) Successful in 55s
wai-quantum studio and desktop / desktop app · macos (pull_request) Successful in 6m9s
wai-quantum for Python / python · linux (pull_request) Successful in 4m26s
wai-quantum pulse and dynamics / reader, simulator and pulse jobs · linux, release (pull_request) Successful in 2m27s
wai-quantum WebGPU member / member · integrated GPU, Vulkan (framework-128gb) (pull_request) Successful in 12m13s
wai-quantum WebGPU member / member · Metal (macos) (pull_request) Successful in 5m47s
wai-quantum extension points / the registry under wasm32-wasip2 (wasmtime) (pull_request) Successful in 1m32s
wai-quantum extension points / the registry and the example · linux (pull_request) Successful in 3m23s
wai-quantum matrix-extension member / member · matrix extension, emulated (aarch64 Linux) (pull_request) Successful in 57s
wai-quantum error correction and mitigation / codes, decoders, texts and mitigation · linux, release (pull_request) Successful in 4m5s
wai-sink-android native sink library / every ABI, the AAR, and the instrumented tests in a headless emulator · macos (pull_request) Successful in 7m22s
wai-quantum CPU vector units / member · vector unit, rvv 1024-bit (riscv64, emulated) (pull_request) Successful in 26s
wai-quantum CPU vector units / member · vector unit, sve 128-bit (aarch64, emulated) (pull_request) Successful in 35s
wai-quantum CPU vector units / member · vector unit, rvv 128-bit (riscv64, emulated) (pull_request) Successful in 37s
wai-quantum service / service · linux (pull_request) Successful in 5m59s
wai-quantum CPU vector units / member · vector unit, sve 2048-bit (aarch64, emulated) (pull_request) Successful in 41s
wai-quantum studio and desktop / studio · browser (pull_request) Successful in 3m50s
wai-quantum CPU vector units / member · vector unit, avx2 (x86_64 silicon) (pull_request) Successful in 39s
wai-quantum CPU vector units / member · vector unit, sve 512-bit (aarch64, emulated) (pull_request) Successful in 37s
wai-quantum command line / command line · linux (pull_request) Successful in 34m23s
wai-quantum portable tensor program / tensor program · CPU, mutants, GPU builds (pull_request) Successful in 1m24s
wai-quantum signal processor / processor and member · signal processor, emulated (pull_request) Successful in 26m23s
wai-quantum variational and algorithm library / parameters, gradients, optimisers, VQE, QAOA and builders · linux, release (pull_request) Successful in 2m57s
wai-quantum verdicts and repairs / the intent set and the verdict under wasm32-wasip2 (wasmtime) (pull_request) Successful in 2m3s
wai-quantum WebGPU member / member · GPU, Vulkan (jetson-hub) (pull_request) Successful in 21m47s
wai-quantum studio and desktop / desktop app · linux (pull_request) Successful in 8m17s
wai-quantum WebGPU member / member · software Vulkan (linux) (pull_request) Successful in 3m14s
wai-quantum verdicts and repairs / verdicts, repairs and the intent set · linux (pull_request) Successful in 3m18s
wai-quantum docs, course and locales / every command and snippet in the docs · linux (pull_request) Successful in 32m58s
wai-quantum WebGPU member / shader checks · browser build · wasip2 inertness (pull_request) Successful in 5m12s
wai-quantum tensor-engine member / member · tensor engine, the kernel toolchain's simulator (linux) (pull_request) Successful in 9m6s
wai-quantum views in agent hosts / views · a scripted host (pull_request) Successful in 4m50s
WAI Studio / the catalogue's actions, the unit tests and the core · linux (pull_request) Successful in 1m1s
WAI Studio / Studio in Chromium and Firefox · macos (pull_request) Successful in 15m17s
wai-quantum WebGPU member / member · GPU, Vulkan (thor) (pull_request) Successful in 27m25s
wai-quantum views in agent hosts / views · the page and its engine (pull_request) Successful in 6m56s
wai-web reach builds / wai-web reach builds · the package of record, every output as recorded (pull_request) Successful in 2m54s
wai-sink-swift native sink package / libwai slices, desktop tests, simulator tests · macos (pull_request) Successful in 22m48s
wai-web reach builds / wai-web reach builds · this tree's wai-web, every rung on its engine line (pull_request) Successful in 10m34s
WAI Studio / Studio in WebKit · linux (pull_request) Successful in 15m16s
wai-web wasm32 / wai-web wasm32 build · corpus, menu and writers (pull_request) Failing after 6m33s
repository checks / lockfiles, advisories, tests in CI, workflow hygiene, spec and section references, public text (pull_request) Successful in 2m20s
joule-code conformance gate / joule-moq-relay, every target (pull_request) Successful in 4m27s
joule-code conformance gate / joule-moq-ingest, every target (pull_request) Successful in 7m12s
standards workspaces build + test / joule-code-rs (joule-code/joule-code-rs, joule-code-rs, linux-arm64, true) (pull_request) Failing after 7m59s
WAI examples / WAI examples · android-app · linux-arm64 (pull_request) Successful in 12m12s
WAI conformance / v2 vocabulary · manifests validate as stated (pull_request) Successful in 1m7s
WAI conformance / delivery telemetry · CMCD and CMSD against an independent library (pull_request) Successful in 1m22s
WAI conformance / cross-arch byte-equality · linux-arm64 (pull_request) Successful in 49s
WAI conformance / cargo-class corpora · linux-arm64 (pull_request) Failing after 5m57s
WAI conformance / C2PA manifest emission · signed, read back, validated (pull_request) Successful in 2m59s
wai-quantum HIP member / member · HIP absent (linux-arm64) (pull_request) Successful in 1m23s
WAI conformance / independent verifiers · claims, JWP, key discovery and integer payloads (Python) (pull_request) Failing after 17m44s
WAI conformance / each feature of the independent verifiers' steps compiles alone (pull_request) Successful in 21m50s
wai-quantum npu-cores member / member · npu-cores absent (linux-arm64) (pull_request) Successful in 1m12s
wai-quantum pulse and dynamics / the same bits · linux-arm64 (pull_request) Failing after 1m36s
WAI energy receipts / energy receipts · linux-arm64 (pull_request) Successful in 31m15s
wai-quantum extension points / the registry and the example · linux-arm64 (pull_request) Successful in 4m40s
wai-quantum tensor-engine member / member · tensor engine absent (linux-arm64) (pull_request) Successful in 53s
wai-quantum variational and algorithm library / parameters, gradients, optimisers, VQE, QAOA and builders · linux-arm64, release (pull_request) Successful in 2m53s
wai-sink-android native sink library / the JNI layer and the platform-free half on the host JVM · linux-arm64 (pull_request) Successful in 4m30s
wai-quantum: the provider template's run reads as a simulator's
Main now gives a simulator's result the class `simulated` (the providers
extension, section 8.1); the template's test still held it to `measured`
and failed on the merge.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 23:44:50 -05:00

61 lines
2.8 KiB
Shell

#!/usr/bin/env bash
# provider/test.sh: the provider template through the command line, as a person uses it.
#
# bash provider/test.sh path/to/wai-quantum path/to/python
#
# It adds the template as a `process` provider, holds it to the protocol's conformance vectors
# (`providers test`), runs a program on it with `run --provider`, and verifies the receipt the
# command line seals. Everything is in a directory of its own, removed at the end: no key, no
# registry and no credential of the person's is touched.
set -euo pipefail
W="$1"
PY="$2"
case "$W" in */*) W="$(cd "$(dirname "$W")" && pwd)/$(basename "$W")" ;; esac
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
tmp="$(mktemp -d)"
trap 'rm -rf "$tmp"' EXIT
export XDG_CONFIG_HOME="$tmp/config" WAI_QUANTUM_PROVIDERS="$tmp/providers.json" WAI_QUANTUM_CREDENTIALS=file
unset WAI_QUANTUM_KEY
fail() { echo "provider: $*" >&2; exit 1; }
"$W" providers add sim --kind process -- "$PY" -I "$HERE/seeded_statevector_provider.py" > "$tmp/add.txt"
"$W" providers describe sim > "$tmp/describe.txt" || fail "describe failed: $(cat "$tmp/describe.txt")"
if ! "$W" providers test sim > "$tmp/test.txt" 2>&1; then
cat "$tmp/test.txt" >&2
fail "the protocol's conformance vectors failed"
fi
grep -qE '^ *[1-9][0-9]* passed, 0 failed' "$tmp/test.txt" || { cat "$tmp/test.txt" >&2; fail "a vector failed, or none ran"; }
echo "provider: conformance vectors passed"
sed 's/^/ /' "$tmp/test.txt" | head -40
cat > "$tmp/ghz.qasm" <<'EOF'
OPENQASM 3.0;
include "stdgates.inc";
qubit[3] q;
bit[3] c;
h q[0];
cx q[0], q[1];
cx q[1], q[2];
t q[2];
c = measure q;
EOF
"$W" run "$tmp/ghz.qasm" --provider sim --shots 4000 --json > "$tmp/job.json" || fail "run --provider failed: $(head -c 2000 "$tmp/job.json")"
"$W" verify "$tmp/job.json" > "$tmp/verify.txt" || fail "the receipt did not verify: $(cat "$tmp/verify.txt")"
grep -q VALID "$tmp/verify.txt" || fail "verify did not say VALID"
"$PY" -I - "$tmp/job.json" <<'EOF'
import json, sys
j = json.load(open(sys.argv[1]))
r = j["result"]
counts = r["counts"]
assert set(counts) <= {"000", "111"}, counts
assert sum(counts.values()) == 4000, counts
assert r["accuracy"]["class"] == "simulated", r["accuracy"]
assert r["provider"]["provenance"].startswith("simulator"), r["provider"]
ideal = r.get("ideal") or {}
tvd = ideal.get("tvd", ideal.get("total_variation"))
print("provider: run --provider sealed %s; counts %s; ideal %s" % (r["method"], counts, json.dumps(ideal)[:200]))
EOF
# The same job twice gives the same counts: the device is seeded.
"$W" run "$tmp/ghz.qasm" --provider sim --shots 4000 --json > "$tmp/job2.json"
"$PY" -I -c 'import json,sys; a,b=(json.load(open(p))["result"]["counts"] for p in sys.argv[1:]); assert a == b, (a, b); print("provider: seeded, the same counts twice")' "$tmp/job.json" "$tmp/job2.json"
echo "provider: PASS"