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.1.tar.gz (18.3 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.1-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

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

Hashes for proofroot-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8f7d67b9f6c4e23e5efb81e26eb99b145f423ebdeeaf7baa140c436365e64ef9
MD5 f945064943a0803350e3315faee83712
BLAKE2b-256 cfeca9175b384f60c64a4e37e31dbac1fb6cc3afb0dec7ee40387fdd2b745a7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for proofroot-0.1.1.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.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

Hashes for proofroot-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 14df1acdb9749d6749cb49545e9c3852fe793cc87d4dbaeea117cff86243d342
MD5 57420a0240694ae2739e53b165f59281
BLAKE2b-256 7988120d38427978bee88a2928b5de88406198c8f42745ac124d26d920470bb3

See more details on using hashes here.

Provenance

The following attestation bundles were made for proofroot-0.1.1-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

This release

0.1.1 This release

2 files

0.1.0

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