Epistemic Ledger
A living epistemic ledger: an append-only database where every conclusion carries a fluid certainty score, and new facts automatically trigger re-evaluation of the conclusions — and their dependents — that they affect, instead of any judgment ever being final.
pip install epistemic-ledger
from epistemic_ledger import Ledger
ledger = Ledger("my-ledger")
claim = ledger.assert_claim("the bridge design is safe", 0.60)
fact = ledger.ingest_evidence("load test passed", 0.90)["fact_id"]
ledger.add_support(claim, fact, "evidential", p_given=0.95, p_given_not=0.30)
print(ledger.get_score(claim)) # the score moved; the history kept both
The four properties
- Append-only records. Conclusions are never changed or deleted. A correction is a new record that supersedes the old one; the full history of what was believed, and when, stays queryable.
- Fluid certainty scores. Every conclusion carries a score that moves as evidence accumulates — today's result is tomorrow's starting point — instead of a one-time yes-or-no verdict.
- Dependency-tracked revisits. Each conclusion records why it is held. When a new fact arrives, the change spreads along the dependency graph and re-evaluates exactly the conclusions it touches, plus their dependents.
- A trigger discipline. Not every new fact warrants a revisit. A layered rule — dirty-flagging, precise invalidation, then a materiality threshold — decides when recomputation is required.
What is inside
- An event-sourced, bitemporal store (append-only JSONL event log as the write model, SQLite bitemporal tables as the read model).
- A revisit loop using Jeffrey conditionalization for uncertain evidence, with an early cutoff and materiality flags.
- Joint likelihoods (noisy-AND / noisy-OR), Dempster–Shafer belief intervals where ignorance must be explicit, and automatic contradiction detection with entrenchment-ordered resolution.
- Governance: writer trust tiers, signed verdicts (Ed25519), named graph authority ceilings, and predicate policies — all stored as bitemporal facts in the ledger they govern.
- A hardened single-writer store with replay verification
(
epistemic-ledger verify <dir>). - The five kill criteria the design set for itself, instrumented from
day one (
epistemic-ledger kill-metrics <dir>). - An offline LLM consolidation pass and caller-owned abstention policies.
Standard library only. No dependencies, no network at runtime.
Command line
epistemic-ledger demo # end-to-end scenario
epistemic-ledger verify path/to/ledger # integrity check
epistemic-ledger kill-metrics path/to/ledger
Documentation
Full documentation — the framing paper, the design memos, the measured results, and the API reference — is at https://epistemic-ledger.readthedocs.io/ and in the GitHub repository: https://github.com/AXIOVEX/epistemic-ledger
License
The code is under the MIT License (see LICENSE in the repository).
The framing paper, design memos, and research documents in docs/
remain all rights reserved, © 2026 Axiovex Systems, LLC (see
LICENSE-DOCS.txt in the repository).
Metadata
Release files for epistemic-ledger 0.13.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| epistemic_ledger-0.13.0.tar.gz | 88.0 kB | With provenance | Details for epistemic_ledger-0.13.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| epistemic_ledger-0.13.0-py3-none-any.whl | Python 3 | none | any | Details for epistemic_ledger-0.13.0-py3-none-any.whl |
Total release size: 146.6 kB
Release files / epistemic_ledger-0.13.0.tar.gz
| Download URL | epistemic_ledger-0.13.0.tar.gz |
|---|---|
| Size | 88.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed3aa0312d9cb59dbf84b9f791a482b2ddfa027c3804b118b1cf36fad4c92ddf
|
|
BLAKE2b-256 checksum How to use checksums |
84a1755ebe84821b44293fdcf48e9c0066224ccd12baefa1d6433c465adb1b80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.
Transparency logRelease files / epistemic_ledger-0.13.0-py3-none-any.whl
| Download URL | epistemic_ledger-0.13.0-py3-none-any.whl |
|---|---|
| Size | 58.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f728c05e4c5d4181fe1dffe0934952cb41e8722d2de2bf3e57165f24622576dc
|
|
BLAKE2b-256 checksum How to use checksums |
98311e69b2b94cb1505b3a862fac9a581fe17dd77dc7bc54469ce78571e08cb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.
Transparency logSecurity for epistemic-ledger 0.13.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for epistemic_ledger-0.13.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.