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 / train / omega-llm / tools / bench

369395c Omega LLM: equal-compute arm and final chip checks of the looped-model run Drake Stapleton committed 2026-11-21
..
README.md5695
bench.om31952
expect.txt49301
tasks.om37967

README.md

Omega coding benchmark

This benchmark measures whether Omega LLM can write an Omega function it has not seen. It has 165 tasks, one behaviour each, and gives the model no help: one sample at temperature 0, no filtering by examples, and the model has to end its own function.

The earlier coding panels reworded a few trained templates, so their scores measured recall. Here no two tasks compute the same thing, and a task whose reference occurs in a training corpus is counted apart.

Files

FileWhat it is
bench.omThe tool, in seeded Omega. Its head lists every command, verdict and exit code.
tasks.omThe shared inputs and the 165 tasks: an instruction and a reference function each. It is Omega source.
expect.txtThe frozen result of every reference on every shared input, one row per task.

A score is comparable only with scores from the same tasks.om and expect.txt.

The tasks

ShapeSignature after fn solveTasksCases per task
one argumenta ulong to ulong3544
two argumentsa ulong b ulong to ulong3433
three argumentsa ulong b ulong c ulong to ulong3230
array, reada view ulong 8 n ulong to ulong3254
array, changed in placea edit ulong 8 n ulong to void3254

The prompt is the instruction as a note line followed by the fn solve line, the format of the training records. The answer is whatever the model writes after it.

Every task of a shape runs on the same inputs. bench check fails when two tasks of a shape agree on all of them, so the cases tell every task from every other. The closest pair differs in 2 cases.

Build and run

On AArch64 Linux, from the repository root:

seed/out/omc < train/omega-llm/tools/bench/bench.om > bench && chmod +x bench
d=train/omega-llm/tools/bench
mkdir work
./bench check $d/tasks.om $d/expect.txt seed/out/omc work     # CHECK PASS tasks 165 inputs 122 minsep 2
./bench sample $d/tasks.om work ./ollm sample CK MERGES        # work/answer-ID, one per task
./bench score $d/tasks.om $d/expect.txt seed/out/omc work [CORPUS]

sample runs OLLM CMD CK 42 128 0 PROMPT [MERGES] once per task; leave MERGES out for a byte checkpoint. On the GB10 use ./ollm-gb10 gsample inside an authorized Spark window. To sample some other way, write the prompts with ./bench prompts $d/tasks.om work and put each answer in work/answer-ID.

score prints one R ID FAMILY VERDICT line per task, one F line per family and a final line:

SCORE tasks 165 pass 0 passcut 0 seen 0
VerdictMeaning
passThe answer is exactly one function body and every case holds. Only this counts.
passcutThe body passes, but the model kept writing after it.
wrongA case fails, the program traps, or it runs out of CPU time.
nocompileThe compiler refuses the function.
noendThe answer never closes the function.
refusedThe body says exit or trap, which could fake a result.
missingThere is no answer file.
timeoutThe compile or the run passed its deadline.
seenThe task's reference occurs in CORPUS, so it measures recall. Left out of the totals.

Give score the training text as CORPUS to exclude tasks the model was trained on. A reference counts as seen when a function in the corpus has the same text after its names are renamed. ./bench seen $d/tasks.om CORPUS lists them without scoring.

Candidate programs run under execpure: no files, no processes, a CPU and a memory ceiling. If that sandbox is not available the run stops with exit 70 instead of grading.

What has been checked

Checked on AArch64 Linux in a virtual machine, with seed/out/omc 708fdc0f…, on 2026-11-21:

  • bench check passes on the committed files. It fails on an expect.txt with one changed value, and on a task file with a duplicated behaviour (SAME_BEHAVIOUR).
  • The table equals an independent calculation of all 165 tasks written from the instructions in another language. That comparison found nothing; the duplicate check found one pair of tasks that were the same function, and one of them was replaced.
  • Scoring every reference as its own answer gives 165 of 165. Giving every task the answer of the next task of its shape gives 0 of 165.
  • No task is seen in the 1,440-record contrast training corpus (tools/contrast/contrast.om).

Scores

Scores of this task set (165 tasks; tasks.om and expect.txt as committed on 2026-11-21):

DateModelCorpus given to scorePassSeen, set apart
2026-11-218 layers, 15.8M parameters, 6,000 steps on this repository's Omega sourcethat training text0 of 1596
2026-11-21the same with a looped core (16 layer applications)that training text0 of 1596
2026-11-2116 layers, 30.0M parameters, the same trainingthat training text0 of 1596

All were sampled with CPU sample; the looped model's answers sampled on the GB10 with gsample were byte-identical. The run is described in the looped-core notes. Six tasks have their reference function somewhere in this repository's Omega source (u-007, u-009, u-030, p-004, p-006, t-003), so a model trained on that source is scored on the other 159.

Changing the tasks

Add the task to tasks.om, regenerate the table with ./bench table $d/tasks.om seed/out/omc work > $d/expect.txt, and run check. A changed input line changes every row of its shapes, so earlier scores stop being comparable; say so where the scores are kept.