carlok — zsh — 88×30

cat _posts/2026-11-08-alien-hunt-an-offline-tune-took-the-share-of-draws-that-reach-the-fixed-function-from-22-to-29-percent.md

alien-hunt: an offline tune took the share of draws that reach the fixed function from 22 to 29 percent

alien-hunt tuned its candidate pool offline: no model was called and no embedding computed, and nothing from a target repository ran on the host — scripts/pool_ceiling.py only parses target code with ast, rebuilds atoms and pairs with alien-hunt’s own extract_atoms, colocated_pairs and pool_pairs, and records whether a pair touches a function the fix changed. The cases come from GitHub’s advisory database: reviewed, not withdrawn, PyPI, with a fix commit in the package’s own repository, split at advisories published before 2025-01-01 into 159 tuning and 94 held-out snapshots (reports/offline-tune/SUMMARY.md).

At the pipeline’s 20-pair limit, the share of draws containing a pair that reaches a fixed function went 22.2% → 28.8% held out (92 cases) and 24.7% → 34.3% on the tuning split (138); the share of kept pairs touching the fix rose from 3.7% to 4.6%, so 95 of every 100 offered pairs still miss it. Four changes were kept — record the function each atom sits in, draw pairs that reach new functions first, break ties toward busier functions, keep the atoms of the heaviest functions instead of every Nth — and two more were rejected for raising the tuning number while lowering the held-out one (9e04348, 60ee797).

The ceiling turns out to be extraction, not selection: with the 80/80/40 caps removed an atom sits in a fixed function in 95.7% of held-out cases, with the caps and the new retention 57.6%, and about half the remaining misses are fixes in code that yields no atom at all. The confirmation check is also much harder to fool after four red-team reads — scripts passing the syntax stage fell 43 → 9, 18 → 13, 18 → 12 and 17 → 2 — although the shapes that still pass are listed rather than closed, and one measurement bug (--src silently measuring the installed copy) was found and fixed on the way (d89ec06, 7d89712).