Test report
Machine-generated by npm run proof and copied here by build.mjs. Raw logs are in test-results/.
Run summary
| Field | Value |
|---|---|
| Version | 0.2.1 |
| Node / platform | v24.15.0 · win32/x64 |
| Recorded | 2026-11-17T17:16:57.611Z |
| Total tests | 86 |
| Passed | 82 |
| Failed | 0 |
| Skipped | 4 |
| Parser fuzz inputs | 2000 |
| Unexpected parser crashes | 0 |
Coverage by area
| Area | Test file | What is asserted |
|---|---|---|
| Benchmark | benchmark.test.mjs | real samples, sealed hash, NOT_MEASURED for energy/carbon/peak memory, input determinism, comparability guards, bounds |
| CLI | cli.test.mjs | doctor, profile, check, plan, benchmark, verify, render, exit codes |
| Audit | audit.test.mjs | JSON+MD+HTML+checksums written, never GO_CANDIDATE, BLOCKED exit 1, ONNX hash recorded, hostile text escaped |
| Compatibility | compat.test.mjs | operator, format, precision, memory, unknown states, manifest validation |
| ONNX | onnx.test.mjs | metadata extraction, truncated/malformed/oversized/duplicate input, UTF-8, symlink, mutation fuzz |
| Security | security.test.mjs | tamper detection, JSON limits, HTML escaping, installer rules, server auth/traversal/symlink |
Honest notes
- Skipped tests are the four symlink-refusal tests. Windows without Developer Mode forbids creating symlinks, so the test cannot construct its attack input; it skips explicitly. These run on Linux and macOS CI.
- One machine, one run. See GitHub Actions for the OS/Node matrix.
- Defect found by this process: the ONNX reader threw a
TypeErroron invalid UTF-8 (205 of 2000 fuzz inputs). Fixed in 0.2.0 and covered by a regression test. - Tests are hermetic: no downloads, no network.