Repository navigation
Tooling: 2.63× faster production hosted digest via fragment reuse with identical receipts - #2348
VictorLiwentao wants to merge 2 commits into
Conversation
Wire Matthieu Pascal's proved opt-in JSON-fragment digest (CrocSwap#1874) into the p111-tuned production audit_hosted_k.py used by adapt9p-parameterized PR589 hosted audits. Identical emitted-program receipts (96c7ad2e…, 7,843,392 events, 16 mutants). Preserve all five adapt9p anchors. Package research/bit-hosted-digest-production/ with baseline, verify, benchmark (median 34.880→13.268 s on pinned CPU), and registered VERIFY. Honestly refresh live audit_hosted_k pins in bit589-width7-windows-seed72, selected-bit-hosting-audit, and r439-abc-hosted-invoice. Demote the pairwise production pin in bit-hosted-digest-fastpath to baseline.py. Prepared by Wentao Li with substantial AI assistance.
…duction Replace invalid base_commit blob refreshes with provenance demotions for bit589-width7-windows-seed72, selected-bit-hosting-audit, and r439-abc-hosted-invoice. Vendor pairwise baseline inside bit-hosted-digest-fastpath so research-packages CI no longer fails. Prepared by Wentao Li with substantial AI assistance.
|
Maintainer review at
It is absent from the declared input set after this PR demotes it. Consequently the full verifier's Please retain a live binding for the auditor actually consumed: either preserve a pinned historical baseline through the adapter chain, or explicitly bind and replay the updated implementation with the affected complete receipts and rejection controls. Do not remove the consumed-input coverage gate. The other manifest changes and production equivalence still need their complete review. |
Change and scope
At base
0fdd7d82de03e43c9e5a1000dfbcd380d1b687d2, production p111-tunedaudit_hosted_k.pystill hashed every mapped instruction with a freshjson.dumps. Matthieu Pascal’s opt-in adapterresearch/bit-hosted-digest-fastpath/(incorporated #1874) already proved JSON-fragment reuse with identical hosted-audit receipts. This PR wires that equivalent digest into the production auditor used by adapt9p-parameterized PR589 hosted audits.Path:
research/e8-bit-p111-tuned/vendor/pr510/e8-r480-nine-stage/vendor/e8-r715-eleven-stage-whole/code/audit_hosted_k.py.No certificate κ pins change. Same-tip provenance hygiene:
research/bit589-width7-windows-seed72/,research/selected-bit-hosting-audit/, andresearch/r439-abc-hosted-invoice/demoteaudit_hosted_k.pyto provenance (pairwise-era digest) and drop it from liveVERIFY.jsoninputs — a naive sha refresh against an oldbase_commitis invalid for research-packages pin checks.research/bit-hosted-digest-fastpath/vendors pairwise-era bytes as localbaseline.pyand compares against that file (production path is provenance-only).Tooling improvement; no new kappa. Selected frontier untouched. Adapt9p’s five hosted-auditor anchors are preserved.
Result
On Linux / CPython 3.12.3 with
taskset -c 0, five alternating fresh-process pairs gave median complete parameterized PR589 hosted-audit wall time 34.880 → 13.268 s (2.63×). Timing is host-descriptive and is not a correctness gate. Emitted-program digest stays96c7ad2e…(7,843,392 events; 16 mutants).Package:
research/bit-hosted-digest-production/.Tip:
b5c3b567f13b18881161cf6c445e4ef251870558.Validation
Expected:
Default verify is read-only. Temp-copy digest foil rejects via audit assertion. Package gates under
-Ostill launch asserting children. Fullmake verify, selected cold replay, Lean, and multiplication-theorem obligations were not rerun for this isolated auditor change.Overlap and credit
Closest priors (different delivery): Matthieu Pascal’s
research/bit-hosted-digest-fastpath// #1874 (opt-in fragment digest; this is the production wiring), CrocSwap/integer-mult-bounds#756, CrocSwap/integer-mult-bounds#2257 / #2263 / #2276 / #2320 / #2329 (same production-promotion + provenance pattern). No competing open PR on this productionaudit_hosted_k.pyat refresh.Credit Matthieu Pascal, DreamingOfClouds, eumemic, DaysSky, Chafik Boukhalfa and the retained hyperplane599 archive. Prepared by Wentao Li (VictorLiwentao, @Is__Victor) with substantial AI assistance, under Apache-2.0.