Portfolio / Featured / AI / LLM · Systems / Cloud

RaceProof

Turns an intermittent JVM concurrency failure into a replayable minimized schedule, a source-linked causal witness, a bounded repair attempt and an independently verified evidence bundle.

Repository inspected: view the source for this claimReviewed at 60d1018 · last commit 2026-08-31Licence MIT

Problem

Concurrency bugs disappear under observation: a flaky failure is hard to reproduce, explain or repair with confidence.

What the repository shows

  • A controlled scheduler records and replays thread interleavings; delta debugging (ddmin) minimizes the failing schedule.
  • A causal witness links the minimized schedule to source lines and an invariant.
  • Separate reproducer and repairer roles; a pristine, protected verifier re-checks the production-only diff before the run waits for human review.
  • Gemini is used only for evidence-linked diagnosis and patch proposal; scheduling, replay, minimization, policy and verification stay deterministic.
  • Python orchestration with a typed state machine, and a Java target harness.

Python · Java · Gemini · Docker · Make

Evidence for this project1 source
  1. Repository documentedRepository documentation

    RaceProof turns an intermittent JVM concurrency failure into a minimized, replayable schedule with a causal witness, a bounded repair attempt, independent verification and a human checkpoint.

    RaceProof turns an intermittent JVM concurrency failure into a replayable minimized schedule, source-linked causal witness, bounded repair attempt, independent verification, human checkpoint, and portable evidence bundle.
    • The published evaluation is a labelled mock run; real-model and Fray runs were not performed.

    README.md (opens in a new tab) @ 60d1018 · reviewed 2026-10-26 · In the ledger

How it works

  1. Load an untrusted case into a deny-by-default workspace.
  2. Run it under a controlled scheduler, normalize the failure and replay it.
  3. Minimize the failing schedule with ddmin and probe alternatives.
  4. Compile a source-linked causal witness and invariant card.
  5. Propose a minimal repair and verify it in a protected verifier.
  6. Stop at awaiting-review and package a portable evidence bundle.

Engineering evidence

Tests
48 Python test definitions in 12 files, plus a Java target harness
CI
GitHub Actions release gates
Licence
MIT

Counted from the repository at commit 60d1018; the tests were not run for this site.

Limitations

  • The published evaluation is a labelled mock run in fixture mode; real-model and Fray runs were not performed.
  • Finite schedule testing is not a formal proof, and the bundled cases are instrumented synthetic fixtures.