Skip to main content

Reproducibility utilities (random state, timestamps, hashing)

Project description

scitex-repro

PyPI Python Tests Install Test Coverage Docs License: AGPL v3

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.3.tar.gz (44.6 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.3-py3-none-any.whl (27.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scitex_repro-0.1.3.tar.gz
  • Upload date:
  • Size: 44.6 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.3.tar.gz
Algorithm Hash digest
SHA256 9f12db494ceb3917c07f2f1343a2208f752f5bc8b8b908a401adc987d5a42caa
MD5 b640d608420ef8bfcee032973f2d5882
BLAKE2b-256 f82ea8832e298232a14b5ee009522fd74609da37472d8ee98e441c3286d5eea3

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitex_repro-0.1.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: scitex_repro-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 27.2 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 52901c4b1adc78f3d4b7890ed61a5d2920661ee17d210fddff3e44ce67f679c8
MD5 97a99d30e3aa274db2d12655a7368ab3
BLAKE2b-256 4e507276022c17b73da790a2d3e8df54db31082fc64c47d2a100d4a003b1718f

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitex_repro-0.1.3-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