Skip to main content

Reproducibility utilities (random state, timestamps, hashing)

Project description

scitex-repro

Reproducibility utilities for SciTeX: random state management, ID generation, timestamps, and array hashing.

Interfaces: Python ⭐⭐⭐ (primary) · CLI — · MCP — · Skills ⭐⭐ · Hook — · HTTP —

Problem and Solution

# Problem Solution
1 "Seed everything" requires 5+ lines of boilerplate -- random.seed() + np.random.seed() + torch.manual_seed() + torch.cuda.manual_seed_all() + tf.random.set_seed() + os.environ[PYTHONHASHSEED] RandomStateManager(seed=42) -- one call seeds every framework detected in the env; .reset() rewinds mid-experiment
2 Experiment run directories collide -- two parallel runs overwrite each other gen_ID() + hash_array() -- unique directory names like 20260423_2155_abc12345; deterministic array fingerprints for integrity checks

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scitex_repro-0.1.2.tar.gz (40.2 kB view details)

Uploaded Source

Built Distribution

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

scitex_repro-0.1.2-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

Details for the file scitex_repro-0.1.2.tar.gz.

File metadata

  • Download URL: scitex_repro-0.1.2.tar.gz
  • Upload date:
  • Size: 40.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scitex_repro-0.1.2.tar.gz
Algorithm Hash digest
SHA256 337eca00980bf87114dcaaf09ba5100320b752cf65bb35a701fb1561dd64cdae
MD5 e15684c01b477da0381a16b326fbdb15
BLAKE2b-256 f6d4206c9e74c892a8428961ca1920cd513166650ed246271e86eff4a9098860

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitex_repro-0.1.2.tar.gz:

Publisher: publish-pypi.yml on ywatanabe1989/scitex-repro

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

File details

Details for the file scitex_repro-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: scitex_repro-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 26.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scitex_repro-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 85e656af0ed1e6b4b0cc6a81bc6bfbd8b539e33cecfe8ca61da215bc5ba96b26
MD5 a9ea85186d64448cd139dea622b9bcad
BLAKE2b-256 d66dee3b9fd558b1b57fc0d19e88f42d9e51e21df868f1536a18d9325d3c4576

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitex_repro-0.1.2-py3-none-any.whl:

Publisher: publish-pypi.yml on ywatanabe1989/scitex-repro

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page