cat _posts/2026-11-17-euclean-ships-the-paper-s-interestingness-quantities-as-a-standard-library-kit-and-the-audit-as-a-seven-page-note-whose-numbers-are-extracted-not-typed.md
euclean ships the paper's interestingness quantities as a standard-library kit, and the audit as a seven-page note whose numbers are extracted, not typed
The audit of Patel et al.’s interestingness metric was measured by the pipeline built for it, which nobody outside this repository can run, so the repository now ships the metric itself: kit/ is a standalone package, standard library only, implementing the quantities of arXiv:2609.28603 as the paper defines them — L(T |
P), V(T | P) by premise expansion, I, I0 and U0, the reward with its penalties (Eqs. 5–8), the relevance and restatement filters with a threshold sweep, the growth loop with the paper’s promotion rules, and checks for any score against ground truth: top-k enrichment, filter recall and false-positive rate, Spearman, near-duplicate share (74529ec). Every choice the paper leaves open is a named parameter, and the paper released no code. The twelve audited corpora are committed in kit/data/euclean with their frozen restatement labels and, under reference, the values the audit computed, so tests/test_kit_data.py recomputes them from the library alone and demands exact agreement on every theorem — V for three cost measures and both expansions, L0 for both size measures, all twelve I0 variants and the direct users; a single corrupted cost breaks 27 of them. |
The results themselves were published as a blind, pre-registered audit and are unchanged; what is new is that they are now readable as a document and auditable as code. paper/interest-audit/ holds a seven-page note as TeX and PDF, and its extract.py reads every number in it out of the frozen report and out of the kit’s near-duplicate example, so nothing in the prose is typed by hand — the post-freeze near-duplicate measurement appears at its measured size, a median of 12–14 % of I0’s top 50 against 3 % for random draws, and is marked as measured after the freeze (12fe161, 55d6d66). The leak guard had to grow with it: kit/ is a required root on the hard tier and paper/ on the artifact tier, and PDFs are no longer skipped as typesetter output — the guard extracts their text with pdftotext, scans two normalized forms so a term split by a line-end hyphen, broken across lines or set with a typographic ligature is still found, and reports an unextractable PDF as a violation instead of clean (0a13649).