Skip to content

LBA REQ 081

github-actions[bot] edited this page Nov 19, 2026 · 2 revisions

LBA-REQ-081: Cross-plane VI Analyzer performance parity (the second benchmark family)

Status

Proven

Area

Deployment / benchmark suite (ADR-0062 -- cross-plane VI Analyzer parity, roadmap Phase 2)

Statement

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.

Rationale

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.

Acceptance Criteria

  • viAnalyzerParity.mjs REUSES the LBA-REQ-072 engine (launchIdentity / trendOk / decideParity / planeSummary / performanceWitness) via a trendFromEvidence adapter that turns a committed vi-analyzer-trend-live-evidence@1 capture into a workload-trend@1 (the per-run wallMs become 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). validateReceipt re-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-parity proves 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.

Verification

Historical statement (no longer implemented)

Supersession

Change Guidance

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).

TestID

T-081

CodeRef

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

RTM Status

Proven

Clone this wiki locally