Repository navigation
Tooling: 3.09× faster production frame-pair enumeration via eight-bit neighborhoods with identical receipts - #2375
Conversation
Promote woklerx CrocSwap#1099 / research/frame-pair-enumeration-fast-seed93 into research/complex-frame-pair-decoders/verify.py:frame_pair_solutions with identical D/E/H receipts. Demote dependent VERIFY live pins to provenance, retarget selected-p104 E8 model to vendored baseline, and vendor pairwise bytes for the historical opt-in adapter. Prepared by Wentao Li with substantial AI assistance.
Pinned-CPU D/E/H median 13.642 → 4.421 s (3.086×) with identical receipts. Correct the historical opt-in README provenance sha256 to the base_commit blob. Prepared by Wentao Li with substantial AI assistance.
Nullpair runtime SHA and three legacy WT-hash loaders now pin/load research/frame-pair-enumeration-production/baseline.py after the live verify.py rewrite, matching selected-p104 discipline. Prepared by Wentao Li with substantial AI assistance.
…hear Refresh e8-factor-linear-overcomplete47 pins after complex-decoder retarget and point term-shear's runtime E8 model at the vendored pairwise baseline. Prepared by Wentao Li with substantial AI assistance.
Drop invalid files[] baseline pins against historical base_commit (path did not exist there). Keep pairwise verify.py as provenance and retarget via auxiliary e8_model + VERIFY.inputs, matching selected-p104-port-adapter. Prepared by Wentao Li with substantial AI assistance.
|
Maintainer integration review at I executed That consumer is not changed in this PR. The newly integrated Please preserve the historical model for these consumers (or explicitly update their live binding and replay the affected checks), keeping their expected receipt/source metadata consistent. Merely demoting a runtime dependency to provenance would not address reproducibility. A complete manifest-and-loader scan should catch any further consumers. This is an integration hold, not a rejection of the neighborhood-mask optimization or its numerical results. The optimization's full review remains pending. Exact reproduction evidence will be retained in the efficient1300 batch audit; themilkman216, woklerx and your production-wiring contribution remain credited. |
Change and scope
At base
0fdd7d82de03e43c9e5a1000dfbcd380d1b687d2, productionresearch/complex-frame-pair-decoders/verify.py:frame_pair_solutionsstill rebuilt partner lists with nested list comprehensions on every mask. woklerx’s opt-in adapterresearch/frame-pair-enumeration-fast-seed93/(incorporated #1099) already proved an eight-bit neighborhood enumerator with identical PR968 D/E/H receipts. This PR wires that equivalent rewrite into the production verifier.No certificate κ pins change. Same-tip provenance hygiene demotes previous live
usage:inputpins on this verifier to provenance (and drops them from liveVERIFY.jsoninputs) in:complex-puncture-depth-ceiling,complex-general-normal-boundary,p104-term-shear-seed8be7,p104-two-copy-drops,e8-connectivity-incidence-boundary,selected-p104-port-adapter, andp112-batch-centre-floor. Live pairwise model pins retarget to vendoredbaseline.pyvia auxiliarye8_model(not a historicalfiles[]pin) forselected-p104-port-adapter,p104-nullpair-compensated-shear-seed318bd5, andp104-term-shear-seed8be7. Legacy WT-hash loadersp104-asynchronous-carrier-bound,root-pair-first-drop-seed48,complex-decoder-field-extension-seed44, ande8-factor-linear-overcomplete47likewise load that baseline instead of the rewritten productionverify.py. The historical opt-in package vendors pairwise bytes as localbaseline.py.Tooling improvement; no new kappa. Selected frontier untouched.
Result
On Linux / CPython 3.12.3 with
taskset -c 0, five alternating fresh-process pairs gave median D/E/H wall time 13.642 → 4.421 s (3.09×). Timing is host-descriptive and is not a correctness gate. Receipts stay identical (frames=1260,decoders=7168,term_ranks=57344).Package:
research/frame-pair-enumeration-production/.Tip:
462593231536f771050da8f44390b3e4eba95783.Validation
Expected:
Default verify is read-only. Temp-copy omission foil rejects via subprocess failure. Package gates under
-Ostill compile checkers withoptimize=0. Fullmake verify, selected cold replay, Lean, and multiplication-theorem obligations were not rerun for this isolated verifier change.Overlap and credit
Closest priors (different delivery): woklerx’s
research/frame-pair-enumeration-fast-seed93// #1099 (opt-in neighborhood enumerator; this is the production wiring), CrocSwap/integer-mult-bounds#756, CrocSwap/integer-mult-bounds#2348 / #2357 (same production-promotion + provenance pattern). No competing open PR on productionframe_pair_solutionsat refresh.Credit themilkman216 and woklerx. Prepared by Wentao Li (VictorLiwentao, @Is__Victor) with substantial AI assistance, under Apache-2.0.