Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

falsiflow-0.2.0.tar.gz (33.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

falsiflow-0.2.0-py3-none-any.whl (29.2 kB view details)

Uploaded Python 3

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

Hashes for falsiflow-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2169b6052a2571d8b845a93add9590d962397310717e0f1ab32678404a92871c
MD5 02a27b8d49c9f7f4ab299d590d1ea85a
BLAKE2b-256 3439101dd8e28aad2005d160c7f97ea7e373321ea9c8b33c0345af71e040f057

See more details on using hashes here.

Provenance

The following attestation bundles were made for falsiflow-0.2.0.tar.gz:

Publisher: falsiflow-publish.yml on AzurLiu/falsiflow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for falsiflow-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e28a69c2a91751128dc4b67f572ee3289a6feb87481580028787e44ae85d39d4
MD5 f3975a684276d58b6f5d826dd35918e8
BLAKE2b-256 4a5bd7ee5ebaf6290cf30b13b7e9bc5c7c4b2758ac843de3e8c9052582003b2e

See more details on using hashes here.

Provenance

The following attestation bundles were made for falsiflow-0.2.0-py3-none-any.whl:

Publisher: falsiflow-publish.yml on AzurLiu/falsiflow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page