Skip to main content

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

proofroot-0.1.0.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

proofroot-0.1.0-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file proofroot-0.1.0.tar.gz.

File metadata

  • Download URL: proofroot-0.1.0.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for proofroot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bb825b13cbb42e17f7059b7828ca26ddc992d166e072765670e1cc65bd2b6648
MD5 753a588db19b88395fa101555a0e7d21
BLAKE2b-256 edae7579d46dd6cb6d8ae2e7e88f5f56ef37207f3b12cf2d55c1299893ae44ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for proofroot-0.1.0.tar.gz:

Publisher: release.yml on hzshen88/newlife

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file proofroot-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: proofroot-0.1.0-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

Hashes for proofroot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 325874da319560dc2fae79d2ea49199b0bce4f3e520c58fa6a5bff42c05b6225
MD5 8cae4722803c72137a230e1523c8e694
BLAKE2b-256 701fb81e40531ad36ea282dc53047ef5054011e1d214ab89e67f76a636958d5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for proofroot-0.1.0-py3-none-any.whl:

Publisher: release.yml on hzshen88/newlife

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.1

2 files

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page