.npz QA Fixtures
AI & Model Weights
CC0 Public Domain · CI/CD Safe
Sample .npz (NPZ) Test Files & Edge Cases
Deterministic NumPy Zipped Array Archive fixtures engineered for automated unit tests, parser fuzzing, and upload validation pipelines. Pull directly in GitHub Actions with immutable SHA-256 verification.
minimalexpect: valid
minimal-weights.npz
Real np.savez output containing weights.npy (4x8 float32) and bias.npy (8 float32).
SHA-256: 5df985f2575c4c4a1f58f21970bd74830b277688976534283c269be2ccfb2637
Exact: 668 bytes
curl -fsSL https://fileformat.co/fixtures/v1/npz/minimal-weights.npz -o minimal-weights.npz \
&& echo "5df985f2575c4c4a1f58f21970bd74830b277688976534283c269be2ccfb2637 minimal-weights.npz" | shasum -a 256 -crealisticexpect: valid
checkpoint-deflated.npz
Real np.savez_compressed bundle with float32, float64, and int32 arrays.
SHA-256: 1da30aadf475322bd6b9df64d90d6fda4f4e600251c6c542bcca7c2a0d8a39ca
Exact: 1,151 bytes
curl -fsSL https://fileformat.co/fixtures/v1/npz/checkpoint-deflated.npz -o checkpoint-deflated.npz \
&& echo "1da30aadf475322bd6b9df64d90d6fda4f4e600251c6c542bcca7c2a0d8a39ca checkpoint-deflated.npz" | shasum -a 256 -cedge-caseTruncated ZIP EOCDexpect: parser_error
truncated-eocd.npz
Valid PK local headers but missing complete EOCD — np.load on the archive must raise.
SHA-256: 3d8d77b9c97b839f497301ec2cbfb8fd34e7c19ae6e0f7ddee51c864c7eb05f5
Exact: 654 bytes
curl -fsSL https://fileformat.co/fixtures/v1/npz/truncated-eocd.npz -o truncated-eocd.npz \
&& echo "3d8d77b9c97b839f497301ec2cbfb8fd34e7c19ae6e0f7ddee51c864c7eb05f5 truncated-eocd.npz" | shasum -a 256 -cSafe-by-Design Client-Side Synthesizer
Zero Upload · Generated in RAMIn-Browser Edge-Case & Malformed Fixture Mutator
Need negative test fixtures for parser fuzzing or upload gateway validation? Mutate minimal-weights.npz directly in your browser without hosting unsafe payloads on public URLs.
Default Fixture: minimal-weights.npz
Tests graceful EOF / footer corruption handling without process panic or OOM.