interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / seed / ng / bench / evidence / 20261107T0800Z-controls

d2d1715 seed/ng: ngbench.om A/B harness (ABBA blocks, sha256 output check, arm identity) and its negative controls (lane ng-bench) aien-spark committed 2026-11-07
..
README.md3207
nc0-clean.cmd49
nc0-clean.rc2
nc0-clean.rows1631
nc0-clean.stderr0
nc1-matmul_bad.om1414
nc1-wrong-output.cmd47
nc1-wrong-output.rc2
nc1-wrong-output.rows737
nc1-wrong-output.stderr46
nc10-changed-midrun.cmd44
nc10-changed-midrun.rc2
nc10-changed-midrun.rows5283
nc10-changed-midrun.stderr649
nc2-swapped-labels.cmd49
nc2-swapped-labels.rc2
nc2-swapped-labels.rows355
nc2-swapped-labels.stderr40
nc3-manifest-mismatch.cmd49
nc3-manifest-mismatch.rc2
nc3-manifest-mismatch.rows425
nc3-manifest-mismatch.stderr22
nc4-unlisted.cmd49
nc4-unlisted.rc2
nc4-unlisted.rows422
nc4-unlisted.stderr26
nc5-missing.cmd49
nc5-missing.rc2
nc5-missing.rows446
nc5-missing.stderr25
nc6-bad-want.cmd49
nc6-bad-want.rc2
nc6-bad-want.rows504
nc6-bad-want.stderr19
nc7-exit-status.cmd49
nc7-exit-status.rc2
nc7-exit-status.rows892
nc7-exit-status.stderr44
nc7-exit3.om25
nc8a-usage-arm.cmd42
nc8a-usage-arm.rc2
nc8a-usage-arm.rows0
nc8a-usage-arm.stderr75
nc8b-usage-zero-blocks.cmd34
nc8b-usage-zero-blocks.rc2
nc8b-usage-zero-blocks.rows0
nc8b-usage-zero-blocks.stderr75
nc8c-usage-no-sep.cmd37
nc8c-usage-no-sep.rc2
nc8c-usage-no-sep.rows0
nc8c-usage-no-sep.stderr75
nc8d-usage-nonnumber.cmd34
nc8d-usage-nonnumber.rc2
nc8d-usage-nonnumber.rows0
nc8d-usage-nonnumber.stderr0
nc8e-usage-no-case.cmd27
nc8e-usage-no-case.rc2
nc8e-usage-no-case.rows0
nc8e-usage-no-case.stderr75
nc9-abba-3arms.cmd49
nc9-abba-3arms.rc2
nc9-abba-3arms.rows1325
nc9-abba-3arms.stderr0
sum.ngbench508
sum.rc2
sum.sha256sum508

README.md

ngbench negative controls, 2026-11-07 08:00Z (lane ng-bench)

Status: EXERCISED on the Spark host (core 1, A725, taskset -c 1). Untimed: these rows check refusal behaviour, not speed.

Harness: seed/ng/ngbench.om sha256 19be4ff690a949fbdadb5e5fcb4e45faac668f259c9184b66ab1684f407e77b6, compiled by seed/out/omc (sha256 5f90edea…f6df, omega-mv 943d9555) to a binary with sha256 1a67a09d7a03a04cb168e33086db40324bf80055e97156085c1e1872b3f47e07.

Fixture per control: a scratch DIR with bin/omc/{matmul,leafcall} (omc builds of the frozen kernels), bin/gccO2/{matmul,leafcall} (gcc -O2 -static builds of the C twins), want/ copied from seed/ng/bench/kernels/want/, and manifest.sha256 written by ngbench sum bin/*/* inside DIR. Each control then makes one change and runs the command in <id>.cmd. Files: <id>.rows stdout, <id>.stderr, <id>.rc exit.

idchange to the fixtureexpectedobserved
nc0-cleannone, 2 blocks + 1 warmexit 0, no R rowexit 0, 0 R rows
nc1-wrong-outputarm omcbad = omc build of nc1-matmul_bad.om (one constant 13 -> 14), listed in the manifesttimed, every omcbad run refused output, exit 1exit 1, 2 x R output matmul omcbad
nc2-swapped-labelsgcc binary placed under omc, omc binary under gccO2, manifest regenerated to agreerefused label before any timing, exit 1exit 1, R label matmul omc + R label matmul gccO2, 0 T rows
nc3-manifest-mismatchbinary replaced after the manifest was writtenrefused manifest, exit 1exit 1, R manifest matmul omc
nc4-unlistedone binary's line removed from the manifestrefused unlistedexit 1, R unlisted leafcall gccO2
nc5-missinglisted binary deletedrefused missingexit 1, R missing leafcall gccO2
nc6-bad-wantwant/leafcall.sha256 not 64 hex digitsrefused nowantexit 1, R nowant leafcall
nc7-exit-statusomc arm replaced by nc7-exit3.om (exits 3), manifest regeneratedrefused status per runexit 1, 2 x R status leafcall omc
nc8a..eunknown arm prefix clang; 0 blocks; no --; non-number WARM; no caseusage, exit 2exit 2 for all five
nc9-abba-3armsthird arm gccO3n, 2 blocks + 1 warmeach block palindromic, start arm rotatesblocks: omc gccO2 gccO3n gccO3n gccO2 omc / gccO2 gccO3n omc omc gccO3n gccO2 / gccO3n omc gccO2 gccO2 omc gccO3n
nc10-changed-midrun1.5 s into a 20-block run the gccO2 binary is replaced (new inode via mv) by the matmul binarywrong-output rows refused, final hash recheck refuses changedexit 1, 26 x R output leafcall gccO2 (blocks 7..19), 1 x R changed leafcall gccO2

Defect found and fixed while running these: ngbench run without -- read an argument index past argcnt, which traps 3 (OMEGESE.md: "argread ... An invalid index traps 3"), exit 103. The separator search now stops at argcnt and the missing separator is a usage error (nc8c, exit 2).

sum.ngbench vs sum.sha256sum: ngbench sum and GNU sha256sum on the same seven files (empty, 64 bytes, 65 bytes, 200000 random bytes, both chacha binaries, omc) are byte-identical (cmp exit 0).