Skip to main content

Refute banner: a star crossed by a small planet above a light curve whose brightness dips during the transit. Tagline: Find signals. Try to kill them. Keep what survives. Pipeline: claim, lock, gauntlet, blind holdout, dossier, verdict.

CI status DOI 10.5281/zenodo.23301000 (all versions of the software) License: Apache-2.0 Python 3.12 | 3.13 (tested in CI) method_status: not_validated

Refute tries to break a scientific claim before anyone believes it. An agent may propose a signal; deterministic, versioned tests attack it, after the claim and its code are locked. Only what survives is kept, and even that is a candidate, never a discovery.

The problem it works on today

The TESS satellite produces thousands of transit-like signals: a star dims a little, at regular intervals. Many are planets. Many others are look-alikes:

  • two stars eclipsing each other;
  • a neighbouring star leaking into the aperture;
  • instrument systematics;
  • noise.

Refute's current job is auditable falsification of TESS transit candidates:

  1. Claim. The hypothesis, the targets and the pass/fail criteria are written to claim.yaml (spec).
  2. Lock. The claim, its attachments and the source tree are hashed (SHA-256) before the data are read. Any later edit makes refute verify return TAMPERED (lock format).
  3. Gauntlet. Deterministic tests try to explain the signal away: odd and even depths, a secondary eclipse, centroid shifts, aliases, systematics, red noise.
    • A test that could not have failed says so: zero coverage is INCONCLUSIVE, never a pass.
  4. Blind holdout. A year of data is hidden. The transits are predicted from the other years, and the hidden year is read only inside the predicted windows. Every read is logged.
  5. Dossier and verdict. The dossier holds the data hashes, the plots, the environment and the commands to reproduce it. The verdict is one of SURVIVED, WEAKENED, REFUTED and INCONCLUSIVE (verdicts).

Agents propose. Deterministic tests decide. No language-model output is ever a verdict.

Quick start

Refute uses uv 0.12.24 and Python 3.12 or later; CI tests 3.12 and 3.13. pyproject.toml pins that uv version, and any other version exits with an error (uv settings, read 2026-11-03). To install it (uv installation, read 2026-11-03):

curl -LsSf https://astral.sh/uv/0.12.24/install.sh | sh    # macOS and Linux
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/0.12.24/install.ps1 | iex"    # Windows

Then, from a clean clone:

git clone https://github.com/klucilla/refute.git
cd refute
uv sync --frozen                     # install exactly what uv.lock pins
uv run refute packs                  # the installed domain packs: tess and ml
uv run refute verify calibration/v0.5.6/claim.yaml
uv run refute check-dossier calibration/v0.3/main/dossiers/2302.12465/dossier

What you should see:

  • refute verify returns TAMPERED (exit code 2) on main. That is the lock doing its job.

    • The claim was locked with the code of tag v0.5.6-partb-lock, and the code changed later.

    • The output says that only the code component differs, and names the changed files.

    • At the tag, the same claim returns PASS:

      git checkout v0.5.6-partb-lock && uv sync --frozen
      uv run refute verify calibration/v0.5.6/claim.yaml    # PASS (exit code 0)
      git checkout main && uv sync --frozen
      
  • refute check-dossier checks a published, sealed dossier against its manifest and seal, and ends with OK: manifest intact. This dossier comes from the v0.3 paper-replication pack, and it is in the repository. The TESS dossiers of v0.4 are on Zenodo (10.5281/zenodo.23898648), so checking one needs a download.

  • The timing. On a clean local clone, with uv's package cache already filled and no network (UV_OFFLINE=1), every command above took 20 s in total on 2026-11-26, and the check at the tag took 3 s. A first install downloads about 100 packages.

  • The tests: uv run pytest. They use synthetic data only, never the network.

  • Every command is documented in docs/cli.md.

What Refute is, and what it is not

Refute is Refute is not
A falsification engine: it attacks a claim instead of confirming it. A discovery machine. It produces candidates and verdicts, never confirmed discoveries.
Pre-registration with teeth: the claim, its targets and the code are hashed before any hidden data is seen. Any later edit is TAMPERED. An AI oracle. No language-model output ever decides a verdict.
Reproducible: every verdict ships in a dossier with data hashes, plots, the environment and the commands to rerun it. A submission bot. Refute never submits anything to a scientific body; any submission is made by a human.
Domain-agnostic: the engine knows no science; domain packs do. A judge of people. Verdicts are about claims, never about their authors.
Honest about its limits: a failed self-claim is published, not tuned away. Validated. Every result so far is labelled method_status: not_validated.

The verdicts for paper claims are REPRODUCED, FRAGILE, NOT_REPRODUCED, NOT_REPRODUCIBLE and INCONCLUSIVE. There is no TRUE.

Horizon

These are plans, and none of them exists yet. The order and the rules are in ROADMAP.md.

  • Other domains. The engine knows no science; a domain pack brings the data, the attacks and the holdout. The planned packs:
    • variable stars in TESS data;
    • mathematics, by counterexample search with verifiable certificates;
    • in time, any field with public data and falsifiable claims, through a pack SDK.
  • Refute@Home. Volunteer computing, in the tradition of SETI@home and Einstein@Home. Each work unit would be computed by two independent workers whose results must agree. It is meant for people who never open a terminal.

How AI is used here

  • AI agents write code, tests and documents, and run checks, in sessions the maintainer approves. Commits written with an agent say so in a Co-Authored-By trailer.
  • Reviews: fresh, read-only agent sessions review dossiers and phase gates. A second model family (Codex) reviews plans.
  • What agents never do:
    • decide a verdict;
    • send a message to a paper's authors;
    • submit anything to a scientific body.

The full text is in docs/STATUS.md, part 2.

Contributing, conduct and citation

  • Attacks on Refute itself are as welcome as features: lock bypasses, holdout leaks, verdicts that should not survive. Open an issue, or report security problems privately (SECURITY.md).
  • Start with CONTRIBUTING.md. Community participation follows the Contributor Covenant.
  • Verdicts are about claims, never about authors. A negative result on a paper is published only after a right-of-reply period. Medical or diagnostic claims and dual-use biology or chemistry are out of scope.
  • To cite Refute, see CITATION.cff and the concept DOI 10.5281/zenodo.23301000.
  • Data and acknowledgments, with the licence of each source and where each statement comes from: docs/STATUS.md, part 2, "Data and acknowledgments".

License

Apache-2.0 (LICENSE).

Metadata

Release files for refute 0.5.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for refute 0.5.12
File Size Uploaded Provenance Actions
refute-0.5.12.tar.gz 1.3 MB With provenance Details for refute-0.5.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for refute 0.5.12
File Interpreter ABI Platform Actions
refute-0.5.12-py3-none-any.whl Python 3 none any Details for refute-0.5.12-py3-none-any.whl

Total release size: 2.0 MB

Release files / refute-0.5.12.tar.gz

Download URL refute-0.5.12.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
037e58d92d58b2075095062d9e3723e6f036c436751e9115c74eeed8a3b33851
BLAKE2b-256 checksum
How to use checksums
087b1611ad8a9e612f56c830738bd47a0455d8f055f71bbcbec0fb9ac8dd5fbd
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 Nov 27, 2026.

Transparency log

Release files / refute-0.5.12-py3-none-any.whl

Download URL refute-0.5.12-py3-none-any.whl
Size 619.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
038b507b1dfc827cd4169eaa161bd55e5a84a3fc876a14b4415cc6d4fe3bac29
BLAKE2b-256 checksum
How to use checksums
f941e7b1323256cf02b13002e9af42a2df00183b20c377108779a5e142e008f7
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 Nov 27, 2026.

Transparency log

Security for refute 0.5.12

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.

Select from 2 files

Attestation for refute-0.5.12.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 Nov 27, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release

0.5.12 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page