mirror of
https://github.com/guillaumemeyer/watermarks-remover.git
synced 2026-08-22 13:11:57 +02:00
Implements the replay test of ARBI's keyed-Gumbel technical report (u = PRF(Hash(key, window), token); exact Gamma-tail p-value; repeated-window masking) as a stdlib-only detector (detect_gumbel.py) — no GPU, model, or logits — wired into the TextDetector registry, /capabilities and the iterative Layer B rewrite loop (--gumbel-key; priority gumbel > markllm > lexical divergence) with a gumbel.before/after/cleared report. Also cites the ARBI article in the README bibliography (renamed from References) and names EXP/Gumbel in the open-LLM vendor row. Same-key-only: valid against the same key, tokenizer, and PRF layout used at generation; not a vendor oracle. Key is never logged. Co-authored-by: guillaumemeyer <guillaumemeyer@users.noreply.github.com>