onetrace-verify
The reference verifier for stage-receipt records, packaged as its own distribution. Standard
library only -- no dependency on onetrace, or on anything else.
That independence is not a packaging convenience. onetrace's own README states plainly that
the verifier does not trust the SDK that emitted a record -- a dependency edge from this package
to onetrace would contradict that sentence. A stranger must be able to install this alone and
check a record produced by anything.
Install
pip install onetrace-verify
Use
onetrace-verify <run-folder>
or, pointed at a manifest directly:
onetrace-verify <run-folder>/MANIFEST.json
Every outcome is PASS, FAIL, or NOT-RUN-with-a-reason -- never silence. Exit status 0 means every check that ran passed; non-zero means at least one failed.
What this is
This is verify.py and canonicalize.py from the onetrace project's own bench
(verifier/), repackaged under this distribution's own name and entry point -- not a rewrite,
not a copy that can drift. The check this distribution's own build verifies: installed alone,
in an environment with no onetrace present, it verifies the golden example run and refuses
every rejection vector, row for row identical to running verifier/verify.py directly from the
source repository.
What this package does not claim
This sdist ships no test suite of its own. The behaviour that matters most for a package
this small and this static -- that the vendored verify.py/canonicalize.py stay byte-identical
to their bench originals, and that an unknown manifest-level format is refused rather than
silently accepted -- is exercised thoroughly from onetrace's own test suite, which imports and
runs this code directly. A separate, parallel test harness inside this package's own sdist would
duplicate that coverage without adding an independent check: both suites would be asserting the
same thing against the same file. If that duplication ever stops being true -- if this package
diverges from onetrace's own tests of it, or ships logic onetrace's suite does not exercise --
its own tests belong here at that point, not before.
Release files for onetrace-verify 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| onetrace_verify-0.1.0.tar.gz | 9.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| onetrace_verify-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.0 kB
Release files / onetrace_verify-0.1.0.tar.gz
| Download URL | onetrace_verify-0.1.0.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
62da7bb9b36de6e58d4bf4641dc1445509ad487d91f0f9be4b0ed70953e7558a
|
|
BLAKE2b-256 checksum How to use checksums |
d68229d5fe567940b415466ca2875a976d09e2e96f204ff670d489931e7b51fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / onetrace_verify-0.1.0-py3-none-any.whl
| Download URL | onetrace_verify-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7fadc58ce3e08c4660b33164ce80b422515a4820f160a12b8a404f2af75d0ec9
|
|
BLAKE2b-256 checksum How to use checksums |
3a3fd0afc4fc0428ce10a64ae2c197c92bbd8ab0588fa3aab03c6ac76e0a0584
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|