What I verified#
Every formula above has a test in tests/. The numbers in the table are the values those tests and
the smoke runs measured on the hardware listed under Reproducibility.
pytest tests -q runs the CPU checks in about half a minute.
Stats for nerds (every check and its result)
check |
how |
result |
|---|---|---|
ISTFT inverts STFT |
random signal through both |
max error 1e-5 |
bands are disjoint and cover 0 to 8 kHz |
bin ranges |
9 edges, 201 bins, no gaps |
erasing a 550 Hz tone from band 1 |
energy in the patch before and after |
19 dB down; the band-0 neighbour and the waveform outside the patch unchanged |
erasing white noise in every band |
same |
12.5 to 19.6 dB down |
the erased patch in the model’s input |
Whisper log-mel, 200 random patches on each of 3 real clips |
33 to 36 dB down on average, 17 dB worst, below the clip’s own background |
the synthetic backend recovers the planted patch |
a fake model whose surprisal rises by exactly 2 nats when its patch is erased |
top patch found for both tokens; Δ within 0.1 of 2.0; r = Δ / S₀ exact; exactly one flip; other patches move less than 0.3 |
mass normalisation and band shares sum to 1 |
|
exact |
NFR = 1 for uniform mass, 2 when all mass is on the flagged half |
synthetic flags |
exact |
WER counts and normalisation |
known sentences |
S, D, I, N as expected; punctuation and case ignored |
teacher-forced surprisal equals the generation scores |
whisper-base and moonshine-base on the example clip |
max difference 6.5e-6 (Moonshine); Whisper identical by construction |
scoring twice gives the same number |
same clip twice |
difference 0.0 |
black-box word-change map agrees with the white-box flips |
mock OpenAI-compatible server backed by whisper-tiny, both routes |
every changed word sits at or after a flipped token, 2 tests pass |
AADD through the Python API equals the CLI scan |
first sample clip, v3.1 |
max difference 5e-5, flag agreement 100 % |
the figures |
synthetic arrays, long titles, 40-word transcripts, known windows |
zero overlapping texts, nothing off the page, same bytes twice, every string editable |