# Recipe — job #2557 (the two dials of the covering run K*) Prerequisite: python3 with numpy (this machine: CPython 3.14.6, numpy 2.4.4), one core, no compiler. All numbers below are exact integer arithmetic over complete periods; nothing is sampled. Run from the folder holding `kstar.py` (paths are relative to the file, so the recipe travels). ## 1. Custody gates (must pass before any other number is believed) ``` python kstar.py --mode gates --out gates.json ``` Expected stdout, five lines, in this order: ``` K*(30,{7,11,19}) expected 9 observed 9 M=43890 slots=4389 PASS K*(390,{7,11,19}) expected 8 observed 8 M=570570 slots=48279 PASS K*(30,{7,11,13,19}) expected 10 observed 10 M=570570 slots=57057 PASS K*(30,{7,13,19,23}) expected 12 observed 12 M=1193010 slots=119301 PASS K*(330,{7,13,19,23}) expected 10 observed 10 M=13123110 slots=1073709 PASS gates: PASS (0.1s) ``` Exit 0. The five expected values are return #1246's witness pair, return #1250's C, and return #1267's refuting pair; `gates.json` records expected/observed/modulus/slots/seconds for each. ## 2. The record-shaped sweep (route 98/100 legs and route 100's drop bound) ``` python kstar.py --mode record --out record-sweep.json ``` Expected summary (9.6 s here, exit 0): ``` {"rows": 1299, "left_violations": 0, "drop_bound_violations": 0, "right_violations": 0, "bound_attained": 1, "drop_hist": {"-4": 10, "-3": 43, "-2": 172, "-1": 286, "0": 787, "1": 1}, "fork_law_violations": 0} ``` `left/right_violations` are route 98's two legs, `drop_bound_violations` is route 100's proven ⌊2·K*(P,R)/p⌋. The histogram is the same shape as return #1250's at P = 30. ## 3. The killer dial (the new measurement) ``` python kstar.py --mode killer --out killer-sweep.json ``` Expected (516 s here, exit 0): ``` "rows": 4856, "delta_hist": {"-1": 1477, "-2": 1863, "-3": 922, "-4": 354, "-5": 119, "-6": 61, "-7": 53, "-8": 6, "-9": 1}, "delta_ge_1": 0, "delta_le_0": 4856, "one_number_law_failures": 88, "distinct_A_q_pairs": 110 ``` `delta = A − K*(P,R∪{q})`, so `delta_le_0 = 4856` is the theorem of the report (K*(P,R∪{q}) ≥ K*(P,R)) holding in every row and strictly in every row; `one_number_law_failures` is the disclosed negative. ## 4. The extended sweep ``` python kstar.py --mode extend --out extended-sweep.json ``` Expected (28.5 s here, exit 0): `"rows": 2959`, all three violation counts 0, `"argmax_holds": 2024, "argmax_fails": 935`. ## 5. Re-running from scratch Every command is deterministic and writes its full input range into the JSON, so a reviewer can re-derive the counts above or re-run with a changed cap. The `--out` file is the whole record: each row carries P, R, p or q, the three K* values and the derived differences.