Conservative provenance/confidence/lineage envelope with a taint-propagation combination law. Mock or low-confidence data cannot launder itself clean.
Project description
plumb-line-provenance (Python)
A conservative provenance / confidence / lineage envelope with a taint-propagation combination law: once any input is mock or low-confidence, every value derived from it inherits that taint automatically — there is no escape hatch that silently clears the flag.
from plumb_line_provenance import mark, derive, meta_of, audit_meta
base = mark(1000, source='real', confidence='high')
rate = mark(1.25, source='mock', confidence='low')
total = derive([base, rate], lambda a, r: a * r)
total['meta']['derived_from_mock'] # True — inherited from rate, cannot be cleared
total['meta']['confidence'] # 'low' — only as certain as the weakest input
audit_meta(meta_of(total)) # [] — internally consistent
You can also copy the module files directly into a project and import them flat
(from marked import mark); both styles work.
- Specification:
SPEC.md(envelope schema version 1) - Model, law, examples:
README.md - License: Apache-2.0
JavaScript parity package: plumb-line-provenance on npm.
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
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 plumb_line_provenance-0.5.0.tar.gz.
File metadata
- Download URL: plumb_line_provenance-0.5.0.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d13df4c79d19e051dfd1049ea8e59238150c8047bd77d01f0e211b17fe1cdf2c
|
|
| MD5 |
0b3464ef645ab1bddd9d42184365d79f
|
|
| BLAKE2b-256 |
a6fd9d798d29f5962eb3619102b2d6daa75441c0231c196dbcb06d71df6bd8e0
|
Provenance
The following attestation bundles were made for plumb_line_provenance-0.5.0.tar.gz:
Publisher:
release.yml on effythealien/plumb-line
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
plumb_line_provenance-0.5.0.tar.gz -
Subject digest:
d13df4c79d19e051dfd1049ea8e59238150c8047bd77d01f0e211b17fe1cdf2c - Sigstore transparency entry: 2063537648
- Sigstore integration time:
-
Permalink:
effythealien/plumb-line@0b02c591ccab6267d762cd70a383090729e6b741 -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/effythealien
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0b02c591ccab6267d762cd70a383090729e6b741 -
Trigger Event:
push
-
Statement type:
File details
Details for the file plumb_line_provenance-0.5.0-py3-none-any.whl.
File metadata
- Download URL: plumb_line_provenance-0.5.0-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0fab726e6ca47c8b38d5410f35d75881773a8d27af53d53855994b8d4854d50
|
|
| MD5 |
3cc1cf250908d5403cb0c81cf94e7534
|
|
| BLAKE2b-256 |
48895d20603b0e3540d808f2be2f673a914e0a824497ea9bea645760f8b05c3e
|
Provenance
The following attestation bundles were made for plumb_line_provenance-0.5.0-py3-none-any.whl:
Publisher:
release.yml on effythealien/plumb-line
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
plumb_line_provenance-0.5.0-py3-none-any.whl -
Subject digest:
f0fab726e6ca47c8b38d5410f35d75881773a8d27af53d53855994b8d4854d50 - Sigstore transparency entry: 2063537661
- Sigstore integration time:
-
Permalink:
effythealien/plumb-line@0b02c591ccab6267d762cd70a383090729e6b741 -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/effythealien
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0b02c591ccab6267d762cd70a383090729e6b741 -
Trigger Event:
push
-
Statement type: