Tiny CLI and GitHub Action for blocking numeric claims without reviewable evidence.
Project description
Falsiflow
Stop numeric claims from passing CI until the evidence is reviewable.
Falsiflow checks a project contract, an evidence CSV, and referenced source
files. It returns claim_ready only when required evidence exists, placeholder
values are gone, derived metrics compute, thresholds pass, and the review bundle
verifies.
30 Seconds
pipx install falsiflow
git clone https://github.com/AzurLiu/falsiflow
cd falsiflow
EX=examples/minimal_numeric_claim
falsiflow check --config "$EX/project.json" --evidence "$EX/evidence_placeholder.csv" --strict
falsiflow check --config "$EX/project.json" --evidence "$EX/evidence_blocked.csv" --strict
falsiflow check --config "$EX/project.json" --evidence "$EX/evidence_ready.csv" --strict
placeholder evidence -> claim_blocked
weak numeric lift -> claim_blocked
source-backed evidence -> claim_ready
GitHub Action
name: Claim Gate
on:
pull_request:
jobs:
claim-gate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: AzurLiu/falsiflow@v0.2.0
with:
config: examples/minimal_numeric_claim/project.json
evidence: examples/minimal_numeric_claim/evidence_ready.csv
strict: "true"
What It Is
Falsiflow is a small Python CLI and GitHub Action for gating numeric claims:
- RAG recall improved by a configured threshold.
- A model eval metric beat a baseline.
- A product metric moved enough to ship.
- A vendor, lab, or instrument result meets a spec.
It writes a machine-readable summary, Markdown report, source manifest, and evidence bundle zip under the chosen output directory.
What It Is Not
Falsiflow does not prove that a model is good, a RAG answer is safe, a product metric is causally true, or a scientific claim is correct. It only proves that the configured evidence package is complete enough to review.
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 falsiflow-0.2.0.tar.gz.
File metadata
- Download URL: falsiflow-0.2.0.tar.gz
- Upload date:
- Size: 33.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2169b6052a2571d8b845a93add9590d962397310717e0f1ab32678404a92871c
|
|
| MD5 |
02a27b8d49c9f7f4ab299d590d1ea85a
|
|
| BLAKE2b-256 |
3439101dd8e28aad2005d160c7f97ea7e373321ea9c8b33c0345af71e040f057
|
Provenance
The following attestation bundles were made for falsiflow-0.2.0.tar.gz:
Publisher:
falsiflow-publish.yml on AzurLiu/falsiflow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
falsiflow-0.2.0.tar.gz -
Subject digest:
2169b6052a2571d8b845a93add9590d962397310717e0f1ab32678404a92871c - Sigstore transparency entry: 1690676747
- Sigstore integration time:
-
Permalink:
AzurLiu/falsiflow@d52791c995992ec5d6497d389afedf9c5146cf8a -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/AzurLiu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
falsiflow-publish.yml@d52791c995992ec5d6497d389afedf9c5146cf8a -
Trigger Event:
release
-
Statement type:
File details
Details for the file falsiflow-0.2.0-py3-none-any.whl.
File metadata
- Download URL: falsiflow-0.2.0-py3-none-any.whl
- Upload date:
- Size: 29.2 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 |
e28a69c2a91751128dc4b67f572ee3289a6feb87481580028787e44ae85d39d4
|
|
| MD5 |
f3975a684276d58b6f5d826dd35918e8
|
|
| BLAKE2b-256 |
4a5bd7ee5ebaf6290cf30b13b7e9bc5c7c4b2758ac843de3e8c9052582003b2e
|
Provenance
The following attestation bundles were made for falsiflow-0.2.0-py3-none-any.whl:
Publisher:
falsiflow-publish.yml on AzurLiu/falsiflow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
falsiflow-0.2.0-py3-none-any.whl -
Subject digest:
e28a69c2a91751128dc4b67f572ee3289a6feb87481580028787e44ae85d39d4 - Sigstore transparency entry: 1690676762
- Sigstore integration time:
-
Permalink:
AzurLiu/falsiflow@d52791c995992ec5d6497d389afedf9c5146cf8a -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/AzurLiu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
falsiflow-publish.yml@d52791c995992ec5d6497d389afedf9c5146cf8a -
Trigger Event:
release
-
Statement type: