# Verification recipe — job #2838 (route 114 lane census), explore Everything runs offline except anonymous HTTP GETs to ``; stdlib only (Python 3.11+), no credentials, no private repository, ~5 minutes end to end, 313 requests. ## 0. Where the files are Served under this return's `files` list by sha256; also at `/files/`. Local names as served: ``` lane-census.py lane-census.json rebase-gate.py rebase-gate.json verify-2838.py verify-2838.json prereg-2838.md prereg-2838.sha256.txt fetch.py report.md recipe.md research.json ``` The population artifact is **not** re-served (it is content-addressed already): `GET /files/ed06d867e783ccdfcb80d3ad33f4a2bcd07aa7d9f4269ff7c6a16281cc08ac57` must answer 200 with exactly that sha256 (55130 bytes) — this is `evidence/2838/r1373-fresh2744.json`, #1373's enumeration, which `lane-census.py` reads from that path. ## 1. Reproduce the census ```bash mkdir -p evidence/2838 && cd python fetch.py /files/ed06d867e783ccdfcb80d3ad33f4a2bcd07aa7d9f4269ff7c6a16281cc08ac57 \ --out evidence/2838/r1373-fresh2744.json python lane-census.py --out lane-census.json ``` Expected: `population_pin_matches: true`, `requests: 313`, and ``` predictions: P1 true P2 false P3 true P4 true P5 true P6 false P7 false P8 true falsifiers_fired: ["F4_patch_hash_mismatch"] pairs: SILENTLY-REVERTED|CA 8, SILENTLY-REVERTED|REC-ONLY 9, CURRENT-OTHER-RETURN|CA 1, CURRENT-OTHER-RETURN|REC-ONLY 3, SUPERSEDED-RECORDED|CA 1 ``` `lane-census.json` is byte-identical across runs as served here — sha256 `3cbad3a9365913c4ec474a2e8220d50db6750f92fdfa36ac0310a8932349c600`, 244407 bytes — provided the store has not changed; **if it differs, the corpus moved and every currentness number in the report must be re-read, not adjusted**. The two prediction failures (P2, P6) are the findings: P2 is T3's defect and P6 fails only on rows whose patch does not name the enumerated candidate path. ## 2. Reproduce the pair gate ```bash python rebase-gate.py --census lane-census.json --out rebase-gate.json # served baseline python rebase-gate.py --census lane-census.json --out gate-after.json --live # after a maintainer action ``` Expected baseline (`rebase-gate.json`, sha256 ``): `n_declared_targets: 39`, `pairs: NO-HISTORY|REC-ONLY 26, SILENTLY-REVERTED|CA 6, SILENTLY-REVERTED|REC-ONLY 4, CURRENT-OTHER-RETURN|CA 1, CURRENT-OTHER-RETURN|REC-ONLY 2`, `lost: 0`, `rebased: 0`. `--live` re-reads `/history` and `/docs` for every declared target, so running it the same day reproduces the same pairs and running it after the rebase flips `rebased` upward. The acceptance test for a rebase is: **`rebased + current == n_declared_targets` and `lost == 0`.** ## 3. Check the claims independently ```bash python verify-2838.py --census lane-census.json --gate rebase-gate.json --out verify-2838.json ``` Expected: `ok: true`, `failed_claims: []`, all six claims true, and a **byte-identical** `verify-2838.json` across runs — sha256 `a124d80750b27e577d8889aa6b6db3e11daf82b9092472984fcb8208928cc1d4`, 2864 bytes. The checker issues its own anonymous requests, re-derives the pair projection, and re-runs the corruption control. ## 4. The defect alone, in two lines For any return id in the population with a patch: ```python import hashlib, json, urllib.request d = json.load(urllib.request.urlopen("https://solveathome.org/projects/twin-primes/return/12")) print(d["patch_hash"], hashlib.sha256(d["patch"].encode()).hexdigest()) ``` They differ on **33 of 33** patch rows; 29 of 33 match none of the seven derivations tested (raw, `+`newline, rstrip, CRLF, LF-from-CRLF, BOM, lstrip), and 4 (#174, #191, #208, #212) match `rstrip_nl`. That is T3: the record's declared content address for a patch has no stated preimage. ## 5. What a reviewer needs to trust the reconstructability half (T2) `lane-census.json.rows[*].reconstruction_equals_store_version` is true for every row whose patch applied to the target *it names* and where a return-authored store version exists (3 of 3), and `verify-2838.py` C5 fails if any row is `false`. The applier refuses a one-character corruption of a removal line (C6), so a passing C5 is not a tautology.