Skip to main content
Back

refute

Projects/refute

refute

Completed

Evidence-backed Python patch verification that treats proposed fixes as hypotheses and tries to falsify them with executable probes.

Frontier Engineering Challenge 2026 · benchmarked developer tool

refute project preview

Problem

A patch that passes a narrow test can still fail nearby boundaries or regress the public contract.

Design principle

A proposed fix is a hypothesis to challenge with executable counterexamples, not a diff to trust on appearance.

Correct development-benchmark verdicts
10/10
Correct post-freeze holdout verdicts
10/12
Holdout false acceptance rate
20%

How it works

  1. Establish the trigger

    Compare original and patched behavior; compatible public Python PRs can replay changed pytest tests against both revisions.

  2. Derive challenges

    Compile recognizable public contract requirements into deterministic probes; a bounded planner may prioritize valid candidates.

  3. Execute both versions

    Observe whether the trigger is repaired and whether nearby requirements or previously working behavior fail.

  4. Classify from evidence

    Return complete, partial, ineffective, regression-introduced or inconclusive verdicts based on observed results.

Engineering decisions

Constrain the model's authority
The model prioritizes candidates rather than inventing arbitrary executable tests or the final verdict.
Measure the planner's contribution
The post-freeze ablation found equal verdict accuracy without model prioritization in the tested contract domain, with lower average runtime.
Preserve uncertainty
An inconclusive verdict is preferable to a complete-fix claim without enough independent evidence.

Verification and evidence

Frozen Iteration 5 reports 10 of 10 correct verdicts and zero false acceptance on the ten-case development benchmark. On the separately authored 12-case holdout it reports 10 correct verdicts and 20% false acceptance. Both planner and deterministic ordering missed two partial fixes. These documented results expose a generalization gap rather than concealing it.

Scope and limitations

Small, controlled benchmarks do not establish universal verification accuracy. The contract compiler supports a bounded vocabulary. Compatible real PR execution uses per-run Python environments, not a strong OS or container sandbox; running untrusted third-party code is unsafe.

Stack used

Python
MCP
Testing
CLI