proofroot
Language-neutral trust core for reproducible simulation. Zero dependencies, zero domain semantics.
Install and use
Requires Python 3.12 or newer.
python -m pip install proofroot
import random
from proofroot import EVIDENCECORE_RNG_V1, RngBank, canonical_bytes
bank = RngBank(
root_seed=42,
names=["mutation", "selection"],
rng_strategy=EVIDENCECORE_RNG_V1,
stream_factory=random.Random,
)
mutation_rng = bank.rng_stream("mutation")
print(bank.stream_seeds())
print(mutation_rng.random())
print(canonical_bytes({"answer": 42}))
Everything every simulation community needs and none of what any single one
wants to own: named RNG stream seed derivation (evidencecore-rng-v1), bank
semantics invariants (declared streams, lowercase normalization, forward-only),
run phases, evidence tier vocabulary (exploration / confirmatory / unknown —
missing fields default to unknown, never to confirmatory), and a canonical
serialization spec (RFC 8785 structural rules; IEEE754 bit-pattern float
comparison) with cross-language test vectors.
Charter boundary (frozen): the cross-language contract ends at the derived seed. Seed derivation is byte-defined over SHA-256 and portable; random sequences depend on the host generator (Julia's Xoshiro, Python's choice) and are recorded in the run manifest, not standardized.
Oracle: EvidenceCore.jl in the ParaLife
monorepo is the frozen oracle generating this package's cross-language test
vectors. ParaLife's legacy compatibility layers (legacy encodings, UPPER-CASE
phase spellings) are deliberately not ported here.
Design rationale: proposal §5.10.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file proofroot-0.1.1.tar.gz.
File metadata
- Download URL: proofroot-0.1.1.tar.gz
- Upload date:
- Size: 18.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f7d67b9f6c4e23e5efb81e26eb99b145f423ebdeeaf7baa140c436365e64ef9
|
|
| MD5 |
f945064943a0803350e3315faee83712
|
|
| BLAKE2b-256 |
cfeca9175b384f60c64a4e37e31dbac1fb6cc3afb0dec7ee40387fdd2b745a7f
|
Provenance
The following attestation bundles were made for proofroot-0.1.1.tar.gz:
Publisher:
release.yml on hzshen88/newlife
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
proofroot-0.1.1.tar.gz -
Subject digest:
8f7d67b9f6c4e23e5efb81e26eb99b145f423ebdeeaf7baa140c436365e64ef9 - Sigstore transparency entry: 2733456193
- Sigstore integration time:
-
Permalink:
hzshen88/newlife@7625f8b6d92c49cfd671beb0f29763510dba4b26 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/hzshen88
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7625f8b6d92c49cfd671beb0f29763510dba4b26 -
Trigger Event:
push
-
Statement type:
File details
Details for the file proofroot-0.1.1-py3-none-any.whl.
File metadata
- Download URL: proofroot-0.1.1-py3-none-any.whl
- Upload date:
- Size: 15.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14df1acdb9749d6749cb49545e9c3852fe793cc87d4dbaeea117cff86243d342
|
|
| MD5 |
57420a0240694ae2739e53b165f59281
|
|
| BLAKE2b-256 |
7988120d38427978bee88a2928b5de88406198c8f42745ac124d26d920470bb3
|
Provenance
The following attestation bundles were made for proofroot-0.1.1-py3-none-any.whl:
Publisher:
release.yml on hzshen88/newlife
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
proofroot-0.1.1-py3-none-any.whl -
Subject digest:
14df1acdb9749d6749cb49545e9c3852fe793cc87d4dbaeea117cff86243d342 - Sigstore transparency entry: 2733456593
- Sigstore integration time:
-
Permalink:
hzshen88/newlife@7625f8b6d92c49cfd671beb0f29763510dba4b26 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/hzshen88
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7625f8b6d92c49cfd671beb0f29763510dba4b26 -
Trigger Event:
push
-
Statement type: