veridist
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e3ed7fef71bcce35856437da531b90b59d9a5478baaa2ce594b22bcc044706b
|
|
| MD5 |
003d6b269625b6fc2fa9f75886ed4f3c
|
|
| BLAKE2b-256 |
88ec1658a804b05ace2153fbb747f053f1f41c70f4b624faa8d9373ef590ce63
|
Provenance
The following attestation bundles were made for veridist-1.0.0.tar.gz:
Publisher:
pypi-publish.yml on alisadeghiaghili/veridist
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
veridist-1.0.0.tar.gz -
Subject digest:
5e3ed7fef71bcce35856437da531b90b59d9a5478baaa2ce594b22bcc044706b - Sigstore transparency entry: 2797916630
- Sigstore integration time:
-
Permalink:
alisadeghiaghili/veridist@c9d390fdffe86bc862d17e155e29567f2bdfa070 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/alisadeghiaghili
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@c9d390fdffe86bc862d17e155e29567f2bdfa070 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16d77a602a5410b4444909f786f40eb9d2ed1916d06f2daba5751b508191130d
|
|
| MD5 |
acfd0d580722fd5d7293afe6040eed96
|
|
| BLAKE2b-256 |
dd35d06c4997b9518be08c3b8e83a3a380f84d9f0dbdb0c37ac49a78e7bcacd2
|
Provenance
The following attestation bundles were made for veridist-1.0.0-py3-none-any.whl:
Publisher:
pypi-publish.yml on alisadeghiaghili/veridist
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
veridist-1.0.0-py3-none-any.whl -
Subject digest:
16d77a602a5410b4444909f786f40eb9d2ed1916d06f2daba5751b508191130d - Sigstore transparency entry: 2797916723
- Sigstore integration time:
-
Permalink:
alisadeghiaghili/veridist@c9d390fdffe86bc862d17e155e29567f2bdfa070 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/alisadeghiaghili
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@c9d390fdffe86bc862d17e155e29567f2bdfa070 -
Trigger Event:
release
-
Statement type: