Skip to content

LBA REQ 050

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

LBA-REQ-050: Cross-plane benchmark grid

Status

Proven

Area

Deployment / cross-plane comparison (ADR-0031; roadmap Phase 4)

Statement

The system shall unify the golden-VM LabVIEW benchmarks into a cross-plane grid that records, per benchmark, the machine-independent identity on each plane and the performance metric, so a fail-closed gate proves identities agree across planes and no determinism violation is admitted.

Rationale

The golden VM exists to enable objective, reproducible cross-plane comparison -- the North Star. A single generated grid that shows every benchmark's identity agreement across planes (proof LabVIEW reproduces) plus its performance (the actual benchmark) is the artifact that comparison is for; gating it fail-closed makes a cross-plane determinism violation impossible to merge. First slice of the benchmark-grid arc (roadmap Phase 4), now proven across the OS axis (Linux + Windows).

Acceptance Criteria

  • benchmarkGrid.mjs assembles committed per-benchmark cross-plane receipts into a cross-plane-benchmark-grid@1 receipt, deriving each benchmark's identity agreement + consensus hash from its planes.
  • The grid is OK iff no benchmark's planes disagree on identity AND at least one benchmark is cross-plane-proven (>= 2 agreeing planes).
  • generate-benchmark-grid.mjs renders docs/benchmarks/benchmark-grid.md and the pipeline keeps it current; validateBenchmarkGrid fails closed on a determinism violation, a forged agreement/verdict, or a tampered digest.
  • Live evidence: VI Analyzer (host + scratch VM) and Mass Compile of the icon-editor resource/ source each agree on identity across their planes; Mass Compile is proven across the OS axis -- host + lba-golden (Linux) + win-VITLT-SERGIO (Windows LabVIEW 2026), 3/3 agreeing on resultHash bf722123; the compile-time delta (39s / 24s / 211s) is the performance metric.

Verification

Historical statement (no longer implemented)

Supersession

Change Guidance

The grid assembler experiments/benchmark-grid/benchmarkGrid.mjs plus its self-test are gated by cross-plane-benchmark-grid in verify-local-gates and mapped in the RTM. docs/benchmarks/benchmark-grid.md is GENERATED -- never hand-edit; re-run generate-benchmark-grid.mjs. Authored under the singular-requirement directive (one shall).

TestID

T-050

CodeRef

experiments/benchmark-grid/benchmarkGrid.mjs; experiments/benchmark-grid/generate-benchmark-grid.mjs; experiments/benchmark-grid/verify-benchmark-grid.selftest.mjs; experiments/benchmark-grid/fixtures/mass-compile-host.receipt.json; experiments/benchmark-grid/fixtures/mass-compile-win.receipt.json; docs/benchmarks/benchmark-grid.md; experiments/verify-local-gates.mjs

RTM Status

Proven

Clone this wiki locally