Repository navigation
LBA REQ 081
Proven
Deployment / benchmark suite (ADR-0062 -- cross-plane VI Analyzer parity, roadmap Phase 2)
The system shall prove cross-plane VI Analyzer performance parity by validating that a LINUX and a WIN VI Analyzer run share the same benchmark identity and deterministic resultHash, so a fail-closed gate proves the planes ran the SAME benchmark and their run times are comparable performance witnesses.
the cross-plane parity metric (roadmap §8) was proven only for the IDE launch benchmark (LBA-REQ-072);
Phase 2 is the SUITE (VI Analyzer, mass-compile, unit-test). VI Analyzer already has real two-plane evidence
(vi-analyzer-trend-live-evidence@1, LINUX + WIN) and governed cross-plane DETERMINISM (LBA-REQ-043 -- the
resultHash matches, i.e. the answer), but not cross-plane PERFORMANCE parity (the same identity so timings are
comparable). The LBA-REQ-072 parity engine's core is benchmark-generic and extends to VI Analyzer with no new
parity logic.
-
viAnalyzerParity.mjsREUSES the LBA-REQ-072 engine (launchIdentity/trendOk/decideParity/planeSummary/performanceWitness) via atrendFromEvidenceadapter that turns a committedvi-analyzer-trend-live-evidence@1capture into aworkload-trend@1(the per-runwallMsbecome the trend; PASS iff every run exited 0 with no failed/errored tests). The benchmark identity is{ viAnalyzerMs, vi-analyzer-labviewcli-example, n }. - A run is parity-proven only when the planes are cross-plane (one LINUX + one WIN), share the benchmark identity,
AND share the deterministic resultHash (the LBA-REQ-043 determinism link).
validateReceiptre-derives the receipt from the two committed evidence captures (currency) and fails closed on an identity mismatch, a non-cross-plane pair, a differing resultHash, an invalid trend, or a tampered digest. - The gate
cross-plane-vi-analyzer-parityproves offline: the selftest (7/7); the committed receipt re-derives from the two evidence captures; parity is proven; and the receipt reflects the real captures.
the verifier + selftest + committed receipt live under experiments/vi-analyzer/
(viAnalyzerParity.mjs / .selftest.mjs / cross-plane-vi-analyzer-parity-receipt.json), grounded in the two
committed vi-analyzer-trend-live-evidence@1 captures; gate cross-plane-vi-analyzer-parity in
verify-local-gates. Adding mass-compile / unit-test parity is a new adapter + receipt once real two-plane timing
exists. Authored under the singular-requirement directive (one shall).
experiments/vi-analyzer/viAnalyzerParity.mjs; experiments/vi-analyzer/viAnalyzerParity.selftest.mjs; experiments/vi-analyzer/cross-plane-vi-analyzer-parity-receipt.json; experiments/vi-analyzer/vi-analyzer-trend-live-evidence.json; experiments/vi-analyzer/vi-analyzer-trend-live-evidence-WIN.json; experiments/launch-parity/launchParity.mjs; experiments/verify-local-gates.mjs
Proven