Skip to main content

veridist

English | فارسی | Deutsch

Status

veridist 1.0.0 is an evidence-backed public contract release. It specifies and tests bounded delivery, replayability, pass budgets, transactional retry, checkpoint compatibility, typed failures, execution outcomes, and redacted provenance.

This build includes fixed-location Exponential, Weibull-minimum, and Lognormal MLE cells for exact and independently right-censored lifetimes. They provide point estimates when finite solutions exist and typed failures otherwise. The uncensored exponential cell also has refit Monte Carlo KS, AD, and CvM goodness-of-fit, AIC/BIC, calibration summaries, and adequacy-gated selection. Inference is restricted to that declared cell and requires a caller-owned NumPy generator. Its public CSV path is strict: UTF-8 CSV with exactly time,event_observed, event token 1, and right-censoring token 0. It executes one iterator pass with a declared logical retained-payload chunk budget and returns a closed, typed execution result. This is not a generic CSV reader or a portable RSS, throughput, cancellation, retry, checkpoint, or broad out-of-core claim. Retained evidence establishes bounded internal payload only for the measured 10k/100k/1m by 32KiB/64KiB/128KiB matrix; it does not establish a general big-data or high-throughput capability.

IterableDataSource is the reusable public stream adapter for caller-owned chunk iterables. Its immutable metadata explicitly declares one-pass or replayable acquisition: a single-pass source fails with a typed pass-budget error if acquired twice, while a replayable source requires an iterator factory. BoundedChunkBuffer charges queued and consumer-held chunks until BufferedChunk.release(); callers must release received chunks, normally in finally. The only shipped file adapter remains the strict CSV lifetime adapter—this does not add generic CSV, Parquet, Arrow, dataframe, database, or broad out-of-core adapters.

For a sequential pure reducer, veridist.engine.SQLiteCheckpointStore provides durable local checkpoint state with generation-based compare-and-swap and cross-process SQLite locking. It is limited to one host and a local filesystem; fit_exponential_checkpointed_csv supports explicit source-revision-bound resume for the strict lifetime CSV path.

The separate scalar surface exposes immutable FAMILY_REGISTRY metadata for normal, gamma, Weibull-minimum, lognormal, and right-Gumbel; scalar evaluate_log_density, CDF, survival, quantile, and caller-owned RNG sampling operations; and exact-state reduce_log_likelihood_chunks. These operations are scalar and the fit/inference capability matrix remains narrower than the operation registry. The reducer represents successful binary64 terms exactly and rounds the final total once; its unsigned-64 count cap implies a 2162-bit exact-total bound. Its retained 10k/100k/1m evidence is scoped to tested normal streams.

Candidate scale measurement is deliberately manual: the veridist-scale-evidence workflow first binds a clean, full candidate SHA and runs the evidence contracts, then measures the public iterable likelihood and strict CSV/exponential paths on Linux and Windows. It retains artifacts only after their own fail-closed SHA and schema validation. Merely having this workflow, or a historical artifact, is not evidence for a new candidate and is not a throughput or RSS claim.

Install an evaluation build

Install from the nested source project after cloning the repository:

git clone https://github.com/alisadeghiaghili/veridist.git
cd veridist/python
python -m pip install .

Or install a wheel that you built or obtained from a specific verified run:

python -m pip install /path/to/veridist-1.0.0-py3-none-any.whl

The project does not direct users to install an unreleased package name from a public index.

Try the experimental vertical

from pathlib import Path
from tempfile import TemporaryDirectory
from veridist import CsvLifetimeLimits, CsvLifetimeSchema, PublicSourceId, fit_exponential_csv
from veridist.families import ExponentialFitSuccess

with TemporaryDirectory() as directory:
    path = Path(directory) / "lifetimes.csv"
    path.write_text("time,event_observed\n1,1\n1,0\n", encoding="utf-8")
    fit = fit_exponential_csv(
        path, schema=CsvLifetimeSchema("time", "event_observed"),
        source_id=PublicSourceId("src_0123456789abcdef0123456789abcdef"),
        limits=CsvLifetimeLimits(32768, 32768),
    ).fit
assert isinstance(fit, ExponentialFitSuccess)
assert fit.rate == 0.5
assert fit.inference == "not_provided"
assert fit.censoring_assumption == "independent_right_censoring"

See the documentation toolchain and the repository's evidence ledger for implemented checks and explicit limits.

License

BUSL-1.1 with an Apache-2.0 additional-use grant for personal, non-commercial use; see LICENSE.

Download files

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

Source Distribution

veridist-1.0.0.tar.gz (68.3 kB view details)

Uploaded Source

Built Distribution

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

veridist-1.0.0-py3-none-any.whl (76.1 kB view details)

Uploaded Python 3

File details

Details for the file veridist-1.0.0.tar.gz.

File metadata

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

File hashes

Hashes for veridist-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5e3ed7fef71bcce35856437da531b90b59d9a5478baaa2ce594b22bcc044706b
MD5 003d6b269625b6fc2fa9f75886ed4f3c
BLAKE2b-256 88ec1658a804b05ace2153fbb747f053f1f41c70f4b624faa8d9373ef590ce63

See more details on using hashes here.

Provenance

The following attestation bundles were made for veridist-1.0.0.tar.gz:

Publisher: pypi-publish.yml on alisadeghiaghili/veridist

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

File details

Details for the file veridist-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: veridist-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 76.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for veridist-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16d77a602a5410b4444909f786f40eb9d2ed1916d06f2daba5751b508191130d
MD5 acfd0d580722fd5d7293afe6040eed96
BLAKE2b-256 dd35d06c4997b9518be08c3b8e83a3a380f84d9f0dbdb0c37ac49a78e7bcacd2

See more details on using hashes here.

Provenance

The following attestation bundles were made for veridist-1.0.0-py3-none-any.whl:

Publisher: pypi-publish.yml on alisadeghiaghili/veridist

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

Release history Release notifications | RSS feed

1.0.1

2 files

This release

1.0.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