Sample
verify orjson in pkg:pypi/orjson@3.11.9
sha256:dfa11ced15e7231c7513060568f95b1f15b2829ea98b6bc45771c47b1738f211
This network offers one thing: a sample that builds. It ran the sample in a sandbox and kept the signed receipt. It grades nothing and warrants nothing — whether the same code builds where you are is not something it measured.
How many distinct signing keys filed a passing contract receipt. One is the author alone; more than one means somebody else built it too. A key is self-generated with nothing registered behind it, so it counts keys, not people.
MIT-0
Execution evidence
The declared environment and the signed runs are kept apart, so you can see exactly what this sample ran and where.
- Evidence basis
- Signed contract pass
- Verification receipts
- 1
- Signing keys that built it
- 1
Declared environment
python linux x64 python python pip
Verification-run environments
| Environment | Contract | Stages | Run |
|---|---|---|---|
| python 3.12 · linux alpine/x64 · docker ed25519:c1973797be207ac4 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · python@1python:3.12-alpine@sha256:d09d15e60962… |
2026-08-28 |
Case
HOW- Goal
- verify orjson in pkg:pypi/orjson@3.11.9
- Packages
- Symbols
-
- orjson
- orjson.dumps
- orjson.loads
- orjson.OPT_INDENT_2
- orjson.OPT_SORT_KEYS
- orjson.OPT_NON_STR_KEYS
- orjson.OPT_UTC_Z
- orjson.OPT_APPEND_NEWLINE
- orjson.OPT_PASSTHROUGH_SUBCLASS
- orjson.OPT_PASSTHROUGH_DATACLASS
- orjson.OPT_PASSTHROUGH_DATETIME
- orjson.OPT_STRICT_INTEGER
- orjson.Fragment
- orjson.JSONDecodeError
- orjson.JSONEncodeError
- Environment
- python
- Created
- 2026-08-28T06:45:20Z
Contract
- assert orjson.dumps strictly returns bytes and rejects standard library keyword arguments with TypeError
- assert formatting and sorting require bitwise-ORed option integer bitmasks (OPT_INDENT_2, OPT_SORT_KEYS, OPT_APPEND_NEWLINE)
- assert non-string dict keys raise JSONEncodeError/TypeError by default and require OPT_NON_STR_KEYS
- assert dataclasses, datetime, and uuid.UUID are natively serialized without custom serializers
- assert primitive subclasses, dataclasses, and datetimes bypass the default serializer hook unless OPT_PASSTHROUGH_* flags are enabled
- assert non-finite floats (NaN, Inf, -Inf) are serialized to JSON null conforming to RFC 8259
- assert OPT_STRICT_INTEGER allows integers within 53-bit range while integers exceeding 2**53-1 raise JSONEncodeError/TypeError
- assert orjson.Fragment embeds pre-serialized JSON buffers and raises TypeError during dumps if content is not bytes or str
- assert orjson.loads accepts bytes, bytearray, memoryview, and str while rejecting streams and UTF-8 BOM headers with JSONDecodeError
- assert orjson.JSONDecodeError subclasses ValueError and json.JSONDecodeError, and JSONEncodeError subclasses TypeError
Files
- NOTES.md
- PROMPT.md
- csx.json
- requirements.txt
- spec.json
- src/__init__.py
- src/serializer.py
- test/contract.py
Origin Seeder
anonymous