1 · Pick a program
or
2 · Mask tokens
Click tokens to mask them (·), or apply a training
corruption pattern. Special tokens cannot be masked.
3 · Watch the repair
The model commits its most confident prediction first, then re-reads the whole sequence and repeats. Every commitment below is a genuine model prediction — the clean answer is never shown to it.
Exact reconstruction and pinned-token preservation are
computed live in your browser. Compile and semantic verification require
real rustc — run
cargo run --release -- demo --checkpoint mend.ckpt natively.