Repository layout#

Stats for nerds (every folder and what it holds)

Path

What it holds

ways/erasure.py

the STFT patch grid and the erasure operator

ways/attribution.py

explain(): Δ, r and flip per token and patch; the black-box word-change map

ways/backends/

hf_whisper.py, hf_moonshine.py, openai_compat.py (vLLM, llama.cpp)

ways/quality.py

AADD wrapper, flagged mask, degraded intervals

ways/metrics.py

token and clip summaries, noise-focus ratio, WER, bootstrap

ways/figure.py

the clip figure, the latent figure, the granular aud-cam lanes, the per-token figure and the cross-check figure, self-contained: text and style as data, overlap and page-edge check, repeatable bytes

ways/latent.py

spill-over under erasure, Grad-CAM per encoder layer, the per-token gradient map

ways/plots.py

the method, comparison and controlled-summary figures

ways/provenance.py

the provenance manifest (claimed and runtime dependencies, hashes, model commits, public paths)

ways/tools/

the tool framework: base.py (Tool, ToolResult), registry.py (register, get, schemas, entry-point discovery), sound_token.py, aud_cam.py, cross_check.py

ways/cli.py

ways sound-token, ways aud-cam, ways cross-check, ways explain, ways latent, ways quality

tests/

operator, formula, figure and tool checks; mock OpenAI-compatible server and the HTTP test

experiments/

sample selection, the three-model runs, the detector runs, the controlled LibriSpeech set (controlled.py), the VoiceBank-DEMAND set (demand.py), the latent runs; common.py holds the data-folder layout and the pinned model revisions

experiments/results/

per-clip rows, per-token tables, summaries, provenance (npz maps are not committed)

figures/

every figure in this README and its SVG twin

docs/

backends, reproducibility checklist and audit; docs/images/: the icon, the workflow figures and the two charts (sources in src/, rendered by render.py), the GIFs

provenance/

clean-environment run logs, runtime dependency sets and lock files, for the CPU and the CUDA 12.8 torch builds

scripts/reproduce_clean_env.sh

the clean-environment execution test

Makefile, CHANGELOG.md, CONTRIBUTING.md, SECURITY.md, CITATION.cff

day-to-day targets, release notes, how to add a tool, what the code does with the network, how to cite

Credits and licence#

WhatAreYouSaying is released under the MIT licence (see LICENSE). AADD [2] is MIT and keeps its licence. Whisper weights are Apache-2.0, Moonshine weights MIT, transformers Apache-2.0. The VoxCeleb audio and transcripts used in experiments/ are not part of this repository. Only clip ids, per-clip and per-token numbers, and figures are. LibriSpeech and VoiceBank-DEMAND are CC BY 4.0.