MLflow plugin: automatic PRML manifest hash tagging for runs. Pre-registered ML evaluation claims.
Project description
mlflow-falsify — automatic PRML manifest hash tagging for MLflow runs
Drop a PRML manifest in your repo. Every MLflow run gets cryptographically bound to it. No workflow changes.
Install
pip install mlflow-falsify
The plugin is discovered automatically through MLflow's mlflow.run_context_provider entry point.
Usage
import mlflow
# .prml.yaml exists in CWD or any parent directory — that's all you need.
with mlflow.start_run():
mlflow.log_metric("accuracy", 0.873)
# The run now carries prml.manifest_hash and friends as tags.
What gets tagged
When a .prml.yaml or prml.yaml is found in the current directory or any ancestor, every run is tagged with:
prml.manifest_hash— SHA-256 of the canonical manifest bytes (PRML v0.1 §3)prml.manifest_path— relative path to the discovered manifestprml.version— manifest schema version (e.g.prml/0.1)prml.metric— the pre-registered metric (e.g.accuracy)prml.comparator— one of>=,>,==,<=,<prml.threshold— the numeric threshold, as a stringprml.dataset_id— the pre-registered dataset identifier
Missing or malformed fields are silently skipped. The provider never raises into your run.
Why this matters
- EU AI Act Article 12 evidence layer. Every logged run carries a tamper-evident pointer to the claim it was meant to test.
- Eval reproducibility by default. The hash freezes metric, threshold, dataset, and seed before the experiment runs.
- Audit trails for free. Reviewers can recompute the manifest hash from the YAML and compare it against your tracked runs.
- No workflow change. Existing MLflow code is untouched — the plugin attaches via entry points.
Links
- PRML specification: spec.falsify.dev/v0.1
- Falsify reference implementation: github.com/studio-11-co/falsify
- Zenodo (this plugin): doi.org/10.5281/zenodo.20235451
- Zenodo (PRML spec): doi.org/10.5281/zenodo.20177839
- Registry: registry.falsify.dev
License
MIT. Copyright 2026 Studio 11 / Cüneyt Öztürk.
Project details
Release history Release notifications | RSS feed
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 mlflow_falsify-0.1.3.tar.gz.
File metadata
- Download URL: mlflow_falsify-0.1.3.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0223762a771098856945c562fc6ba8623f3ee62ee16357c02a66a081d7dda48
|
|
| MD5 |
8c48b44a0e0e7ae41918598de945a89d
|
|
| BLAKE2b-256 |
875dfdb5a004d82098ccc15f1e5f79a66f5137874ee91b0d5993714df454abc2
|
Provenance
The following attestation bundles were made for mlflow_falsify-0.1.3.tar.gz:
Publisher:
publish.yml on studio-11-co/mlflow-falsify
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mlflow_falsify-0.1.3.tar.gz -
Subject digest:
c0223762a771098856945c562fc6ba8623f3ee62ee16357c02a66a081d7dda48 - Sigstore transparency entry: 1553473258
- Sigstore integration time:
-
Permalink:
studio-11-co/mlflow-falsify@88fec57f9a13b6833489074d0ca79ac4efe86671 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/studio-11-co
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@88fec57f9a13b6833489074d0ca79ac4efe86671 -
Trigger Event:
push
-
Statement type:
File details
Details for the file mlflow_falsify-0.1.3-py3-none-any.whl.
File metadata
- Download URL: mlflow_falsify-0.1.3-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4f313d47477bc696e6b43c87bc24f6d9f407cdb2ed6efb28b5e4d873e961a41
|
|
| MD5 |
a91ce7f9ca8b9b14e308bce85667221a
|
|
| BLAKE2b-256 |
c9d7bec99af81b5b3d7e4c4d2c9cac32038e4656c80c1e5b708bbdf48a24f98e
|
Provenance
The following attestation bundles were made for mlflow_falsify-0.1.3-py3-none-any.whl:
Publisher:
publish.yml on studio-11-co/mlflow-falsify
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mlflow_falsify-0.1.3-py3-none-any.whl -
Subject digest:
a4f313d47477bc696e6b43c87bc24f6d9f407cdb2ed6efb28b5e4d873e961a41 - Sigstore transparency entry: 1553473263
- Sigstore integration time:
-
Permalink:
studio-11-co/mlflow-falsify@88fec57f9a13b6833489074d0ca79ac4efe86671 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/studio-11-co
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@88fec57f9a13b6833489074d0ca79ac4efe86671 -
Trigger Event:
push
-
Statement type: