Repository navigation
Tooling: 2.49× faster production HPE audit via integer rows with identical receipts - #2409
VictorLiwentao wants to merge 2 commits into
Conversation
Wire Wronskode's proved opt-in integer-row auditor (research/hpe-audit-fast-seed93, seed 93) into production research/complex-sw4-frame8/vendor/pr635/.../hpe_audit_and_transport.py with identical honest and fuzz receipts. Package research/hpe-audit-integer-production/ with baseline, verify, benchmark, and registered VERIFY. Demote dependent live pins to provenance; refresh frontier1042/layer-end production audit digests; vendor pairwise baseline inside the opt-in package. Pinned-CPU five-honest-word median 6.304→2.528 s (2.494×). No new kappa. Prepared by Wentao Li with substantial AI assistance.
Load production/baseline checkers with compile(..., optimize=0) and gate scale-zero AssertionError under -O. Point hpe-audit-fast-seed93 unit tests and crosscheck reference at vendored pairwise baseline.py. Prepared by Wentao Li with substantial AI assistance.
Remeasure research/layer-end-controls-parallel on Linux (2.448× median, per-round 2.426–2.617, identical cold-end receipts). Defer production wiring for soft-overlap with leave-alone CrocSwap#2409/CrocSwap#2412; cyclic-zero remeasure remains thin (~1.285×). No production files edited. Prepared by Wentao Li with substantial AI assistance. Co-authored-by: Victor Li <VictorLiwentao@users.noreply.github.com>
Remeasure research/layer-end-controls-parallel on Linux (2.448× median, per-round 2.426–2.617, identical cold-end receipts). Defer production wiring for soft-overlap with leave-alone CrocSwap#2409/CrocSwap#2412; cyclic-zero remeasure remains thin (~1.285×). No production files edited. Prepared by Wentao Li with substantial AI assistance.
|
Maintainer review found two stale dependent receipts at I regenerated both receipts from the submitted head: every mathematical field is identical; the only change is removal of that old auditor hash from the input map. I am carrying those two generated-artifact corrections in the integration review and running the remaining dependent checks. Your production normal/optimized equivalence checks pass (five honest words and 40 fuzz outcomes). This is still under review, not yet merged. |
|
Correction to my earlier receipt diagnosis: the isolated read-only export test reveals that the PR635 auditor is a live dependency, not unused provenance. I am restoring |
|
Additional dependency review at
Please revise the complete dependency closure: keep actual runtime inputs hashed, preserve historical provenance separately, refresh dependent manifest/receipt bindings, and run the affected source-pin checks plus an input-only export. The two k8 input fixes are being checked locally, but they do not resolve the wider closure. The integer-row differential tests are passing; this is a production integration blocker, not a reported mathematical counterexample. Keeping this PR open for that revision. |
Change and scope
At base
0fdd7d82de03e43c9e5a1000dfbcd380d1b687d2, productionresearch/complex-sw4-frame8/vendor/pr635/research/complex-571-cold14-st2/code/hpe_audit_and_transport.pystill stored every scalar row as a dictionary ofFractionvalues. Wronskode’s opt-in adapterresearch/hpe-audit-fast-seed93/already proved shared-denominator integer rows with identical layer-end control receipts. This PR wires that equivalent rewrite into the production PR635 auditor used by frontier1042 layer-end controls.Other vendored
hpe_audit_and_transport.pycopies outside this PR635 path are intentionally left pairwise. Distinct from #2357 (hpe_audit_local.py).No certificate κ pins change. Same-tip provenance hygiene demotes previous live pins on this auditor to provenance (and drops them from live
VERIFY.jsoninputs where applicable) in dependent packages includingk8-hpe450-binding,k8-hpe450-forward-audit,selected1094-extended-labels-seed65, andtwo-accumulator-saved-arms.frontier1042-lec-parallel/layer-end-controls-parallelrefresh production audit digests. 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 timing the five honest FULL-WORD audits gave median wall time 6.304 → 2.528 s (2.49×). Timing is host-descriptive and is not a correctness gate. Every honest and seeded-fuzz outcome matches the pairwise baseline fieldwise (elapsedsecondsexcluded).Package:
research/hpe-audit-integer-production/.Tip:
dbaf88ec7165ae8547d2756407583c04b3ead27b.Validation
Expected:
Default verify is read-only. Temp-copy apply-noop foil rejects via outcome divergence or runtime failure. Package gates under
-Ostill launch asserting checker paths. Fullmake verify, selected cold replay, Lean, and multiplication-theorem obligations were not rerun for this isolated historical-checker change.Overlap and credit
Closest priors (different delivery): Wronskode’s
research/hpe-audit-fast-seed93/(opt-in integer rows; this is the production wiring), CrocSwap/integer-mult-bounds#756, CrocSwap/integer-mult-bounds#2357 (integer rows forhpe_audit_local.py, different object), LEC parallel schedulers (call scheduling without changing the audit kernel). No competing open PR on production PR635hpe_audit_and_transport.pyat refresh.Credit Wronskode, icekylinx, DreamingOfClouds, and the retained PR635 lineage. Prepared by Wentao Li (VictorLiwentao, @Is__Victor) with substantial AI assistance, under Apache-2.0.