Inspiration
Ten checks passed. The original regression still failed. We built Plum so coding agents can carry earlier failures forward through a long session.
What it does
Plum is a stateful belief model that tracks test evidence by requirement and revision. It counts identified retries once and requires a full passing check on the current revision before marking a fix verified.
How we built it
Inspired by Avadhanam’s parallel threads of attention, we trained a 660-parameter GRU in PyTorch on interleaved checks and distractions. Plum 0.2.0 pairs it with a Bayesian evidence score and a separate readiness rule. Source code
Challenges we ran into
Eight reruns of the same passing spot check drove the original GRU to 99.72% on a broken Click revision. The full regression still failed. Plum 0.2.0 counts that observation once and holds at 25%, with verification blocked.
Accomplishments that we're proud of
We reproduced a real Click regression before and after its upstream fix. Both runs ended with the same ten passing checks, and the original GRU scored them 24.8% and 96.5%, respectively. We shipped an offline Python package and an interactive browser demo. Test output · Live demo
What we learned
Remembering evidence and deciding whether a fix is verified are separate jobs. A high score alone can hide a missing full check.
What's next for Plum
Connect Plum to CI so it can identify checks and revisions automatically. Then test calibration on real agent runs with flaky tests and repeated checks.