Skip to content

LBA REQ 043

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

LBA-REQ-043: Cross-plane VI Analyzer determinism

Status

Proven

Area

Deployment / cross-plane comparison (ADR-0031; extends ADR-0030; builds on LBA-REQ-015)

Statement

The system shall verify cross-plane benchmark determinism by comparing the same VI Analyzer config's deterministic resultHash across every LabVIEW plane, so a fail-closed gate proves the planes agree.

Rationale

Cross-plane liveness (ADR-0030) proved the fleet has >= 2 activated LabVIEW planes; the North Star is objective, reproducible cross-plane comparison. LBA-REQ-015's resultHash canonicalizes a VI Analyzer run so it is machine-independent, so running the same config on each plane and asserting the hashes match proves benchmark equivalence rather than a subjective claim (ADR-0031).

Acceptance Criteria

  • runCrossPlaneViAnalyzer.mjs runs the shipped LabVIEWCLIExampleProject on every LabVIEW plane concurrently and computes each plane's resultHash via the established summarizeViAnalyzerReport (LBA-REQ-015).
  • validateComparison fails closed unless >= 2 distinct planes each carry a resultHash and ALL resultHashes are identical (the consensus).
  • Live evidence: this host + the Ubuntu golden VM, both LabVIEW 2026, 69 tests, a byte-identical resultHash; the receipt replays offline in CI.

Verification

Historical statement (no longer implemented)

Supersession

Change Guidance

The core experiments/vi-analyzer/crossPlaneComparison.mjs + runCrossPlaneViAnalyzer.mjs and the self-test are gated by cross-plane-vi-analyzer-determinism in verify-local-gates and mapped in the RTM. Authored under the singular-requirement directive (one shall).

TestID

T-043

CodeRef

experiments/vi-analyzer/crossPlaneComparison.mjs; experiments/vi-analyzer/runCrossPlaneViAnalyzer.mjs; experiments/vi-analyzer/verify-cross-plane-comparison.selftest.mjs; experiments/vi-analyzer/fixtures/cross-plane-comparison-receipt.json; experiments/verify-local-gates.mjs

RTM Status

Proven

Clone this wiki locally