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 / spec / offline-evidence-v1.md

141 lines · 9365 bytes Raw Blame History Source

Offline evidence schema v1 (OEV1) for the resource-DAG cost simulator

Status: FROZEN 2026-10-19 (omega-mv#583, implement item 1). Consumers: omega-mv#583 (tools/dagsim), omega-mv#584 (candidate screening), aien-architecture#246 (lifecycle ledgers). A change to a frozen field is a v2, never an edit of v1.

Purpose: one text file describes a machine, the build and calibration it was measured with, the resources, an operation DAG with demands, buffer lifetimes, dependencies, synchronization and the energy instrument, so that an offline evaluator (no GPU, no execution) can compose existing per-operation estimates into whole-DAG costs and bounds. The file never carries a number without saying where it came from.

File form

Plain text, UTF-8, one record per line, fields separated by whitespace, key=value pairs after the record keyword, # to end of line is a comment. Unknown keywords are errors (a parser that silently ignores a field would let a fabricated or misspelled number through). Line numbers are reported on every error. No value may contain whitespace. Maximum 256 operations, 32 resources, 256 buffers, 1024 dependencies (static limits; a larger DAG is refused with REFUSED_UNSUPPORTED, not truncated).

Units are fixed by the schema and never per record: time ns, bytes B, bandwidth B/s, power W, energy J, capacity B. Dates are YYYY-MM-DD. Integers are decimal; reals accept 1.5e9.

Provenance (mandatory wherever a number appears)

prov= takes exactly one of:

valuemeaning
specifieda vendor or design ceiling (datasheet). Never attainable by itself.
measuredread from an instrument on the named machine; src= names the receipt.
fittedproduced by a model fitted on measurements (e.g. rx_costmodel); src= names the model blob or the fit receipt.
syntheticmade up for a sensitivity study; results that depend on it are labelled synthetic and never ranked as real.
unknownnobody knows. The evaluator refuses to turn this into a number.

lo= and hi= give the interval that the source supports (for measured: the repeat spread of the receipt; for fitted: the model's predictive interval). Missing lo/hi on a measured or fitted value means "no interval known" and the evaluator reports the result without interval coverage.

Records

oev version=1
machine id=<host> soc=<name> cores=<n> mem_bytes=<B> prov=specified src=<where>
build repo=<name> sha=<40 hex> [physics=<sha>]
calibration id=<name> taken=<YYYY-MM-DD> valid_days=<n> load1=<x> src=<receipt dir or file> [model=<path to rx_costmodel blob>]
resource id=<name> kind=compute slots=<n> prov=<p> src=<s>
resource id=<name> kind=bandwidth cap=<B/s> [lo=<B/s> hi=<B/s>] prov=<p> src=<s>
resource id=<name> kind=capacity cap=<B> prov=<p> src=<s>
resource id=<name> kind=launch prov=<p> src=<s>
op id=<name> kind=<compute|copy|matvec|barrier|storage|persist> [engine=<compute res>] [t_ns=<x> lo=<x> hi=<x> prov=<p> src=<s>] [bytes=<B> bw=<bandwidth res>] [launch_ns=<x> launcher=<launch res>] [M=<n> N=<n> core=<0|1|2> arm=<n>]
dep <from op> <to op>
buffer id=<name> bytes=<B> cap=<capacity res> [first=<op>] [last=<op>]
sync id=<name> ops=<op,op,...>
energy instrument=<none|name> [boundary=<wall|gpu_module|soc>] [joules=<J> prov=measured src=<receipt>] [power_w=<W> prov=synthetic]
removed op=<id> reason=<eliminated|reused|unchanged_dep|deferred|moved|shared|lookup> [ref=<op or result identity>] [proof=<src>]

Semantics the evaluator is allowed to rely on:

What a result must carry

Every evaluator output names: schema version, machine.id, build.sha, calibration.id and load1, asof, the status (OK, REFUSED_*), the set of provenances that fed the result, makespan nominal/lo/hi, the critical-path bound and each resource-work bound (both must be <= makespan), peak live bytes, energy status, the attribution ledger (compute, bandwidth, contention, launch, serialization, sync, residual), and the counterfactual sensitivities. A result whose inputs include synthetic is marked synthetic=1. A result never contains a number for an unknown input.

Pinned sources for v1 fixtures