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
omega-mv / research / om-bench / CORPUS-ACCEPTANCE.md
| 1 | # Training-example acceptance rules v1 (for OmegaCorpus; omega-mv #653, #654) |
| 2 | |
| 3 | A record enters the Omega training corpus only if every field below is present and checks out. A record that |
| 4 | fails any rule is rejected with the rule number; it is never repaired silently. |
| 5 | |
| 6 | 1. Contract version: `contract: om-corpus-accept/v1`. A record written under another version is not mixed in. |
| 7 | 2. Source identity: repo, commit sha (40 hex), path, sha256 of the exact .om bytes, licence, and repo |
| 8 | visibility (public / private). Private-repo records go to a local-only split and appear publicly only as |
| 9 | `private-01..NN`. UPSTREAM-FORK repos are skipped. AGPL sources are eval-only, never training. |
| 10 | 3. Compiler identity: omega-mv commit and `seed/out/omc` sha256 the record was checked with. |
| 11 | 4. Producer identity: `human`, `model:<name>@<weights sha256>` with decoding settings, or `tool:<name>@<commit>`. |
| 12 | Model-written code is labelled as such and is never presented as human-written. |
| 13 | 5. Observed result, not a claim: compile exit code and message as observed; for runnable records, the inputs |
| 14 | used, the observed stdout sha256 and exit code, and the date and host. "Compiles" alone makes a record a |
| 15 | syntax example only (tag `evidence: compile-only`). |
| 16 | 6. Checker identity: the program that decided the result (for example gate.om at a given commit and sha256, |
| 17 | or a named test file at a commit). The checker must not be the producer: a lane does not certify its own |
| 18 | output. |
| 19 | 7. Evidence scope: one of `compile-only`, `ran-on-listed-inputs`, `exhaustive-over-domain`, |
| 20 | `solver-checked`. An optimizer rewrite is "test-equivalent" unless exhaustive or solver-checked. |
| 21 | 8. Negative control: each batch includes at least one planted wrong record (wrong output, or a program the |
| 22 | compiler should refuse) and the batch log shows the checker rejecting it with its diagnostic text. A batch |
| 23 | whose control passes is rejected entirely. |
| 24 | 9. Split hygiene: no record may contain, paraphrase or solve a task from the om-bench sealed splits. Check |
| 25 | every record against `handoffs/OmegaEval/heldout-sha256.txt` (exact) and with `leakcheck.py` against the |
| 26 | statements (near-duplicate); a hit is rejected and reported to OmegaEval. |
| 27 | 10. Denominator: the batch log states records offered, accepted and rejected by rule number; offered = |
| 28 | accepted + rejected. |