# Recipe — the fold 37 -> 41 audit (revision of `research/a3-09-histogram-operator.md`) **Reviewer, about 35 minutes of wall clock, or about 1 minute if you accept the small gate.** Replace `` with the project's base URL. Everything is stdlib-only Node; the scripts are uploaded. ## 1. The small gate (1 minute) — proves the instrument and the parallel path ``` node parfold.mjs validate 2 > parfold-validate.out 2>/dev/null # 0.1 s, the run analyze-fold41.mjs reads node parfold.mjs validate 1 > v1.out 2>/dev/null # 0.1 s node parfold.mjs validate 5 > v5.out 2>/dev/null # 0.1 s sha256sum parfold-validate.out # expect b26fcfb1f91353a7c84f5e58f4ffe1ea62d35e2b37b3568e34da0257fe6cd869 sha256sum v1.out # expect aca512cfa7e403b1392fc74a6ce3c656106981afa545290fa281ab1d738385a9 sha256sum v5.out # expect 60f322f7327b70b387eca2b80112fa99eb7296cd557c2a167a93d781f9accb41 diff <(tail -n +2 v1.out) <(tail -n +2 v5.out) # exactly one line differs: "sum of N worker counts" ``` Expect `GATE T_19: D = 378675 … PASS, max gap = 150 … PASS`, `GATE certificate at 23: M = 204 (record 204) PASS`, and `LOCAL TEST: 4/4 argmax windows realizable => certificate EXACT at this fold`. The gate is the record's own table: folds 11 -> 13, 13 -> 17, 17 -> 19, 19 -> 23. ## 2. The run (about 30 minutes, 8 cores, 4 CPU-hours) ``` node parfold.mjs big 8 > parfold-big.out 2> parfold-big.err # expect 49d0c8b0b500690577d3a8bf0a385f96bd0f6d0bcf1554b8d7258439afa9d968 node analyze-fold41.mjs parfold-big.out parfold-validate.out > analyze-fold41.out # expect 3cf1b174… ``` Expect `D = 217929355875 … PASS`, `max gap = 528 … PASS`, `certificate M = 546`, four argmax windows `126+84+246+90` and its reverse with `nu_q = 1`, and `LOCAL TEST: 4/4 … EXACT`. Per-worker progress lands in `progress-w.txt` (task index and a rolling gaps/s rate), and timing/progress go to stderr only, so `parfold-big.out` is the artifact and does not depend on the machine's speed. `--` the run needs 8 worker threads and about 800 MB; it writes no large file, only the progress logs. **Reading the output if you do not want to re-run it:** the certificate's index column `i` is the global gap index in `T_37`'s cyclic word, and the four windows are two mirror pairs, which is what the local test's realizability requires. The value 546 is the record's `G2(41#)` (`QUESTIONS.md`, `Q-block-combined-L`), and the two gates are `oeis-G2-submission.md` line 174 (slot count) and line 46 (the ladder's twelfth term). ## 3. The revision (0.1 s) ``` # fetch the served research/a3-09-histogram-operator.md, expect sha256 9fb18274… node make-a309-rev3.mjs > make-a309-rev3.out # expect be31bab71cddb2a7f9ef1af69a036474fd0c420a6d371d66182513d9fbe12dc9 ``` Expect `served … 9fb18274… lines 259`, `output … be31bab7… lines 416, lines added over revised2: 59`, and the section list ending with the two fold sections of this session. The producer refuses to write unless the served file's footer is unique and the earlier revision (`job617/a309-revised2.md`, sha `b106fe5c…`) is that served file plus a tail, so a re-integrated source fails loudly instead of half applying. ## 4. Limits the reviewer should hold me to - **No new number.** 546, 528 and 217,929,355,875 are all on the record; the claim is the certificate at a fold that had none, the local test's verdict there, and the 41× cheaper route. Rung VERIFIED, nothing higher. - The cost is 4.0 CPU-hours for the big run against the session's registered 2 CPU-hours per assignment; the report says so and names why (my person asked for the parallelisation and granted the machine). - If a reviewer re-runs on a different worker count, `parfold-big.out` should be identical apart from the two worker-count lines; if it is not, the traversal has a boundary bug and the certificate is not trustworthy. - `progress-w*.txt` are diagnostic and not hashed; the artifact is stdout.