diff --git a/docs/learn53/CATALOG.md b/docs/learn53/CATALOG.md new file mode 100644 index 00000000..a5f7500f --- /dev/null +++ b/docs/learn53/CATALOG.md @@ -0,0 +1,100 @@ +# Frozen public CUL1 catalog and Omega653 adapter + +This is a **native-host domain component**, not a generated-candidate experiment, +protected evaluator, authenticated verdict service or GPU qualification. All +implementation and behavioral tests are seeded `.om`. Existing Linux tools are +development orchestration only; #15 still owns the native build boundary. + +## Frozen public profile + +`kload(id:ulong)->ulong` writes the fixed task into `kt`, returning its length. +IDs outside1..8 return0 without modifying either `kt` or `ko`. Valid loads clear +all4096 task bytes before writing; they never modify candidate observations `ko`. +The contents, arithmetic mode, strides, tolerances and task membership cannot be +selected through observed-output bytes. Existing generic `kvalid`/`keval` remain +useful trusted-manifest APIs; this catalog does not replace or rename them. + +|ID|Task|Task bytes|Guarded output bytes| +|--|--|--:|--:| +|1|add3, stride2, wraparound|136|28| +|2|add8, dense,7+9|160|40| +|3|add17, dense,UINT32_MAX+3|232|76| +|4|reduce3, stride2,UINT32_MAX+2+3|116|12| +|5|reduce8, dense, allUINT32_MAX|128|12| +|6|reduce17, dense, allUINT32_MAX|164|12| +|7|matmul M2,N3,K2, row strides3/4/4|144|36| +|8|matmul M3,N2,K3, row strides3/2/2|156|32| + +CUL1 pool1 means public development. It maps to Omega653 public development +split2. All these cases are public, deliberately share algorithm/template +families, and are **not** disjoint training/adaptive/final evaluation pools. +Memorizing their outputs can pass them; no generalization claim is possible. +Exact emitted bytes/digests are published in the continuation receipt. + +`catalog-export.om` is a development fixture emitter: exactly one stdin byte +selects ID1..8; stdout is only the frozen CUL1 task. Invalid frame length65, +unsupported ID77, I/O failure74; failure emits no task bytes. Its test checker +compares complete streams natively. Neither program executes candidate code. + +## Canonical dependency, not a second framework + +`native/learn53/omega653.lock` pins Omega source84d03c55 and the exact SHA256 of +`src/learning/benchmark/core.om`. Export that committed Git object explicitly, +check its digest and concatenate it with task.om, catalog.om and omega-adapter.om. +There is no vendored implementation, mutable sibling binary, implicit download +or changed upstream code. The inspected exact upstream LICENSE is GNU AGPLv3. +Its185-check component ELF is independently reconstructed byte-for-byte before +this consumer is exercised. Full upstream653 review/acceptance remains separate. + +## Adapter API and authority + +`aobserve(id,status,code,n)->ulong` consumes candidate bytes from `LGot[256]`. +It reloads the fixed catalog, validates CUL1, constructs independent expected +bytes from the existing `kexpect` reference (including both guards and padding) +in `LWant`, then calls the unchanged `lobserve`. It does not accept a claimed +PASS, tolerance, task payload or expected-output field from a candidate. +Result codes are canonical:0 correct,1..6 executor failures,7 wrong bytes, +8 exit/trap mismatch,9 empty output,10 malformed/unknown task. + +`abegin(budget)->ulong` requires eight caller-owned LT records in ID order1..8: +public development split2, visibility1, numeric family=operation1/2/3, source +profile/schema1, oracle53, template1, input/output bounds from the table, declared +step bound1000000 and reserved0. The five digest groups retain their upstream +meaning and must be supplied by the qualified independent metadata owner; this +adapter does not invent or authenticate them. `lbegin(8,1,budget)` validates the +canonical manifest and starts a one-attempt-per-task run. If scalar catalog +fields disagree, `lbegin(0,1,budget)` intentionally invalidates the fresh run +(code1), clearing any prior completed-valid scores. An already active run is +refused with20 and preserved, matching the canonical lifecycle. + +`aattempt(index,ordinal,status,code,n)->ulong` observes catalog ID=index+1 and +passes the derived outcome to `lattempt`. It never rewrites LC, LPin or the +outcome to fabricate success. Caller finishes using canonical `lfinish()`; +omitted tasks30, repeated ordinals28, bad identities26, missing costs23 and +exceeded time budget29 prevent a valid completed run. A wrong candidate may +produce a valid experiment record with a failure in the fixed denominator; +that is not candidate acceptance. Only completed-valid runs can report scores. +The step bound is declared metadata, not a process time limit enforced here. + +All arrays are single-threaded, nonconcurrent scratch. LT, LPin, LC, status and +exit code belong to a **trusted executor**, not the candidate. Matching claimed +hashes do not authenticate an executable or establish custody. A same-process +hostile caller can change globals; this API is not a sandbox. Source hashing, +process supervision, measured costs, result authenticity and protected task +custody remain Omega653/L408/L605 and existing canonical owners' obligations. + +## Evidence boundary + +The tests use **explicitly synthetic** LT digest words, compiler/ELF identities +and cost vectors to exercise the canonical admission/accounting behavior. They +are not real candidate records, training feedback, measured baseline costs, +complete-workload performance, corpus qualification or release approval. Literal +observed-output fixtures are independently derived public arithmetic answers; +they do not claim to be output from a newly generated candidate program. + +No runtime, encoder, disassembler, operation lowering, numerical contract, +benchmark collector, admission/session system, model graph, reuse store, trainer +or RSI judge is replaced. No legacy dependency is retired because no production +consumer has cut over. Larger generic CUL1 layouts remain valid in task.om but +are not silently narrowed into the256-byte Omega public observation profile. +Full #53 and #54–60 acceptance gates remain open. diff --git a/docs/learn53/CONTINUATION-COMMANDS.md b/docs/learn53/CONTINUATION-COMMANDS.md new file mode 100644 index 00000000..f401c4cb --- /dev/null +++ b/docs/learn53/CONTINUATION-COMMANDS.md @@ -0,0 +1,61 @@ +# Continuation reconstruction + +Run on Linux AArch64. Source revision and resulting hashes are named in +`evidence/LEARN53-L777-CONTINUATION/RECEIPT.md`. Use a fresh private output +directory; commands are disclosed existing development orchestration, not a +shipped native runner, installer, performance harness or complete build cutover. + +Reuse the previously reconstructed source-only toolchain at bridge +`0fc7d8662cb799e7c206b17c18ea4c3ec2b8fea9`. Check `sha256sum` of +`build/bootstrap/omc` equals +`191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9`. + +Export exact committed CUDApp sources with `git archive "$REV"`; do not use a +mutable worktree. Export upstream source with: + +```sh +git -C "$OMEGA" show 84d03c5523f39ca1045d1c313c5f62597779462b:src/learning/benchmark/core.om > "$OUT/omega-core.om" +sha256sum "$OUT/omega-core.om" +``` + +Require `a5a2e74c815f9ca6a90dbdfbfc7ecc343f0362c824064f2058e9d1d7c119c40c`. +The corresponding upstream `tests/learning/benchmark/core-test.om` must build +and run with this source first; expected `BENCHMARK_CORE_PASS` and185. + +Ordered concatenation lists (no hidden source inputs): + +- catalog: task.om, catalog.om, tests/learn53/fixtures.om, catalog-fixtures.om, catalog-unit.om. +- omega: upstream omega-core.om, task.om, catalog.om, omega-adapter.om, tests/learn53/fixtures.om, catalog-fixtures.om, omega-unit.om. +- catalog-export: task.om, catalog.om, tests/learn53/catalog-export.om. +- catalog-check: task.om, catalog.om, tests/learn53/catalog-check.om. +- original-core/frame/stream: unchanged commands in evidence/LEARN53-L777/COMMANDS.md. + +Product basenames above resolve under native/learn53; test basenames under +tests/learn53. Assemble each ordered list into a private translation unit, then: + +```sh +quiet-build timeout 30 "$OMC" < "$OUT/unit.om" > "$OUT/unit.elf" 2> "$OUT/compile.stderr" +# Require compile exit0 before any execution; empty output is not an ELF. +test -s "$OUT/unit.elf" +readelf -h "$OUT/unit.elf" +chmod 700 "$OUT/unit.elf" +timeout 10 "$OUT/unit.elf" +sha256sum "$OUT/unit.elf" +``` + +Catalog expected83 PASS lines; Omega adapter160 PASS lines; original core77 +and frame17. Every test main returns fixed1 for any failed assertion. +For each byte ID1..8, route it to catalog-export, save stdout as task-N.cul; +prepend that same selector byte and route the result to catalog-check (exit0). +Empty input or two selector bytes must yield exporter65; byte0 or9 yields77. +No failure may emit a partial task. Save all stdout/stderr/status. + +The three compiled negative-control copies change only omega-adapter.om: +ignore-outcome passes0 to lattempt; omit-task calls lbegin7; ignore-length +passes expected length as observed length. Unchanged160-check suite must fail +with nonzero status after successful compilation. Original sources remain +unchanged. Raw source copies and outcomes are preserved in evidence. + +Host command timings/RSS, where recorded, are coarse process observations only; +LC unit fixture values are NOT those measurements. Full lifecycle cost and +energy remain UNKNOWN. No GPU launch, candidate sandbox or model is invoked. diff --git a/docs/learn53/CONTINUATION-PLAN.md b/docs/learn53/CONTINUATION-PLAN.md new file mode 100644 index 00000000..18fb8057 --- /dev/null +++ b/docs/learn53/CONTINUATION-PLAN.md @@ -0,0 +1,43 @@ +# Frozen public catalog and canonical framework attachment + +> **For agentic workers:** REQUIRED SUB-SKILL: use superpowers:executing-plans. Continue the authorized L777 implementation inline. + +**Goal:** Freeze all eight supported public CUL1 families into a compiled catalog and attach the independent evaluator to the existing Omega653 component. +**Architecture:** task.om stays authoritative for CUL1 validation/reference. catalog.om supplies fixed public data. omega-adapter.om prepares independent expected bytes and calls unchanged pinned lbegin/lobserve/lattempt APIs; lfinish remains canonical. No second scheduler, budget recorder, custodian, process runner, hash implementation or judge. +**Tech Stack:** seeded .om, source-only compiler191b776e; Linux AArch64. +**Spec:** CUDApp #53/#52, docs/learn53/CONTRACT.md and pinned Omega docs/learning/benchmark-v1.md. + +## Global Constraints +- Reuse existing worktree and PR61. Preserve all old receipts and source11ad6a0. +- Canonical dependency: omega-mv84d03c5523f39ca1045d1c313c5f62597779462b, src/learning/benchmark/core.om, SHA256 a5a2e74c815f9ca6a90dbdfbfc7ecc343f0362c824064f2058e9d1d7c119c40c. AGPL-3.0. No vendored fork. +- IDs1..8: add3/add8/add17/reduce3/reduce8/reduce17/mat2x3x2/mat3x2x3. All public development; these are NOT disjoint heldout pools. +- Fixed membership eight, one attempt per task. Metadata, costs and compiler/ELF identities are trusted executor inputs, never candidate result fields. +- Genuine source/structure/family/lineage metadata and measured costs belong to the qualified framework caller. Unit metadata/cost fixtures are SYNTHETIC, not validated feedback or measured baseline costs. +- No model, GPU, process isolation, receipt authentication, protected splits, production cutover or full-issue acceptance. + +## Review Focus +Candidate bytes cannot alter input values, strides, arithmetic, shape, tolerances or membership. Missing/duplicate tasks cannot produce valid complete-run scores. Invalid next run cannot expose stale completed-valid state. Bounds precede reads; invalid IDs preserve buffers. Tests must not be promoted to measured experiment records. + +### Task 1: Fixed public domain catalog +Files: native/learn53/catalog.om; tests/learn53/catalog-fixtures.om, catalog-unit.om. +Interfaces: kload(id:ulong)->ulong returns canonical task byte count; zero on unsupported ID without changing kt/ko. kput(word,value) is internal LE32 serialization. +- [ ] Tests: all eight independently derived literal outputs, exact headers/bounds, every output tail corrupted, invalid0/9/max IDs preserve buffers, poisoned policy reset on reload. +- [ ] Compile stub; expected behavioral FAIL and fixed nonzero status. +- [ ] Implement catalog; compiled test expected all PASS. + +### Task 2: Canonical observation and accounting attachment +Files: native/learn53/omega-adapter.om, omega653.lock; tests/learn53/omega-unit.om. +Interfaces: aobserve(id,status,code,n)->ulong consumes LGot and builds LWant using kexpect; abegin(budget)->ulong validates fixed scalar LT fields and calls lbegin(8,1,budget); aattempt(index,ordinal,status,code,n)->ulong calls aobserve then lattempt. Production never synthesizes LC/LPin. Caller finishes via lfinish. +- [ ] Synthetic unit-only fixtures: full8, omitted task, duplicate, wrong values/guard/tail/stride/PASS spoof, failed process, empty/oversize, poisoned manifest reset, unknown ID, wrong compiler/ELF identity word, missing costs, over-budget, invalid-next-run stale-state rejection. +- [ ] Compile stubs, observe intended behavioral failures. +- [ ] Implement thin adapter; expected all PASS. + +### Task 3: Immutable qualification, review and publication +- [ ] Replay exact pinned upstream185 checks before dependent gates. Exercise original native suites. +- [ ] Compile behavioral mutants; require successful native ELF build then intended test failure. Preserve all failed attempts. +- [ ] Freeze source, fresh export/reconstruction, source/binary hashes, commands, raw results and limitations. +- [ ] One independent exact-source review; fix findings through RED/GREEN. +- [ ] Push existing feature branch, verify remote head, update issues and existing desk intake. No second PR or full53 acceptance claim. + +## Ruling +The initially considered native candidate experiment is not supported by the published component: custody/process/cost prerequisites remain unqualified. Deliver native domain/API composition with explicitly synthetic accounting tests instead of fabricating real source identities or lifecycle measurements. Cost if wrong: this component must not be promoted as an experiment runner. diff --git a/docs/learn53/CONTRACT.md b/docs/learn53/CONTRACT.md new file mode 100644 index 00000000..19e5d1cc --- /dev/null +++ b/docs/learn53/CONTRACT.md @@ -0,0 +1,72 @@ +# CUL1 public native-host task contract + +Scope: the bounded CUDA++ domain adapter for #53. **NOT full #53 acceptance, a new benchmark service, or a GPU execution path.** All newly delivered executable logic/tests are seeded `.om`. Existing Linux/shell commands still assemble/build the modules; replacing that inherited host glue belongs to Omega #635/#636 and CUDA++ #15. No retirement claim. + +## Authority and interface + +`task.om` exports `kvalid(n:ulong)->int` and `keval(n:ulong,c:ulong)->int`, using single-threaded fixed scratch arrays `kt:uchar[4096]` (trusted frozen task) and `ko:uchar[1032]` (observed candidate output). It never writes either array. `wire.om` exposes `kframe(n:ulong)->int` over `packet:uchar[5137]`, copying a complete public developer frame into those arrays before checking. Buffers must not be used concurrently. + +The eventual Omega #653 caller must bind the manifest, compiler, evaluator, actual candidate/launch and output acquisition to immutable identities and keep the task inaccessible to candidate modification. No such framework attachment is qualified here. The data-only stdin entry can be given any public task by its caller; it does **not authenticate** that task and is not a sandbox or promotion authority. Its `HOST_ONLY 0` text is a diagnostic, not a signed receipt. Candidate bytes are never interpreted as code, claimed timing, policy, tolerances or a PASS flag. Tests of fake result bytes do not qualify protection against substituting the evaluator executable or recorder. + +## Canonical serialization + +One manifest is 24 little-endian unsigned 32-bit header words (96 bytes), followed by A's complete physical footprint and then B's, in little-endian u32 words. Exact length only, no optional/trailing fields, whitespace or alternate serialization. Serialization is this fixed byte layout, not JSON. Headers and all unused flags are validated before any payload access. + +| Word | Field | Accepted values | +|---:|---|---| +| 0 | magic | ASCII `CUL1`, LE value827086147 | +| 1 | schema | 1 | +| 2 | operation | 1 add; 2 left-to-right sum; 3 matmul | +| 3 | scalar profile | 1 unsigned32 modular | +| 4 | numerical mode | 0 exact integer, no floating tolerance | +| 5,6,7 | M,N,K | registered shapes below | +| 8,9,10 | A,B,output element/row strides | bounded0..32 and checked footprints; zero B stride only for sum | +| 11,12,13 | A,B,output physical word counts | each <=256; A/output nonempty by shape; B zero only for sum | +| 14 | pool | 1 public development; 2 validation and3 final refused with77 | +| 15 | normalized shape/operation family | derived from actual dimensions, not a caller-selected family | +| 16 | display task ID | nonzero u32, **not** a deduplication or content identity | +| 17 | reference semantics revision | 1 | +| 18 | alias rights | 0 disjoint inputs/output only | +| 19 | effects | 1 output-only writes, inputs unchanged | +| 20 | target/evidence class | 1 native-host reference; 121/other targets unsupported | +| 21,22 | absolute/relative tolerances | both exactly0, changing either is invalid | +| 23 | reserved | exactly0 | + +A manifest's immutable identity is its exact bytes, externally hashed by the framework. Semantic fields/input bytes, provenance/task label/pool and performance context must remain separately identified in that framework. This module does not invent an abbreviated hash or a second identity registry. A renamed task is not declared novel. Family tags are necessary metadata, not a completed family-split/deduplication service. + +Registered families: +- Add: `(M,N,K)=(3,1,1),(8,1,1),(17,1,1)`, families101/102/103. Each operand/output footprint is `(M-1)*stride+1`, positive strides. +- Sum: same shapes, families201/202/203. A has that footprint; B count/stride0, output count/stride1. +- Matmul: `(2,3,2),(3,2,3)`, families301/302. A is MxK, B is KxN, output MxN. Respective row strides >=K, >=N, >=N. Footprint is `(rows-1)*stride+columns` with no unused trailing row padding. +- All products/offsets are bounded after shape/stride/count admission; unsupported shape is never a GPU capability claim. + +The scalar reference is independent of CUDA++'s generator, encoder and candidate implementations. Add/multiply/sum retain the low32 bits. Sum and matmul traverse the reduction dimension in increasing order. For this modular integer domain different summation orders are mathematically equivalent; these tests **cannot detect or prove floating-point reduction-order preservation**. NaN/Inf/signed-zero/subnormal semantics and FP conversion/approximation are unsupported, not covered as floats by integer bit patterns. This implements the exact-integer branch required by #16's addendum, not a replacement for its finite-FP comparator, model-quality authority or trace format. + +## Observed output layout + +Candidate output is `(output_count+2)*4` bytes: leading canary, complete physical output footprint, trailing canary. Canaries and internal padding equal `0xA5A5A5A5`. Every logical word is independently recomputed from the trusted task, every padding/canary checked. Exact output size is mandatory. Correct initial bytes cannot prove a write occurred; skipped-write controls poison the output and demonstrate detection of omitted observable results, not arbitrary memory-effect tracing. The future acquisition owner must also observe protected inputs and actual device memory. + +Statuses:0 checked match in this public native-host domain;1 mismatch/canary corruption;65 malformed record, counts, policy or output length;69 unsupported version/profile/op/shape/effects/target;77 non-public pool access refused;74 stream I/O failure. Input-length bounds precede field reads; structural checks precede semantic support, pool, shape/stride and output checks. No cached PASS survives another call. + +## Native developer replay + +Build only with the explicit, source-reconstructed compiler SHA256 +`191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9`. +Qualified source import: omega-bridge `0fc7d8662cb799e7c206b17c18ea4c3ec2b8fea9`, seed origin omega-mv `29b12760f4c962606411d6bf25032aedef063301`. + +Existing development commands on Linux AArch64, with a private fresh output directory and `OMC` pointing to that verified compiler: + +```sh +cat native/learn53/task.om native/learn53/wire.om native/learn53/stream.om > "$OUT/stream.om" +"$OMC" < "$OUT/stream.om" > "$OUT/stream" +# Require successful compilation, nonempty static AArch64 EXEC, then chmod700. +timeout 10 "$OUT/stream" < public-frame.bin +``` + +A frame is `u32le(task_length) || manifest || u32le(output_length) || observed_output`. EOF is required. The reader handles fragmented reads, refuses truncation/trailing bytes and reads at most5137 bytes. It never opens a file or launches a process. An open pipe can stall: the caller's existing deadline/isolation is required; no native wall-clock/process supervisor is claimed. + +Native test construction follows the same concatenation with `tests/learn53/fixtures.om` plus `unit.om`. The frame tests add `wire.om`, `stream-fixtures.om`, `stream-unit.om`. The public emitter substitutes `stream-input.om` and reads one mode byte:0 valid,1 wrong result,2 truncated,3 extra byte,4 forged length,5 final-pool refusal. `stream-check.om` independently checks the exact success diagnostic. No test runner or compiler wrapper in another implementation language was added. + +## Acceptance still pending + +Omega653 framework attachment and complete attempt/budget record; independent split custody/deduplication/sealing; #15 seeded host qualification; #16 FP/numerical policy migration; #17 real native full-cost collector/paired baselines; one measured hot operator; #10/#35 independent binary/launch admission; #24 runtime memory/session integration; GB10 and full consuming graph; independent judge and production release. No speed reward, candidate generation, training, proof or default selection occurs in this slice. Hardware/consumer tests are NOT_RUN, not NO-GO experiments. diff --git a/docs/learn53/DEPENDENCIES.md b/docs/learn53/DEPENDENCIES.md new file mode 100644 index 00000000..831d909a --- /dev/null +++ b/docs/learn53/DEPENDENCIES.md @@ -0,0 +1,60 @@ +# CUDA-LEARN dependency and evidence reconciliation + +Historical inspection baseline: CUDApp public main `80f3a2492eef315106feebfdffcb32de39be7d95`. +All #52-60 issue bodies/comments, #15/#16/#17/#19/#22/#26/#35 addenda, and linked Omega/trainer/RSI requirements were fetched before editing. Only existing open CUDApp PR was #28 (LocalRouter); it does not implement these tasks. No active CUDA-LEARN implementation owner was displaced. Parent ledger L777; independent review L778. Canonical backend, compiler, runtime, source owners and Merge Desk remain unchanged. + +## Preserved implementation and evidence + +| Existing owner/input | Resolved head | What its evidence actually establishes | +|---|---|---| +| #15, L466 host qualification | `2bf8b781219ac179336d5e7a876d63e6fb5d1873` | executable1f281708;35 host targets,8 legacy OSC slices; x86 cross-compile only. Native .om replacement and final consumer not established | +| #16, L467 numerical contracts | `2da3fa1b2392bcab593bbb5f71a36b04a6d289b1` | source3565287250e4ebd40e79a23d978edd3c936c94f2; finite nonempty FP comparison,285 API/236 router-simulator/19 trace fixture tests. No full model or GB10 receipt | +| #17, L468 benchmark collector | `65948c9c9420391782939e3492b9ed310ec774c7` | source4fdc3dabc5a0243ad93b6106e76497d0ce428d8a;18 formatter/12 wrapper/62 JS tests; real graph API but fixture observations only, batch1, unknown counters omitted. No measured native model baseline | +| #24, L475 reservation | `65e7ae4b8b52d51664153e9cf02b752473165fac` | source264c7752bceb38e18b4f58125a07ad1719b1ad6b;228 parent checks, real process recovery,8 mutants. No actual device allocation/cleanup or disjoint memory overhead measurement | +| #48, L600 weight codec | `566dc53502321166f4a898a29f8e4f828a209239` | existing native/weightpack/weightpack.om,464 codec cases and selected five real-matrix exact replays. Not a full payload census, loader/model cutover or speed result | +| Recovery provenance | `22965981baf78b3ae8768444f071f9b2c5410a55` | inventory/recovery snapshot, not qualification of this source or final artifact | +| #5, L457 canonical backend | `349913f17c083996680c72b32f767b225005155d` | existing integration branch owns runtime/library changes. Not copied or overwritten by this adapter | + +These refs and receipts are left immutable. No cherry-pick of the legacy runners is presented as seeded delivery. New code resides only under `native/learn53/` and tests under `tests/learn53/`. The scalar reference is not a second runtime, GPU IR, disassembler, schedule search, store, trainer or judge. It adds a GPU-domain public contract evaluator to be consumed by the existing framework. + +## Finite remaining work, in required order + +| Issue | Current deliverable/status | Exact remaining prerequisite and owner | +|---|---|---| +| #53 | Seeded native-host public u32 manifest/reference/output slice; three operation kinds, eight registered shape families, refusal/negative controls. Full issue OPEN | #653/L775-L776 qualified framework/profile and independent split custody/result accounting; #15/L466 seeded eight-slice/build path; #16/L467 qualified numerical modes; #17/L468 native .om collector and full-cost hot-operator baseline; #10/#35 byte/launch path. Host-only results cannot substitute | +| #54 | NOT_RUN | #53's frozen independent framework plus qualified .om microkernel/lowering records #35, legal action interface #22/L473 and independent decoder #10. No speculative competing registry/search created | +| #55 | NOT_RUN, not NO-GO | #53 corpus; #13 repeatability; #10/#22 qualified native perturbation instruction/control and device path. Existing runtime/session owner must admit bounded instrumented artifact; no delay opcode guessed, no live waits removed | +| #56 | NOT_RUN | one supported task + actual #55 scope, existing Omega #623/#624/#625 checker/semantic interface and #35 binary correspondence. No duplicate proof engine or claim from hashes/real algebra | +| #57 | NOT_RUN | validated candidate #54 or #22, #16/#17 numerical/full-graph costs, #19 dependency records/L470, #24/L475 native memory/session cutover; #5/L457 canonical consuming graph. No incumbent/default modified | +| #58 | NOT_RUN | real applicable #53-57 receipts, Omega #651/#658 existing semantic store and RSI #67 independent evaluation; matched total-cost experiment. No new store or claimed break-even | +| #59 | NOT_RUN parameter training; current public fixtures are development-only, not a trained corpus | #53/#54 validated task/action/feedback interface, native gradients/update/checkpoint/resume under Omega606 and existing trainer L491, then aien-train3/4. No inference-budget gain mislabelled training | +| #60 | NOT_RUN | qualified native rollout/update path and objective snapshot semantics from Omega606/aien-train3/4, #16/#17/#35; must compare exact logits/probabilities/KV and wrong-snapshot controls. No probability cache or optimizer consumer changed | + +At the initial inspection Omega #653's existing L775/L776 work was stopped at an account cap (superseded by the continuation below). Its coordination record explicitly says TICK-OFF is set and continuation is queued/unacknowledged. This chat did not restart them or invent a replacement framework. A dependency request was appended to the existing L775 inbox naming the public domain adapter and requesting its qualified immutable interface. Missing process/deadline/isolation/build-host primitives remain with Omega #635/#636/L408/L605. Native library tests proceed independently; authenticated custody and whole-workload qualification do not. + +## Identity and cost limits + +This slice is not using a model/tokenizer, policy checkpoint, generated GPU binary, launch descriptor or driver. Their identities are NOT_APPLICABLE to native-host reference execution; actual GB10/consumer rows are NOT_RUN. The manifest itself fixes the host target and numerical mode and rejects a GB10 target request. + +No candidates generated, no optimization/training arms, no model inference or GPU time requested. Full lifecycle baseline, uncertainty, performance, energy, and caller CPU/GPU/time/token budget enforcement are NOT_RUN. Output/input byte capacities and executed check counts are measured/verified separately. Existing host suite timing printouts are diagnostics, not performance evidence. + +No superseded production code/dependency was removed because none has yet been qualified and cut over by this additive domain slice. Legacy C/.osc/build/runner presence remains unfinished work under its existing owners, never the accepted final state. Removing it now would discard un-replaced consumers. A future integration must qualify and delete those active paths while preserving history. + +## Continuation: canonical component became available + +Source94ada80cd8acf2c31441ab1dcee98f896ce884c4 adds the frozen public catalog and +an actual native composition with Omega653 core84d03c5523f39ca1045d1c313c5f62597779462b. +L775/L776 were resumed by their authorized owner, not this chat. Published +upstream headdd28ebc0a84abc4dab3a38bde49aeae98c846c78 carries the bounded185-check +component and public observation evidence. This supersedes the old stopped-owner +status, not the remaining process/custody/full-cost gates. The continuation uses +that exact core by external source lock, without copying it into active product +source or changing its owner. Catalog83 and adapter160 assertions pass; detailed +limits and receipts are in CATALOG.md and LEARN53-L777-CONTINUATION. + +Canonical admission/accounting is now exercised through the domain adapter, +including complete membership, failed outcomes, identity mismatch and cost +rejection. Metadata/cost test fixtures are explicitly synthetic. Actual native +candidate supervision, independent source/structure/lineage metadata, protected +splits, real cost collection, hot operators, GB10 and integrated consumers remain +unqualified. No validated training records or complete baseline costs are claimed. diff --git a/docs/learn53/PLAN.md b/docs/learn53/PLAN.md new file mode 100644 index 00000000..341c2487 --- /dev/null +++ b/docs/learn53/PLAN.md @@ -0,0 +1,48 @@ +# CUDA-LEARN public task adapter implementation plan + +> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:executing-plans to implement this plan task-by-task. + +**Goal:** Deliver the dependency-ready public native-host task-contract/output-evaluation part of CUDApp #53, not substitute it for final #53 qualification. +**Architecture:** A pure bounded CUDA++ domain module consumes a caller-owned frozen manifest and candidate output bytes. Omega #653 owns scheduling, custody, aggregate outcomes and budgets. CUDA++ #15/#16/#17 retain qualification, numerical policy and measurement ownership. No generated host code is executed by this module. +**Tech Stack:** Seeded Omega .om, compiler SHA256 191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9, Linux AArch64. Existing shell/Linux commands are disclosed development orchestration, not new delivered automation. +**Spec:** CUDApp #52/#53 and integration addenda #15/#16/#17; omega-mv #599/#653. NOT A MASTER PLAN. + +## Global constraints +- New executable logic, tests and fixtures are .om. Preserve existing legacy code/history until its owning replacement and consumer cutover qualify; this additive slice does not retire the runtime. +- Own only native/learn53, tests/learn53, docs/learn53, evidence/LEARN53-L777. Do not resume existing prerequisite workers or create a second compiler/runtime/judge/store. +- Public development input only. Refuse validation/final splits at this entry; do not inspect sealed tasks or invent a seal. +- Exact modular u32 semantics only; no tolerance or FP support. No model inference, search, training, GPU execution, timing reward or performance claim. +- Bound manifest to 4096 bytes, each input/output extent to 256 u32 words, all loops by these bounds. Candidate output has exact padded extent plus two canaries, maximum1032 bytes. Registration limited to listed shape families. + +## Review focus +- Length/count overflow before any read: exercise lengths0,95,4097,2^64-1 and forged u32 counts. +- Semantic-policy downgrade or false evidence: reject tolerance/mode, target and split substitutions before output comparison; candidate PASS text is not a result. +- Sparse output layout and ragged tails: compare every logical result and every padding/guard word; skipped/wrong-tail outputs must fail. +- Reuse after refusal: a malformed second record cannot reuse the previous success; valid third record must recover, inputs unchanged. +- Oracle correlation: literal Wolfram-checked add/reduce/matmul answers and compiled evaluator mutants, not expected values produced by this implementation. + +### Task 1: Domain contract and independent evaluator +**Files:** native/learn53/task.om; tests/learn53/unit.om; docs/learn53/CONTRACT.md. +**Interfaces:** globals kt[4096] and ko[1032]; kvalid(task_bytes:ulong)->int; keval(task_bytes:ulong,output_bytes:ulong)->int. Caller fills manifest once from trusted pinned task storage; only ko receives candidate bytes. These are single-threaded scratch buffers, not an authority or sandbox. +- [ ] Write unit fixtures and kvalid/keval compilable stubs. Run native combined source; expect intended assertions to fail, not compile/setup errors. +- [ ] Implement canonical fixed little-endian manifest and exact shape/stride/count policy; prove structural/unsupported/split failures and no buffer mutation. +- [ ] Implement independent scalar u32 add, fixed-order sum and small matmul checking with guards; retain wrong values, skipped writes, sample memorization, strides/tails, weakened tolerance and spoofing controls. +- [ ] Execute complete native suite and compiled semantic mutants; keep every raw result and actual exit. +- [ ] Commit source freeze and reproduce from immutable Git export. + +### Task 2: Data-only native entry point +**Files:** native/learn53/stream.om; tests/learn53/stream-input.om; tests/learn53/stream-check.om. +**Interfaces:** length-framed task then candidate bytes on stdin, no arguments/files/process launch. Result is authoritative process status; stdout contains only a fixed evidence-class/status record, never a candidate-provided result. +- [ ] Write native stream tests first; reject empty, truncated, extra and forged-length input; require no success output on failure. +- [ ] Implement bounded read/copy/check entry; run valid and wrong-output data through the real executable. +- [ ] Confirm static AArch64 ELF and no linked foreign runtime. Record build/input/binary identities and declared closure limits. + +### Task 3: Review and dependency-safe publication +**Files:** docs/learn53/DEPENDENCIES.md; evidence/LEARN53-L777/; existing desk intake and issue-update packet. +- [ ] Preserve exact prerequisite branch/source/receipt pins and map every remaining #53-60 gate to its current owner. No hardware or proof credit from this unit. +- [ ] Run unchanged repository host suite separately. Preserve baseline/final failures without changing owned legacy gates. +- [ ] Independent reviewer checks exact final source, source closure, public oracle cases and mutants. Fix substantive findings with RED/GREEN. +- [ ] Publish scoped branch/evidence and request one reviewable PR through the sole desk; read back exact remote head and issue updates. Keep #52-60 open until their final acceptance is met. + +## Pre-flight ruling +Omega653/L775/L776 currently stopped at account cap with TICK-OFF set; no published qualified adapter/profile. This module provides a non-speculative domain seam (trusted manifest plus observed output bytes) but does not impersonate the absent framework. #15 eight-slice .om runner, #16 FP comparator and #17 native graph collector migration remain owned prerequisites. #54-60 dependent experiments cannot qualify on this slice. No primitive/generator is promoted or timed here. diff --git a/evidence/LEARN53-L777-CONTINUATION-review.sha256 b/evidence/LEARN53-L777-CONTINUATION-review.sha256 new file mode 100644 index 00000000..febb465c --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION-review.sha256 @@ -0,0 +1,165 @@ +6d17a5b9647ef66480206f0163beca7bfe1e118836ab31cd40945e3ab5d0697b evidence/LEARN53-L777-CONTINUATION/review-L783.md +9091f24f512c76f915def1323b1b43205c86af5a5d32239725a22f3170316438 evidence/LEARN53-L777-CONTINUATION/REVIEW-L783-DISPOSITION.md +9345f587816d9883d80603ad7d964ef0d31fd24710d1d9f73da0ff767b70e03a evidence/LEARN53-L777-CONTINUATION/review-L783-parent-verification.txt +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/catalog-check-review.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/review/catalog-check-review.elf-header +85b7e703cabddb03f74715eb1c267c6d02561293f436409f26f260a5ae6361a5 evidence/LEARN53-L777-CONTINUATION/review/catalog-check-review.elf.sha256 +a47cf74e9d8416d54c45c42f2ccc9d7f5435134d707b5284642680d51990688a evidence/LEARN53-L777-CONTINUATION/review/catalog-check-review.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/catalog-export-review.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/review/catalog-export-review.elf-header +8ddd0d4c7e92f8f7ed1a2e8fbed866788222ea7e1869bc5e73a13be1acadcd7a evidence/LEARN53-L777-CONTINUATION/review/catalog-export-review.elf.sha256 +d7668b31c4491e18dcaf89fff6bea5c0f8f6072bc00dbc04e7eeb6627f3bbb94 evidence/LEARN53-L777-CONTINUATION/review/catalog-export-review.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/catalog-review.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/review/catalog-review.elf-header +1104acf1fd4c89ab6d87a6d2876fc7623a77ca6aed704714de6265ff7e5a5e2c evidence/LEARN53-L777-CONTINUATION/review/catalog-review.elf.sha256 +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/catalog-review.exit +e42102e26bd6fd760c8037fe066351eb242f5c886f4584d25792bda898792225 evidence/LEARN53-L777-CONTINUATION/review/catalog-review.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/catalog-review.stderr +2f100a1dc90da1dcc6a3ef4a00a2e203bdfe714659407d7249b5c252c49c1920 evidence/LEARN53-L777-CONTINUATION/review/catalog-review.stdout +04b35049b10bfe40c0f23698f0d35d4d52a46f5f29649a1ca122894c8de4a18d evidence/LEARN53-L777-CONTINUATION/review/catalog-tasks.sha256 +3e1567b07b22c75f8642d3aa03ca868dbdb5791c4b778a8ec21a6de7d688562b evidence/LEARN53-L777-CONTINUATION/review/check-1.bin +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/check-1.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-1.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-1.stdout +9a26f4bf107781cbc005feb45a924287bbce9f66616119eead53cbccdd242fc2 evidence/LEARN53-L777-CONTINUATION/review/check-2.bin +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/check-2.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-2.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-2.stdout +85a8a3977c64cf29dafdbaa51be84db83cc3902d2492402560b0a6ef2672d5f2 evidence/LEARN53-L777-CONTINUATION/review/check-3.bin +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/check-3.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-3.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-3.stdout +335afa7879f8c94f373692c91c2208481d3fe9e10095c837b13ecf8837f245a1 evidence/LEARN53-L777-CONTINUATION/review/check-4.bin +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/check-4.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-4.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-4.stdout +49866ef09cbc5a079f0d1a0877ea163d7817e8330120ff0702f2958e4cb56516 evidence/LEARN53-L777-CONTINUATION/review/check-5.bin +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/check-5.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-5.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-5.stdout +dbc8980affebd5f91076a832a761d69c00182ac08e24241dcec24432d9d9b46b evidence/LEARN53-L777-CONTINUATION/review/check-6.bin +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/check-6.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-6.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-6.stdout +9b78ec8b4a32f691de65c9476830c8ea198f0c617b70288ca99d226a38b9456e evidence/LEARN53-L777-CONTINUATION/review/check-7.bin +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/check-7.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-7.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-7.stdout +f4db41f1d010643ea84d146078948575a1f1593ff53f4d57ee2f6d7e01320f57 evidence/LEARN53-L777-CONTINUATION/review/check-8.bin +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/check-8.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-8.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/check-8.stdout +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/export-1.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-1.stderr +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/export-2.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-2.stderr +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/export-3.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-3.stderr +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/export-4.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-4.stderr +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/export-5.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-5.stderr +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/export-6.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-6.stderr +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/export-7.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-7.stderr +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/export-8.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-8.stderr +979b894f2d91bf199766571d58024f020d1a44a417da5f48e1fa1cdf554a14f5 evidence/LEARN53-L777-CONTINUATION/review/export-empty.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-empty.stderr +94d5a38598be77593d4781b8fbd74cb4e2cd05bb006b1b531988ab2db90de9c9 evidence/LEARN53-L777-CONTINUATION/review/export-id0.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-id0.stderr +94d5a38598be77593d4781b8fbd74cb4e2cd05bb006b1b531988ab2db90de9c9 evidence/LEARN53-L777-CONTINUATION/review/export-id9.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-id9.stderr +94d5a38598be77593d4781b8fbd74cb4e2cd05bb006b1b531988ab2db90de9c9 evidence/LEARN53-L777-CONTINUATION/review/export-max.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-max.stderr +979b894f2d91bf199766571d58024f020d1a44a417da5f48e1fa1cdf554a14f5 evidence/LEARN53-L777-CONTINUATION/review/export-two.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/export-two.stderr +02f036f6e16161a922578743f6931e7c64174ae3176161d3d75d713bcac0334e evidence/LEARN53-L777-CONTINUATION/review/ignore-length.adapter.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/ignore-length.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/review/ignore-length.elf-header +d98e8b7976c48d841272ed79a8f695c0dd4b20c82d5cb3595c82919ae777ea55 evidence/LEARN53-L777-CONTINUATION/review/ignore-length.elf.sha256 +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 evidence/LEARN53-L777-CONTINUATION/review/ignore-length.exit +5ccfed1ad85ca178182b2b463a59d2db39898fbd59ce5ee547f2916417202f36 evidence/LEARN53-L777-CONTINUATION/review/ignore-length.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/ignore-length.stderr +d7fcbafcf23c5c909f46e007403dd7996a988889d75f9525306c5d95879727aa evidence/LEARN53-L777-CONTINUATION/review/ignore-length.stdout +ee7c3e67e0ef58262283a277e11940d92aadc9c08d487c7a39807f465e7038bc evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.adapter.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.elf-header +6a8a684d8c3922091ccd8b5766cce857bf29484f5e3d723ec0b226f980b9c3a6 evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.elf.sha256 +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.exit +90fd44e6a82a6823a1721561aa7bc599a0a3b69d3a7923e1166428dbea30af56 evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.stderr +666bdcf967c8efc9131c14fc1b423514e84096f61ee3cf4fec8de8110cab2f21 evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.stdout +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/input-empty.bin +6e340b9cffb37a989ca544e6bb780a2c78901d3fb33738768511a30617afa01d evidence/LEARN53-L777-CONTINUATION/review/input-id0.bin +2b4c342f5433ebe591a1da77e013d1b72475562d48578dca8b84bac6651c3cb9 evidence/LEARN53-L777-CONTINUATION/review/input-id9.bin +a8100ae6aa1940d0b663bb31cd466142ebbdbd5187131b92d93818987832eb89 evidence/LEARN53-L777-CONTINUATION/review/input-max.bin +a12871fee210fb8619291eaea194581cbd2531e4b23759d225f6806923f63222 evidence/LEARN53-L777-CONTINUATION/review/input-two.bin +7b64d50ae9e85167bded2c5a534c394d2f7af5ed7d0adee285fa36d6488741de evidence/LEARN53-L777-CONTINUATION/review/omega-core-test.om +a5a2e74c815f9ca6a90dbdfbfc7ecc343f0362c824064f2058e9d1d7c119c40c evidence/LEARN53-L777-CONTINUATION/review/omega-core.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/omega-review.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/review/omega-review.elf-header +5822da0e5a76369090760176e6f3f739870d2c67448c4aa285476335fca7c4ca evidence/LEARN53-L777-CONTINUATION/review/omega-review.elf.sha256 +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/omega-review.exit +bd9c025d82157b01a6e217503bef9c786bd3ce44fffb3c7c07fac29960e327ce evidence/LEARN53-L777-CONTINUATION/review/omega-review.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/omega-review.stderr +5898b84ca7a9998dea34cecc61250a0ace5fb7a4ead5101da9ba4e5a6bd7b3b8 evidence/LEARN53-L777-CONTINUATION/review/omega-review.stdout +625741c3663eb2a755b905624af2346c788c5a4754d9941d7017c144e01dcaad evidence/LEARN53-L777-CONTINUATION/review/omit-task.adapter.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/omit-task.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/review/omit-task.elf-header +5c830950ae93ab811a7f4a97e155bf7e7cf45b3c8f25592db4b6f067d0112dc8 evidence/LEARN53-L777-CONTINUATION/review/omit-task.elf.sha256 +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 evidence/LEARN53-L777-CONTINUATION/review/omit-task.exit +98d7e4ed43278b31ace9ffc0eb4398aa7f20e93eb6224f6256fa922675eae165 evidence/LEARN53-L777-CONTINUATION/review/omit-task.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/omit-task.stderr +5ea44a9d83faa47de8d60b5cc728062bae1bcd304d7afb70743510bbcf007166 evidence/LEARN53-L777-CONTINUATION/review/omit-task.stdout +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/original-core-review.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/review/original-core-review.elf-header +64938829288405804def84f54c22bf7e72813f8f4e431c3212d98a9d01488f5b evidence/LEARN53-L777-CONTINUATION/review/original-core-review.elf.sha256 +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/original-core-review.exit +48e63e880628cc4b35de6caa7b43e67463f0edf59622332d175892944177e69a evidence/LEARN53-L777-CONTINUATION/review/original-core-review.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/original-core-review.stderr +e61d2297e9a634250657db09392cb82156b00f4641eef458624e918f88f7fa60 evidence/LEARN53-L777-CONTINUATION/review/original-core-review.stdout +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.elf-header +c5afd797a8b51bc26a74bc1dafcaf06c5090c27e2dd379b9b3fc1b889cf5f624 evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.elf.sha256 +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.exit +b8cfde399c7fc5707c15dd01e8044707a963c39894a0b449c4ebed417a9609de evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.stderr +10dfb981309eabf6a63471aef30d5609b1452da56e944fedc05489280fa255f9 evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.stdout +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/output-empty.bin +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/output-id0.bin +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/output-id9.bin +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/output-max.bin +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/output-two.bin +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.elf-header +48e63e880628cc4b35de6caa7b43e67463f0edf59622332d175892944177e69a evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.om +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.run.stderr +e61d2297e9a634250657db09392cb82156b00f4641eef458624e918f88f7fa60 evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.run.stdout +34a62ce2efdb93c3d0675cf200fdc713d91152f5dc4b738365d3958030015ad4 evidence/LEARN53-L777-CONTINUATION/review/review-artifacts.sha256 +4bf5122f344554c53bde2ebb8cd2b7e3d1600ad631c385a5d7cce23c7785459a evidence/LEARN53-L777-CONTINUATION/review/selector-1.bin +dbc1b4c900ffe48d575b5da5c638040125f65db0fe3e24494b76ea986457d986 evidence/LEARN53-L777-CONTINUATION/review/selector-2.bin +084fed08b978af4d7d196a7446a86b58009e636b611db16211b65a9aadff29c5 evidence/LEARN53-L777-CONTINUATION/review/selector-3.bin +e52d9c508c502347344d8c07ad91cbd6068afc75ff6292f062a09ca381c89e71 evidence/LEARN53-L777-CONTINUATION/review/selector-4.bin +e77b9a9ae9e30b0dbdb6f510a264ef9de781501d7b6b92ae89eb059c5ab743db evidence/LEARN53-L777-CONTINUATION/review/selector-5.bin +67586e98fad27da0b9968bc039a1ef34c939b9b8e523a8bef89d478608c5ecf6 evidence/LEARN53-L777-CONTINUATION/review/selector-6.bin +ca358758f6d27e6cf45272937977a748fd88391db679ceda7dc7bf1f005ee879 evidence/LEARN53-L777-CONTINUATION/review/selector-7.bin +beead77994cf573341ec17b58bbf7eb34d2711c993c1d976b128b3188dc1829a evidence/LEARN53-L777-CONTINUATION/review/selector-8.bin +e38d883e73dfe47d7de09baf2a0c8bc9a65a7c01adc5b1a319e7ac283046b4a2 evidence/LEARN53-L777-CONTINUATION/review/task-1.cul +7088309528d45479db25178a48bd09a628ea805ecf086c49b95a242d19845ef4 evidence/LEARN53-L777-CONTINUATION/review/task-2.cul +d1777193f2c1329ca3bc50ed79a2d43cc19ada2b90c047d3cb2fe34d9834f074 evidence/LEARN53-L777-CONTINUATION/review/task-3.cul +5b6f5a91859c7fc4681a2646a4546005f89c64894426ab2851a5d54fa373fa24 evidence/LEARN53-L777-CONTINUATION/review/task-4.cul +ffcfaf45ff4b84e20484491d45a01a47169fc02f0f0dfdf701702fc1e5884f9d evidence/LEARN53-L777-CONTINUATION/review/task-5.cul +b550dac61fa80d6db97841dbe1dfaec137e717fbf4c72c74dc9b3302cb771049 evidence/LEARN53-L777-CONTINUATION/review/task-6.cul +9cbd2ea428a19b187d122ee0f0ff75902e9580bd2f4edb51ea795a7cc5b7820a evidence/LEARN53-L777-CONTINUATION/review/task-7.cul +dec444cdb9ca83979466f079d7b9b2086a99d520a7952ddffd6f998936ee1e89 evidence/LEARN53-L777-CONTINUATION/review/task-8.cul +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.elf-header +4b0e9a3ac148e581562a2e11201ea42d9e00b797136fa51c34c8ac975b37b707 evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.elf.sha256 +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.exit +4215adf4e308fe8e796d61d060420c2f446ea0bedbed66ae8341273eeb5865c6 evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.stderr +ab3eab2904dc2551de4eb11272066a5b51869023ef170e261bb937db0482f29e evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.stdout +01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b evidence/LEARN53-L777-CONTINUATION/review/worktree-status.txt diff --git a/evidence/LEARN53-L777-CONTINUATION.sha256 b/evidence/LEARN53-L777-CONTINUATION.sha256 new file mode 100644 index 00000000..77c0259d --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION.sha256 @@ -0,0 +1,154 @@ +0c889fed767c25ed9e0766b520226c4315c67eddd340fe82d71c72fa30488acc evidence/LEARN53-L777-CONTINUATION/RECEIPT.md +26c7087303028cce713e1905c595716d87f69c56ffba1c37e1f3cee60dc54abe evidence/LEARN53-L777-CONTINUATION/author/binaries.sha256 +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 evidence/LEARN53-L777-CONTINUATION/author/catalog-check-red.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/catalog-check-red.stdout +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/catalog-check.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/author/catalog-check.elf-header +a47cf74e9d8416d54c45c42f2ccc9d7f5435134d707b5284642680d51990688a evidence/LEARN53-L777-CONTINUATION/author/catalog-check.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/catalog-export.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/author/catalog-export.elf-header +d7668b31c4491e18dcaf89fff6bea5c0f8f6072bc00dbc04e7eeb6627f3bbb94 evidence/LEARN53-L777-CONTINUATION/author/catalog-export.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/catalog-green.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/author/catalog-green.elf-header +e42102e26bd6fd760c8037fe066351eb242f5c886f4584d25792bda898792225 evidence/LEARN53-L777-CONTINUATION/author/catalog-green.om +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/author/catalog-green.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/catalog-green.run.stderr +2f100a1dc90da1dcc6a3ef4a00a2e203bdfe714659407d7249b5c252c49c1920 evidence/LEARN53-L777-CONTINUATION/author/catalog-green.run.stdout +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/catalog-red.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/author/catalog-red.elf-header +dd7d2da1d80cb987c5d8ead22c0c12917e7d1856101e4889b7ff2b8189328f45 evidence/LEARN53-L777-CONTINUATION/author/catalog-red.om +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 evidence/LEARN53-L777-CONTINUATION/author/catalog-red.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/catalog-red.run.stderr +98d12420dbc20676e7bde61fc8caf6d44671d69ef27848a5c375dc8d513c85a8 evidence/LEARN53-L777-CONTINUATION/author/catalog-red.run.stdout +02f036f6e16161a922578743f6931e7c64174ae3176161d3d75d713bcac0334e evidence/LEARN53-L777-CONTINUATION/author/ignore-length.om +ee7c3e67e0ef58262283a277e11940d92aadc9c08d487c7a39807f465e7038bc evidence/LEARN53-L777-CONTINUATION/author/ignore-outcome.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.elf-header +5ccfed1ad85ca178182b2b463a59d2db39898fbd59ce5ee547f2916417202f36 evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.om +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.run.stderr +d7fcbafcf23c5c909f46e007403dd7996a988889d75f9525306c5d95879727aa evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.run.stdout +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.elf-header +90fd44e6a82a6823a1721561aa7bc599a0a3b69d3a7923e1166428dbea30af56 evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.om +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.run.stderr +666bdcf967c8efc9131c14fc1b423514e84096f61ee3cf4fec8de8110cab2f21 evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.run.stdout +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.elf-header +98d7e4ed43278b31ace9ffc0eb4398aa7f20e93eb6224f6256fa922675eae165 evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.om +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.run.stderr +5ea44a9d83faa47de8d60b5cc728062bae1bcd304d7afb70743510bbcf007166 evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.run.stdout +7b64d50ae9e85167bded2c5a534c394d2f7af5ed7d0adee285fa36d6488741de evidence/LEARN53-L777-CONTINUATION/author/omega-core-test.om +a5a2e74c815f9ca6a90dbdfbfc7ecc343f0362c824064f2058e9d1d7c119c40c evidence/LEARN53-L777-CONTINUATION/author/omega-core.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/omega-green.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/author/omega-green.elf-header +bd9c025d82157b01a6e217503bef9c786bd3ce44fffb3c7c07fac29960e327ce evidence/LEARN53-L777-CONTINUATION/author/omega-green.om +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/author/omega-green.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/omega-green.run.stderr +5898b84ca7a9998dea34cecc61250a0ace5fb7a4ead5101da9ba4e5a6bd7b3b8 evidence/LEARN53-L777-CONTINUATION/author/omega-green.run.stdout +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/omega-red.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/author/omega-red.elf-header +9cc923f51c556e5e30e460c32180369012c1c30b4b81fe46484214ac2557746b evidence/LEARN53-L777-CONTINUATION/author/omega-red.om +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 evidence/LEARN53-L777-CONTINUATION/author/omega-red.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/omega-red.run.stderr +d5408b687c408042c7cdd0cbd4989398564c41319cce571a827543ed9db793e8 evidence/LEARN53-L777-CONTINUATION/author/omega-red.run.stdout +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.elf-header +4215adf4e308fe8e796d61d060420c2f446ea0bedbed66ae8341273eeb5865c6 evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.om +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.run.stderr +ab3eab2904dc2551de4eb11272066a5b51869023ef170e261bb937db0482f29e evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.run.stdout +625741c3663eb2a755b905624af2346c788c5a4754d9941d7017c144e01dcaad evidence/LEARN53-L777-CONTINUATION/author/omit-task.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/original-core.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/author/original-core.elf-header +741a00d9c622f81c39b4835450596ae0784b8eef4c32d2353f1182da148f49dc evidence/LEARN53-L777-CONTINUATION/author/original-core.om +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/author/original-core.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/original-core.run.stderr +e61d2297e9a634250657db09392cb82156b00f4641eef458624e918f88f7fa60 evidence/LEARN53-L777-CONTINUATION/author/original-core.run.stdout +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/original-frame.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/author/original-frame.elf-header +b8cfde399c7fc5707c15dd01e8044707a963c39894a0b449c4ebed417a9609de evidence/LEARN53-L777-CONTINUATION/author/original-frame.om +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/author/original-frame.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/author/original-frame.run.stderr +10dfb981309eabf6a63471aef30d5609b1452da56e944fedc05489280fa255f9 evidence/LEARN53-L777-CONTINUATION/author/original-frame.run.stdout +e38d883e73dfe47d7de09baf2a0c8bc9a65a7c01adc5b1a319e7ac283046b4a2 evidence/LEARN53-L777-CONTINUATION/author/task-1.cul +7088309528d45479db25178a48bd09a628ea805ecf086c49b95a242d19845ef4 evidence/LEARN53-L777-CONTINUATION/author/task-2.cul +d1777193f2c1329ca3bc50ed79a2d43cc19ada2b90c047d3cb2fe34d9834f074 evidence/LEARN53-L777-CONTINUATION/author/task-3.cul +5b6f5a91859c7fc4681a2646a4546005f89c64894426ab2851a5d54fa373fa24 evidence/LEARN53-L777-CONTINUATION/author/task-4.cul +ffcfaf45ff4b84e20484491d45a01a47169fc02f0f0dfdf701702fc1e5884f9d evidence/LEARN53-L777-CONTINUATION/author/task-5.cul +b550dac61fa80d6db97841dbe1dfaec137e717fbf4c72c74dc9b3302cb771049 evidence/LEARN53-L777-CONTINUATION/author/task-6.cul +9cbd2ea428a19b187d122ee0f0ff75902e9580bd2f4edb51ea795a7cc5b7820a evidence/LEARN53-L777-CONTINUATION/author/task-7.cul +dec444cdb9ca83979466f079d7b9b2086a99d520a7952ddffd6f998936ee1e89 evidence/LEARN53-L777-CONTINUATION/author/task-8.cul +6032e7259218bfecc07d0fbe00e5aa3ab3dcfc820679231d8d7d11953b7c0d31 evidence/LEARN53-L777-CONTINUATION/build-readback.txt +6270e3408edb407f1c3ddd44219c94f635fe605f4038d4ccacb7e13febb55d5c evidence/LEARN53-L777-CONTINUATION/host.txt +7927c4d983af4fd6020fcf3a51948a673e802fa7cb8afafacec3e092446574a0 evidence/LEARN53-L777-CONTINUATION/replay/binaries.sha256 +d680c36ea926a5405ed140760fc83f26eebef93b3b408b2fcf1c271c45ff5c4a evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.compile.cost +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.compile.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.elf-header +a47cf74e9d8416d54c45c42f2ccc9d7f5435134d707b5284642680d51990688a evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.rebuild.stderr +d680c36ea926a5405ed140760fc83f26eebef93b3b408b2fcf1c271c45ff5c4a evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.compile.cost +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.compile.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.elf-header +d7668b31c4491e18dcaf89fff6bea5c0f8f6072bc00dbc04e7eeb6627f3bbb94 evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.rebuild.stderr +d680c36ea926a5405ed140760fc83f26eebef93b3b408b2fcf1c271c45ff5c4a evidence/LEARN53-L777-CONTINUATION/replay/catalog.compile.cost +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/replay/catalog.compile.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/catalog.compile.stderr +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/replay/catalog.elf-header +e42102e26bd6fd760c8037fe066351eb242f5c886f4584d25792bda898792225 evidence/LEARN53-L777-CONTINUATION/replay/catalog.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/catalog.rebuild.stderr +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/replay/catalog.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/catalog.run.stderr +2f100a1dc90da1dcc6a3ef4a00a2e203bdfe714659407d7249b5c252c49c1920 evidence/LEARN53-L777-CONTINUATION/replay/catalog.run.stdout +a71b8a9e541411095dfabceb3d11153c1f47402eb2366ff5167cbd0d91d3e625 evidence/LEARN53-L777-CONTINUATION/replay/omega-static.txt +9f9cc668e915eae7043a69db501c009efa1ddbf95ea874d3b65c9553117afff2 evidence/LEARN53-L777-CONTINUATION/replay/omega-syscalls.log +5898b84ca7a9998dea34cecc61250a0ace5fb7a4ead5101da9ba4e5a6bd7b3b8 evidence/LEARN53-L777-CONTINUATION/replay/omega-timed.stdout +5898b84ca7a9998dea34cecc61250a0ace5fb7a4ead5101da9ba4e5a6bd7b3b8 evidence/LEARN53-L777-CONTINUATION/replay/omega-traced.stdout +d680c36ea926a5405ed140760fc83f26eebef93b3b408b2fcf1c271c45ff5c4a evidence/LEARN53-L777-CONTINUATION/replay/omega.compile.cost +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/replay/omega.compile.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/omega.compile.stderr +28f5c77b5e0efdd38d3be881de2d9d9986028f1d1820ad01ae207ad6d6947068 evidence/LEARN53-L777-CONTINUATION/replay/omega.cost +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777-CONTINUATION/replay/omega.elf-header +bd9c025d82157b01a6e217503bef9c786bd3ce44fffb3c7c07fac29960e327ce evidence/LEARN53-L777-CONTINUATION/replay/omega.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/omega.rebuild.stderr +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa evidence/LEARN53-L777-CONTINUATION/replay/omega.run.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/omega.run.stderr +5898b84ca7a9998dea34cecc61250a0ace5fb7a4ead5101da9ba4e5a6bd7b3b8 evidence/LEARN53-L777-CONTINUATION/replay/omega.run.stdout +979b894f2d91bf199766571d58024f020d1a44a417da5f48e1fa1cdf554a14f5 evidence/LEARN53-L777-CONTINUATION/replay/refuse-empty.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/refuse-empty.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/refuse-empty.stdout +979b894f2d91bf199766571d58024f020d1a44a417da5f48e1fa1cdf554a14f5 evidence/LEARN53-L777-CONTINUATION/replay/refuse-extra.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/refuse-extra.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/refuse-extra.stdout +94d5a38598be77593d4781b8fbd74cb4e2cd05bb006b1b531988ab2db90de9c9 evidence/LEARN53-L777-CONTINUATION/replay/refuse-huge.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/refuse-huge.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/refuse-huge.stdout +94d5a38598be77593d4781b8fbd74cb4e2cd05bb006b1b531988ab2db90de9c9 evidence/LEARN53-L777-CONTINUATION/replay/refuse-nine.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/refuse-nine.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/refuse-nine.stdout +94d5a38598be77593d4781b8fbd74cb4e2cd05bb006b1b531988ab2db90de9c9 evidence/LEARN53-L777-CONTINUATION/replay/refuse-zero.exit +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/refuse-zero.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/refuse-zero.stdout +e38d883e73dfe47d7de09baf2a0c8bc9a65a7c01adc5b1a319e7ac283046b4a2 evidence/LEARN53-L777-CONTINUATION/replay/task-1.cul +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/task-1.stderr +7088309528d45479db25178a48bd09a628ea805ecf086c49b95a242d19845ef4 evidence/LEARN53-L777-CONTINUATION/replay/task-2.cul +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/task-2.stderr +d1777193f2c1329ca3bc50ed79a2d43cc19ada2b90c047d3cb2fe34d9834f074 evidence/LEARN53-L777-CONTINUATION/replay/task-3.cul +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/task-3.stderr +5b6f5a91859c7fc4681a2646a4546005f89c64894426ab2851a5d54fa373fa24 evidence/LEARN53-L777-CONTINUATION/replay/task-4.cul +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/task-4.stderr +ffcfaf45ff4b84e20484491d45a01a47169fc02f0f0dfdf701702fc1e5884f9d evidence/LEARN53-L777-CONTINUATION/replay/task-5.cul +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/task-5.stderr +b550dac61fa80d6db97841dbe1dfaec137e717fbf4c72c74dc9b3302cb771049 evidence/LEARN53-L777-CONTINUATION/replay/task-6.cul +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/task-6.stderr +9cbd2ea428a19b187d122ee0f0ff75902e9580bd2f4edb51ea795a7cc5b7820a evidence/LEARN53-L777-CONTINUATION/replay/task-7.cul +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/task-7.stderr +dec444cdb9ca83979466f079d7b9b2086a99d520a7952ddffd6f998936ee1e89 evidence/LEARN53-L777-CONTINUATION/replay/task-8.cul +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777-CONTINUATION/replay/task-8.stderr +11bc1800df9711ff1ae69036b693fccd3c9f3627dc7ec9695e976dae7a805eb9 evidence/LEARN53-L777-CONTINUATION/replay-readback.txt +db4ddf9dd45f9219b06fbbc91bb293dd82d9676e12770f0359058d2be71d7b71 evidence/LEARN53-L777-CONTINUATION/source-inventory.json diff --git a/evidence/LEARN53-L777-CONTINUATION/RECEIPT.md b/evidence/LEARN53-L777-CONTINUATION/RECEIPT.md new file mode 100644 index 00000000..5333e340 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/RECEIPT.md @@ -0,0 +1,73 @@ +# CUDA-LEARN53 continuation receipt + +Status: author-qualified bounded native-host component; independent L783 review +pending. Full #53/#52 OPEN. This is not acceptance of #54–60 or upstream653. + +## Exact inputs + +- CUDApp executable/test source: `94ada80cd8acf2c31441ab1dcee98f896ce884c4`; parent `4337fb2b8f81ba661b23868012210b2fc71daef3`. +- Canonical Omega653 source: `84d03c5523f39ca1045d1c313c5f62597779462b`; file `src/learning/benchmark/core.om`, SHA256 `a5a2e74c815f9ca6a90dbdfbfc7ecc343f0362c824064f2058e9d1d7c119c40c`. +- Compiler source: omega-bridge `0fc7d8662cb799e7c206b17c18ea4c3ec2b8fea9`, imported seed origin omega-mv `29b12760f4c962606411d6bf25032aedef063301`; previously rebuilt source-only. +- Consumed compiler SHA256: `191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9`. +- Target: static Linux AArch64 native ELF. Runtime observation is in replay/omega-static.txt and omega-syscalls.log; no generated GPU binary or launch descriptor. +- Model/tokenizer/checkpoint/policy: NOT_APPLICABLE to these host component tests; training/GPU/integrated-consumer evidence: NOT_RUN. +- Source membership/hashes: source-inventory.json (17 active native/test/lock files), plus the exact external core lock. There is no mutable sibling/prebuilt override in reconstruction. + +## Native results + +|Gate|Actual result| +|---|---| +|Canonical upstream component|185 checks, exit0, exact ELF e9f0335f45ee5e7644da795b07cd1e71a595cc918e8fb6ad11a13aa3aa48bf09 reproduced| +|Frozen public catalog|83/83 assertions, exit0| +|Canonical adapter/accounting|160/160 assertions, exit0| +|Unchanged original domain/core|77/77 assertions, exit0| +|Unchanged original frame|17/17 assertions, exit0| +|Immutable source reconstruction|All four new binaries byte-identical to author builds| +|Native emitted catalog|All eight cases emitted and complete-byte checked; exact .cul files and hashes preserved| +|Exporter refusal controls|empty65, extra65, IDs0/9/255 each77; all stdout empty| +|Compiled ignore-outcome mutant|exit1,2 failed assertions| +|Compiled omit-task mutant|exit1,11 failed assertions| +|Compiled ignore-length mutant|exit1,4 failed assertions| + +All mutants compiled successfully as nonempty AArch64 ELF before execution. +The RED catalog stub compiled then failed54 of83 assertions; the RED adapter +stubs compiled then failed86 of160. Empty exporter output is rejected by the +native checker (exit1). Original failed sources/stdout/stderr remain immutable. + +The old33-target legacy host receipt remains in the original evidence directory; +its product/build/test inputs were not changed. It is not relabeled as seeded +qualification and was not rerun for each additive rung. + +## Artifact identities + +- catalog ELF: `8b0492ed620f8e5b6f920192bc4d9ed7e06135504b7f8639df7cb4f1fd9f33c2` +- Omega adapter ELF: `11fcf90d6e98543aab604b35fb3f72383af003c12515d050de7dad20d6527069` +- catalog-export ELF: `9e8eda6d33ae06477ea6452687bfd8818cdf13d89efe5cccf8debeb75a138a03` +- catalog-check ELF: `6d503f93f7ffe2a13d2b58561a87c496e4abf0fcdfe3e8aba645a18b582f12b3` + +Reproduction commands: docs/learn53/CONTINUATION-COMMANDS.md; raw ordered +translation units and compile logs are retained under author/. The two new +production files and all tests are .om. Existing Linux utilities assemble sources, +run processes, hash files and capture evidence; no new foreign wrapper is delivered. +Full seeded build/automation cutover remains #15's gate. + +## Costs and limitations + +Fresh host command measurement: wall0.00s, user0.00s, system0.00s at two-decimal +precision, maximum RSS1656KiB, exit0. These are coarse process observations of +the adapter unit suite, **not zero-cost execution or a performance benchmark**. +Full compilation/search/judging/training/storage lifecycle total and energy are +UNKNOWN. Early development attempts were not timed. No speedup is claimed. + +LT digests, LPin identities and LC values in omega-unit.om are SYNTHETIC unit +fixtures. Correctly classifying them establishes API behavior, not genuine +candidate provenance, authenticated feedback, measured costs or a training corpus. +Expected output fixtures are public independent arithmetic literals, not new +candidate program executions. All eight catalog tasks are public development; +sharing families/templates is intentional and does not establish disjoint pools. + +No GPU launch, model run, native process isolation, protected custody, production +cutover, incumbent replacement, legacy retirement, default change or release. +Changed source must be requalified; a later evidence-only commit does not change +this executable source pin. Independent review of this continuation is separate +from L778's earlier public-domain review and from the existing upstream653 reviewer. diff --git a/evidence/LEARN53-L777-CONTINUATION/REVIEW-L783-DISPOSITION.md b/evidence/LEARN53-L777-CONTINUATION/REVIEW-L783-DISPOSITION.md new file mode 100644 index 00000000..122348e6 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/REVIEW-L783-DISPOSITION.md @@ -0,0 +1,57 @@ +# L783 review disposition + +Accepted for the bounded native-host draft increment only. Original review is +preserved unchanged in review-L783.md. No Critical, Important or Minor findings; +no executable-source change was requested or made. + +## Identity verification and metadata correction + +The reviewed artifact source is `94ada80cd8acf2c31441ab1dcee98f896ce884c4`. All17 active native/test/lock files +in the review export and current product match those Git objects exactly. +The report names this valid40-character pin correctly. The completion summary +instead printed `94ada80cd8acf2c31441ab1d1cee98f896ce884c4`, which is **41 characters +and invalid as a full Git SHA**. That token was rejected before lookup; it was +not normalized or used as evidence. Correct provenance comes from the original +report, exact exported bytes and Git objects, not from repairing the summary. + +Actual reviewer runtime model: gpt-6-luna (deleg_fbf0f9ee, childsa-0-80fa2a9a), +reported by delegation completion metadata. This is independent of the author. + +## Parent verification + +- Verified review-artifacts.sha256 in the review workspace (exit0). +- Recounted sequential PASS outputs and exits:185+83+160+77+17 =522 checks. +- Verified all eight task payload lengths/digests and exporter/checker exits0; + five refusal cases have expected65/77 exits and zero output bytes. +- Verified compiled mutant ELF identities and actual runtime failures2/11/4. +- New catalog/adapter/export/check artifacts and upstream component match author + identities. The reviewer's original-core binary differs from the author's + original-core binary because its translation unit additionally includes the + unchanged wire.om module. Parent rebuilt and ran that exact composition: + SHA256f88637fad13bb395297ee6fc96b96427ce8a31a5ab62719e72ee9ba262ec29dd, + byte-identical to reviewer binary and77/77 checks. The standalone author core + remains06682c257f1465736569fd17ea6d42933c4dc82f361420c6b60dfdef10d2c681. + No different product source or compiler is concealed by this distinction. +- The report calls the17-check target original stream; this is the original + stream-unit/frame suite, not17 complete candidate execution experiments. + +Raw reviewer outputs and input snapshots are under review/. Only files generated +by this review are copied there; historical receipts inherited in its full source +export are not republished as new evidence. Parent readback is preserved alongside. + +## Rulings on every declined scope + +GPU correctness/performance remains NOT_RUN; this component issues no GPU launches. +Generated-candidate execution and isolation remain existing runtime obligations; +stdin/arrays are not a sandbox. LT/LPin/LC/status/exit authenticity remains the +trusted executor/custody owner's job; synthetic unit words are not real provenance +or measured costs. Protected pools, generalization, training and promotion remain +unqualified: all catalog cases are public and known. Full #53/#653 and production +release/cutover remain OPEN and retain their independent gates. These exclusions +are correct for this additive component and do not waive the final requirements. +The cost of treating them as approved would be invalid scientific scores or unsafe +activation, so no merge/release/activation/issue closure is authorized by this review. + +Deferred minors: none. Full lifecycle baseline, native process/custody attachment, +true metadata/cost integration, seeded #15/#16/#17, hot operators and physical +GPU/consumer evidence remain prerequisites, not review findings resolved by host tests. diff --git a/evidence/LEARN53-L777-CONTINUATION/author/binaries.sha256 b/evidence/LEARN53-L777-CONTINUATION/author/binaries.sha256 new file mode 100644 index 00000000..aa4444e6 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/binaries.sha256 @@ -0,0 +1,12 @@ +6d503f93f7ffe2a13d2b58561a87c496e4abf0fcdfe3e8aba645a18b582f12b3 catalog-check.elf +9e8eda6d33ae06477ea6452687bfd8818cdf13d89efe5cccf8debeb75a138a03 catalog-export.elf +8b0492ed620f8e5b6f920192bc4d9ed7e06135504b7f8639df7cb4f1fd9f33c2 catalog-green.elf +a2e4bc06a816e58e279ffc037191439902162375e9952393d1609c1923e83d9f catalog-red.elf +702251c771cb0383bca693b5b9bf396e19feba436a4a6c095ad2a53c58b3818f mutant-ignore-length.elf +ea67974ce32faf9f21606a355ab2b8c2de3fa3bc543c326ae2ea219c763573bc mutant-ignore-outcome.elf +57f27e435c9ca79a6b3ec0d000a03276aabf5866ac5a24214668a42d25b09d52 mutant-omit-task.elf +11fcf90d6e98543aab604b35fb3f72383af003c12515d050de7dad20d6527069 omega-green.elf +fb5529f7708204e64d28e281262d5ef65b09648107c4dbe5837d48eda62cac29 omega-red.elf +e9f0335f45ee5e7644da795b07cd1e71a595cc918e8fb6ad11a13aa3aa48bf09 omega-upstream185.elf +06682c257f1465736569fd17ea6d42933c4dc82f361420c6b60dfdef10d2c681 original-core.elf +e34796a6b14823e321d1f6b92fb0be22ba8aec705daa3835979eb5a39c2877c7 original-frame.elf diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-check-red.exit b/evidence/LEARN53-L777-CONTINUATION/author/catalog-check-red.exit new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-check-red.exit @@ -0,0 +1 @@ +1 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-check-red.stdout b/evidence/LEARN53-L777-CONTINUATION/author/catalog-check-red.stdout new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-check.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/author/catalog-check.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-check.elf-header b/evidence/LEARN53-L777-CONTINUATION/author/catalog-check.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-check.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-check.om b/evidence/LEARN53-L777-CONTINUATION/author/catalog-check.om new file mode 100644 index 00000000..ab14e597 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-check.om @@ -0,0 +1,453 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Emitter stream checker; first byte selects expected catalog, remaining bytes task. +global CBuf uchar 258 +fn main to int +pos = ulong 0 +done = false +while eq done false bound 259 +r = read 0 CBuf pos sub 258 pos +if lt r 0 +ret 1 +end +if eq r 0 +done = true +else +pos = add pos ulong r +if eq pos 258 +ret 1 +end +end +end +if eq pos 0 +ret 1 +end +n = kload ulong get CBuf 0 +if or eq n 0 ne pos add n 1 +ret 1 +end +for i ulong n +if ne get kt i get CBuf add i 1 +ret 1 +end +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-export.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/author/catalog-export.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-export.elf-header b/evidence/LEARN53-L777-CONTINUATION/author/catalog-export.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-export.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-export.om b/evidence/LEARN53-L777-CONTINUATION/author/catalog-export.om new file mode 100644 index 00000000..6d05fbbd --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-export.om @@ -0,0 +1,456 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Development fixture emitter: exactly one input byte, public catalog ID1..8. +global CIn uchar 2 +fn main to int +pos = ulong 0 +done = false +while eq done false bound 3 +r = read 0 CIn pos sub 2 pos +if lt r 0 +ret 74 +end +if eq r 0 +done = true +else +pos = add pos ulong r +if eq pos 2 +ret 65 +end +end +end +if ne pos 1 +ret 65 +end +n = kload ulong get CIn 0 +if eq n 0 +ret 77 +end +pos = 0 +while lt pos n bound 257 +w = write 1 kt pos sub n pos +if le w 0 +ret 74 +end +pos = add pos ulong w +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.elf-header b/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.om b/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.om new file mode 100644 index 00000000..535b3500 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.om @@ -0,0 +1,702 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Literal output oracle only. No kexpect/keval calls construct expected values. +fn csize id ulong to ulong +if eq id 1 +ret 136 +end +if eq id 2 +ret 160 +end +if eq id 3 +ret 232 +end +if eq id 4 +ret 116 +end +if eq id 5 +ret 128 +end +if eq id 6 +ret 164 +end +if eq id 7 +ret 144 +end +if eq id 8 +ret 156 +end +ret 0 +end +fn coutn id ulong to ulong +if eq id 1 +ret 28 +end +if eq id 2 +ret 40 +end +if eq id 3 +ret 76 +end +if and ge id 4 le id 6 +ret 12 +end +if eq id 7 +ret 36 +end +if eq id 8 +ret 32 +end +ret 0 +end +fn cvalues id ulong to void +for i ulong 258 +cw i 2779096485 +end +if eq id 1 +cw 1 0 +cw 3 11 +cw 5 15 +end +if eq id 2 +for i ulong 8 +cw add i 1 16 +end +end +if eq id 3 +for i ulong 17 +cw add i 1 2 +end +end +if eq id 4 +cw 1 4 +end +if eq id 5 +cw 1 4294967288 +end +if eq id 6 +cw 1 4294967279 +end +if eq id 7 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +if eq id 8 +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +end +end +note SPDX-License-Identifier: AGPL-3.0-only +fn ctest to void +for i ulong 8 +id = add i 1 +cvalues id +n = kload id +check eq n csize id +check eq kvalid n 0 +check eq kw 16 id +check eq kw 14 1 +check eq kw 4 0 +check eq kw 21 0 +check eq kw 22 0 +check eq keval n coutn id 0 +last = sub div coutn id 4 2 +cw last 4294967294 +check eq keval n coutn id 1 +end +end +fn cstable to void +n = kload 1 +cvalues 1 +for i ulong 4096 +put saved i get kt i +end +check eq kload 0 0 +check eq kload 9 0 +check eq kload 18446744073709551615 0 +same = true +for i ulong 4096 +if ne get saved i get kt i +same = false +end +end +check same +check eq keval n 28 0 +note Loading a task must not forge or erase observed candidate output. +cw 3 12 +check eq kload 1 136 +check eq kc 3 12 +check eq keval 136 28 1 +note Poisoned task policy is reset by compiled catalog, not honored. +tw 21 1 +tw 22 99 +tw 14 3 +tw 16 99 +tw 28 0 +check eq kload 1 136 +cvalues 1 +check eq keval 136 28 0 +same = true +for i ulong 4096 +if ne get saved i get kt i +same = false +end +end +check same +end +fn main to int +ctest +cstable +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.run.exit b/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.run.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.run.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.run.stderr b/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.run.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.run.stdout b/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.run.stdout new file mode 100644 index 00000000..93d21bca --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-green.run.stdout @@ -0,0 +1,83 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 +PASS 78 +PASS 79 +PASS 80 +PASS 81 +PASS 82 +PASS 83 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.elf-header b/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.om b/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.om new file mode 100644 index 00000000..060cb206 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.om @@ -0,0 +1,556 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note RED stub: fixed public task catalog not yet implemented. +fn kload id ulong to ulong +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Literal output oracle only. No kexpect/keval calls construct expected values. +fn csize id ulong to ulong +if eq id 1 +ret 136 +end +if eq id 2 +ret 160 +end +if eq id 3 +ret 232 +end +if eq id 4 +ret 116 +end +if eq id 5 +ret 128 +end +if eq id 6 +ret 164 +end +if eq id 7 +ret 144 +end +if eq id 8 +ret 156 +end +ret 0 +end +fn coutn id ulong to ulong +if eq id 1 +ret 28 +end +if eq id 2 +ret 40 +end +if eq id 3 +ret 76 +end +if and ge id 4 le id 6 +ret 12 +end +if eq id 7 +ret 36 +end +if eq id 8 +ret 32 +end +ret 0 +end +fn cvalues id ulong to void +for i ulong 258 +cw i 2779096485 +end +if eq id 1 +cw 1 0 +cw 3 11 +cw 5 15 +end +if eq id 2 +for i ulong 8 +cw add i 1 16 +end +end +if eq id 3 +for i ulong 17 +cw add i 1 2 +end +end +if eq id 4 +cw 1 4 +end +if eq id 5 +cw 1 4294967288 +end +if eq id 6 +cw 1 4294967279 +end +if eq id 7 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +if eq id 8 +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +end +end +note SPDX-License-Identifier: AGPL-3.0-only +fn ctest to void +for i ulong 8 +id = add i 1 +cvalues id +n = kload id +check eq n csize id +check eq kvalid n 0 +check eq kw 16 id +check eq kw 14 1 +check eq kw 4 0 +check eq kw 21 0 +check eq kw 22 0 +check eq keval n coutn id 0 +last = sub div coutn id 4 2 +cw last 4294967294 +check eq keval n coutn id 1 +end +end +fn cstable to void +n = kload 1 +cvalues 1 +for i ulong 4096 +put saved i get kt i +end +check eq kload 0 0 +check eq kload 9 0 +check eq kload 18446744073709551615 0 +same = true +for i ulong 4096 +if ne get saved i get kt i +same = false +end +end +check same +check eq keval n 28 0 +note Loading a task must not forge or erase observed candidate output. +cw 3 12 +check eq kload 1 136 +check eq kc 3 12 +check eq keval 136 28 1 +note Poisoned task policy is reset by compiled catalog, not honored. +tw 21 1 +tw 22 99 +tw 14 3 +tw 16 99 +tw 28 0 +check eq kload 1 136 +cvalues 1 +check eq keval 136 28 0 +same = true +for i ulong 4096 +if ne get saved i get kt i +same = false +end +end +check same +end +fn main to int +ctest +cstable +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.run.exit b/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.run.exit new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.run.exit @@ -0,0 +1 @@ +1 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.run.stderr b/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.run.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.run.stdout b/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.run.stdout new file mode 100644 index 00000000..8f928925 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/catalog-red.run.stdout @@ -0,0 +1,83 @@ +FAIL 1 +FAIL 2 +FAIL 3 +FAIL 4 +PASS 5 +PASS 6 +PASS 7 +FAIL 8 +FAIL 9 +FAIL 10 +FAIL 11 +FAIL 12 +FAIL 13 +PASS 14 +PASS 15 +PASS 16 +FAIL 17 +FAIL 18 +FAIL 19 +FAIL 20 +FAIL 21 +FAIL 22 +PASS 23 +PASS 24 +PASS 25 +FAIL 26 +FAIL 27 +FAIL 28 +FAIL 29 +FAIL 30 +FAIL 31 +PASS 32 +PASS 33 +PASS 34 +FAIL 35 +FAIL 36 +FAIL 37 +FAIL 38 +FAIL 39 +FAIL 40 +PASS 41 +PASS 42 +PASS 43 +FAIL 44 +FAIL 45 +FAIL 46 +FAIL 47 +FAIL 48 +FAIL 49 +PASS 50 +PASS 51 +PASS 52 +FAIL 53 +FAIL 54 +FAIL 55 +FAIL 56 +FAIL 57 +FAIL 58 +PASS 59 +PASS 60 +PASS 61 +FAIL 62 +FAIL 63 +FAIL 64 +FAIL 65 +FAIL 66 +FAIL 67 +PASS 68 +PASS 69 +PASS 70 +FAIL 71 +FAIL 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +FAIL 77 +FAIL 78 +PASS 79 +FAIL 80 +FAIL 81 +FAIL 82 +FAIL 83 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/ignore-length.om b/evidence/LEARN53-L777-CONTINUATION/author/ignore-length.om new file mode 100644 index 00000000..ea0aeb3d --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/ignore-length.om @@ -0,0 +1,86 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Compose with exact omega653.lock core. No fork, runner, signer or cost collector. +note LT/LPin/LC/status/exit are trusted executor inputs, not candidate claims. +fn aword p ulong v ulong to void +for i ulong 4 +put LWant add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn aobserve id ulong status ulong code ulong n ulong to ulong +tn = kload id +if eq tn 0 +ret 10 +end +if ne kvalid tn 0 +ret 10 +end +for i ulong 256 +put LWant i 0 +end +aword 0 2779096485 +for i ulong kw 13 +aword add i 1 kexpect i +end +aword add kw 13 1 2779096485 +want = mul 4 add kw 13 2 +ret lobserve status 0 code want want +end +fn afields to bool +for i ulong 8 +a = mul i 32 +id = add i 1 +n = kload id +if ne get LT a id +ret false +end +if ne get LT add a 1 2 +ret false +end +if ne get LT add a 2 1 +ret false +end +if ne get LT add a 3 kw 2 +ret false +end +if ne get LT add a 4 1 +ret false +end +if ne get LT add a 5 1 +ret false +end +if ne get LT add a 6 53 +ret false +end +if ne get LT add a 7 1 +ret false +end +if ne get LT add a 28 n +ret false +end +if ne get LT add a 29 mul 4 add kw 13 2 +ret false +end +if ne get LT add a 30 1000000 +ret false +end +if ne get LT add a 31 0 +ret false +end +end +ret true +end +fn abegin budget ulong to ulong +note Canonical active-run refusal preserves the existing run. +if eq get LS 0 1 +ret 20 +end +if eq afields false +note Invalid count invokes canonical fresh-run invalidation, including stale scores. +ret lbegin 0 1 budget +end +ret lbegin 8 1 budget +end +fn aattempt idx ulong ordinal ulong status ulong code ulong n ulong to ulong +outcome = aobserve add idx 1 status code n +ret lattempt idx ordinal outcome +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/ignore-outcome.om b/evidence/LEARN53-L777-CONTINUATION/author/ignore-outcome.om new file mode 100644 index 00000000..d7caffef --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/ignore-outcome.om @@ -0,0 +1,86 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Compose with exact omega653.lock core. No fork, runner, signer or cost collector. +note LT/LPin/LC/status/exit are trusted executor inputs, not candidate claims. +fn aword p ulong v ulong to void +for i ulong 4 +put LWant add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn aobserve id ulong status ulong code ulong n ulong to ulong +tn = kload id +if eq tn 0 +ret 10 +end +if ne kvalid tn 0 +ret 10 +end +for i ulong 256 +put LWant i 0 +end +aword 0 2779096485 +for i ulong kw 13 +aword add i 1 kexpect i +end +aword add kw 13 1 2779096485 +want = mul 4 add kw 13 2 +ret lobserve status 0 code want n +end +fn afields to bool +for i ulong 8 +a = mul i 32 +id = add i 1 +n = kload id +if ne get LT a id +ret false +end +if ne get LT add a 1 2 +ret false +end +if ne get LT add a 2 1 +ret false +end +if ne get LT add a 3 kw 2 +ret false +end +if ne get LT add a 4 1 +ret false +end +if ne get LT add a 5 1 +ret false +end +if ne get LT add a 6 53 +ret false +end +if ne get LT add a 7 1 +ret false +end +if ne get LT add a 28 n +ret false +end +if ne get LT add a 29 mul 4 add kw 13 2 +ret false +end +if ne get LT add a 30 1000000 +ret false +end +if ne get LT add a 31 0 +ret false +end +end +ret true +end +fn abegin budget ulong to ulong +note Canonical active-run refusal preserves the existing run. +if eq get LS 0 1 +ret 20 +end +if eq afields false +note Invalid count invokes canonical fresh-run invalidation, including stale scores. +ret lbegin 0 1 budget +end +ret lbegin 8 1 budget +end +fn aattempt idx ulong ordinal ulong status ulong code ulong n ulong to ulong +outcome = aobserve add idx 1 status code n +ret lattempt idx ordinal 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.elf-header b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.om b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.om new file mode 100644 index 00000000..98cbcad5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.om @@ -0,0 +1,1401 @@ +note LEARN653 v1 consumer checks. No compiler, judge, signer or process supervisor. +note Task slots are 32 ulongs; see docs/learning/benchmark-v1.md. +global LT ulong 2048 +global LS ulong 24 +global LSeen ulong 64 +global LWon ulong 64 +global LPin ulong 16 +global LWant uchar 256 +global LGot uchar 256 + +fn lequal a ulong b ulong n ulong to bool +for k ulong n +if ne get LT add a k get LT add b k +ret false +end +end +ret true +end + +fn lnonzero a ulong to bool +x = ulong 0 +for k ulong 4 +x = or x get LT add a k +end +ret ne x 0 +end + +fn lrecord a ulong to ulong +split = get LT add a 1 +if or eq get LT a 0 or lt split 1 gt split 4 +ret 2 +end +if or ne get LT add a 5 1 ne get LT add a 4 1 +ret 3 +end +if eq get LT add a 3 0 +ret 4 +end +if eq get LT add a 6 0 +ret 4 +end +if eq get LT add a 7 0 +ret 4 +end +note Only public train/dev records are admissible to this builder-side API. +note Adaptive/final custody stays with the existing independent owner. +if or gt split 2 ne get LT add a 2 1 +ret 5 +end +for h ulong 5 +if eq lnonzero add a add 8 mul h 4 false +ret 6 +end +end +if or eq get LT add a 28 0 gt get LT add a 28 256 +ret 7 +end +if or eq get LT add a 29 0 gt get LT add a 29 256 +ret 7 +end +if or eq get LT add a 30 0 gt get LT add a 30 1000000 +ret 7 +end +if ne get LT add a 31 0 +ret 7 +end +ret 0 +end + +fn lpair a ulong b ulong to ulong +if eq get LT a get LT b +ret 8 +end +if lequal add a 8 add b 8 4 +ret 9 +end +if lequal add a 12 add b 12 4 +ret 10 +end +if ne get LT add a 1 get LT add b 1 +if eq get LT add a 3 get LT add b 3 +ret 15 +end +if eq get LT add a 7 get LT add b 7 +ret 11 +end +if lequal add a 16 add b 16 4 +ret 12 +end +if lequal add a 20 add b 20 4 +ret 13 +end +if lequal add a 24 add b 24 4 +ret 14 +end +end +ret 0 +end + +fn lmanifest n ulong to ulong +if or eq n 0 gt n 64 +ret 1 +end +for i ulong n +a = mul i 32 +code = lrecord a +if ne code 0 +ret code +end +for j ulong i +b = mul j 32 +code = lpair a b +if ne code 0 +ret code +end +end +end +ret 0 +end + +note Caller supplies independent expected bytes and actual executor observations. +note Status 0=completed, 1=syntax,2=type,3=unsupported,4=timeout,5=resource,6=operational. +note Result 0=correct,1..6 as above,7=wrong value,8=trap mismatch,9=empty output,10=malformed. +fn lobserve status ulong wantcode ulong gotcode ulong wantn ulong gotn ulong to ulong +if gt status 6 +ret 10 +end +if ne status 0 +ret status +end +if or gt wantn 256 gt gotn 256 +ret 10 +end +if ne wantcode gotcode +ret 8 +end +if ne wantcode 0 +note Only declared runtime traps 101..107; arbitrary exit failures never pass. +if or lt wantcode 101 or gt wantcode 107 ne wantn 0 +ret 10 +end +if ne gotn 0 +ret 8 +end +ret 0 +end +if eq wantn 0 +ret 10 +end +if eq gotn 0 +ret 9 +end +if ne wantn gotn +ret 7 +end +for i ulong wantn +if ne get LWant i get LGot i +ret 7 +end +end +ret 0 +end + +note Full 256-bit compiler and executable identities, expected then observed. +note LPin[0..3] expected compiler, [4..7] observed, [8..11] expected ELF, [12..15] observed. +fn lpins to bool +ca = ulong 0 +ba = ulong 0 +for i ulong 4 +ca = or ca get LPin i +ba = or ba get LPin add i 8 +if ne get LPin i get LPin add i 4 +ret false +end +if ne get LPin add i 8 get LPin add i 12 +ret false +end +end +ret and ne ca 0 ne ba 0 +end + +note Each begin is one explicit fresh development run; no durable resume API exists. +note LS: active,tasks,maxattempts,attempts,pass1,passbudget,invalid,closed, +note generation_us,compile_us,judge_us,other_us,input_tokens,output_tokens,peak_bytes, +note energy_uj,energy_unknown,budget_us,completed,abstained,reserved... +fn lbegin n ulong maxtries ulong budget ulong to ulong +if eq get LS 0 1 +ret 20 +end +for i ulong 24 +put LS i 0 +end +for i ulong 64 +put LSeen i 0 +put LWon i 0 +end +code = lmanifest n +if ne code 0 +put LS 6 code +ret code +end +if or eq maxtries 0 or gt maxtries 64 or eq budget 0 gt budget 1000000000000 +put LS 6 21 +ret 21 +end +put LS 0 1 +put LS 1 n +put LS 2 maxtries +put LS 17 budget +ret 0 +end + +note Charge before classifying. Costs are exact integer caller measurements, never estimates. +note Missing cost values use all-ones and invalidate the run, never become free. +fn lcost slot ulong value ulong to ulong +if or lt slot 8 gt slot 15 +put LS 6 22 +ret 22 +end +if gt value 1000000000000 +put LS 6 23 +ret 23 +end +if eq slot 14 +if gt value get LS slot +put LS slot value +end +else +if gt get LS slot sub ulong 1000000000000 value +put LS 6 23 +ret 23 +end +put LS slot add get LS slot value +end +ret 0 +end + +note Attempt outcomes come from lobserve or explicit abstention 11, never compiler acceptance. +note Mandatory cost vector is supplied per attempt in LC; energy unknown is explicit. +global LC ulong 9 + +fn lattempt task ulong ordinal ulong outcome ulong to ulong +if ne get LS 0 1 +ret 24 +end +for k ulong 8 +r = lcost add k 8 get LC k +end +if eq get LC 8 0 +put LS 16 add get LS 16 1 +if ne get LC 7 0 +put LS 6 25 +end +else +if ne get LC 8 1 +put LS 6 25 +end +end +put LS 3 add get LS 3 1 +note At most 64 attempts across a public development run, including failed attempts. +if gt get LS 3 64 +put LS 6 31 +ret 31 +end +if eq lpins false +put LS 6 26 +end +note Invalid costs or identities can never add successful tasks. +if ne get LS 6 0 +ret get LS 6 +end +if or ge task get LS 1 gt outcome 11 +put LS 6 27 +ret 27 +end +if or ne ordinal add get LSeen task 1 gt ordinal get LS 2 +put LS 6 28 +ret 28 +end +put LSeen task ordinal +if eq outcome 0 +if eq ordinal 1 +put LS 4 add get LS 4 1 +end +if eq get LWon task 0 +put LWon task 1 +put LS 5 add get LS 5 1 +end +end +if eq outcome 11 +put LS 19 add get LS 19 1 +end +elapsed = add get LS 8 get LS 9 +elapsed = add elapsed get LS 10 +elapsed = add elapsed get LS 11 +if gt elapsed get LS 17 +put LS 6 29 +end +ret get LS 6 +end + +fn lfinish to ulong +if ne get LS 0 1 +ret 24 +end +put LS 0 0 +for i ulong get LS 1 +if eq get LSeen i 0 +if eq get LS 6 0 +put LS 6 30 +end +end +end +if ne get LS 6 0 +ret get LS 6 +end +put LS 18 1 +ret 0 +end + +note GEN-1 genjac rule reused: lowercase ASCII word-triple SET Jaccard strictly above 1/2. +note Input contains two public prompts only; never load final or sealed text here. +global LText uchar 512 +global LStart ulong 128 +global LLength ulong 128 +global LCount ulong 2 + +fn llower c uchar to uchar +if and ge c 65 le c 90 +ret add c 32 +end +ret c +end + +fn lword c uchar to bool +d = llower c +ret or and ge d 97 le d 122 and ge d 48 le d 57 +end + +fn ltokens side ulong size ulong to bool +if or gt side 1 gt size 256 +ret false +end +base = mul side 256 +slots = mul side 64 +count = ulong 0 +pos = ulong 0 +while lt pos size +if gt get LText add base pos 127 +ret false +end +if lword get LText add base pos +start = pos +scanning = true +while and lt pos size scanning +if lword get LText add base pos +pos = add pos 1 +else +scanning = false +end +end +if ge count 64 +ret false +end +put LStart add slots count add base start +put LLength add slots count sub pos start +count = add count 1 +else +pos = add pos 1 +end +end +put LCount side count +ret true +end + +fn lwordeq a ulong b ulong to bool +n = get LLength a +if ne n get LLength b +ret false +end +for k ulong n +if ne llower get LText add get LStart a k llower get LText add get LStart b k +ret false +end +end +ret true +end + +fn ltriple a ulong b ulong to bool +for k ulong 3 +if eq lwordeq add a k add b k false +ret false +end +end +ret true +end + +fn lunique at ulong base ulong to bool +j = base +while lt j at +if ltriple at j +ret false +end +j = add j 1 +end +ret true +end + +note 0=no near match,1=above threshold,2=insufficient words,3=unsupported input. +fn lnear an ulong bn ulong to ulong +if eq ltokens 0 an false +ret 3 +end +if eq ltokens 1 bn false +ret 3 +end +a = get LCount 0 +b = get LCount 1 +if or lt a 3 lt b 3 +ret 2 +end +ua = ulong 0 +ub = ulong 0 +overlap = ulong 0 +for i ulong sub a 2 +if lunique i 0 +ua = add ua 1 +hit = false +for j ulong sub b 2 +if ltriple i add 64 j +hit = true +end +end +if hit +overlap = add overlap 1 +end +end +end +for j ulong sub b 2 +if lunique add 64 j 64 +ub = add ub 1 +end +end +if gt mul overlap 3 add ua ub +ret 1 +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Compose with exact omega653.lock core. No fork, runner, signer or cost collector. +note LT/LPin/LC/status/exit are trusted executor inputs, not candidate claims. +fn aword p ulong v ulong to void +for i ulong 4 +put LWant add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn aobserve id ulong status ulong code ulong n ulong to ulong +tn = kload id +if eq tn 0 +ret 10 +end +if ne kvalid tn 0 +ret 10 +end +for i ulong 256 +put LWant i 0 +end +aword 0 2779096485 +for i ulong kw 13 +aword add i 1 kexpect i +end +aword add kw 13 1 2779096485 +want = mul 4 add kw 13 2 +ret lobserve status 0 code want want +end +fn afields to bool +for i ulong 8 +a = mul i 32 +id = add i 1 +n = kload id +if ne get LT a id +ret false +end +if ne get LT add a 1 2 +ret false +end +if ne get LT add a 2 1 +ret false +end +if ne get LT add a 3 kw 2 +ret false +end +if ne get LT add a 4 1 +ret false +end +if ne get LT add a 5 1 +ret false +end +if ne get LT add a 6 53 +ret false +end +if ne get LT add a 7 1 +ret false +end +if ne get LT add a 28 n +ret false +end +if ne get LT add a 29 mul 4 add kw 13 2 +ret false +end +if ne get LT add a 30 1000000 +ret false +end +if ne get LT add a 31 0 +ret false +end +end +ret true +end +fn abegin budget ulong to ulong +note Canonical active-run refusal preserves the existing run. +if eq get LS 0 1 +ret 20 +end +if eq afields false +note Invalid count invokes canonical fresh-run invalidation, including stale scores. +ret lbegin 0 1 budget +end +ret lbegin 8 1 budget +end +fn aattempt idx ulong ordinal ulong status ulong code ulong n ulong to ulong +outcome = aobserve add idx 1 status code n +ret lattempt idx ordinal outcome +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Literal output oracle only. No kexpect/keval calls construct expected values. +fn csize id ulong to ulong +if eq id 1 +ret 136 +end +if eq id 2 +ret 160 +end +if eq id 3 +ret 232 +end +if eq id 4 +ret 116 +end +if eq id 5 +ret 128 +end +if eq id 6 +ret 164 +end +if eq id 7 +ret 144 +end +if eq id 8 +ret 156 +end +ret 0 +end +fn coutn id ulong to ulong +if eq id 1 +ret 28 +end +if eq id 2 +ret 40 +end +if eq id 3 +ret 76 +end +if and ge id 4 le id 6 +ret 12 +end +if eq id 7 +ret 36 +end +if eq id 8 +ret 32 +end +ret 0 +end +fn cvalues id ulong to void +for i ulong 258 +cw i 2779096485 +end +if eq id 1 +cw 1 0 +cw 3 11 +cw 5 15 +end +if eq id 2 +for i ulong 8 +cw add i 1 16 +end +end +if eq id 3 +for i ulong 17 +cw add i 1 2 +end +end +if eq id 4 +cw 1 4 +end +if eq id 5 +cw 1 4294967288 +end +if eq id 6 +cw 1 4294967279 +end +if eq id 7 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +if eq id 8 +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +end +end +note SPDX-License-Identifier: AGPL-3.0-only +note SYNTHETIC unit metadata, pins and costs, NEVER a real benchmark record. +fn afix to void +for i ulong 2048 +put LT i 0 +end +for i ulong 24 +put LS i 0 +end +for i ulong 8 +id = add i 1 +a = mul i 32 +n = kload id +put LT a id +put LT add a 1 2 +put LT add a 2 1 +put LT add a 3 kw 2 +put LT add a 4 1 +put LT add a 5 1 +put LT add a 6 53 +put LT add a 7 1 +for j ulong 20 +put LT add a add 8 j add add mul i 100 j 1 +end +put LT add a 28 csize id +put LT add a 29 coutn id +put LT add a 30 1000000 +end +for i ulong 4 +put LPin i add i 1 +put LPin add i 4 add i 1 +put LPin add i 8 add i 5 +put LPin add i 12 add i 5 +end +for i ulong 9 +put LC i 0 +end +put LC 0 10 +put LC 1 20 +put LC 2 30 +put LC 3 40 +put LC 4 50 +put LC 5 60 +put LC 6 4096 +end +fn agood id ulong to void +cvalues id +for i ulong 256 +put LGot i get ko i +end +end +fn aobs to void +for i ulong 8 +id = add i 1 +agood id +check eq aobserve id 0 0 coutn id 0 +put LGot sub coutn id 1 0 +check eq aobserve id 0 0 coutn id 7 +end +agood 1 +check eq aobserve 0 0 0 28 10 +check eq aobserve 9 0 0 28 10 +check eq aobserve 18446744073709551615 0 0 28 10 +check eq aobserve 1 0 0 0 9 +check eq aobserve 1 0 0 27 7 +check eq aobserve 1 0 0 257 10 +check eq aobserve 1 0 0 18446744073709551615 10 +check eq aobserve 1 0 101 0 8 +check eq aobserve 1 7 0 28 10 +for i ulong 6 +check eq aobserve 1 add i 1 0 28 add i 1 +end +note A task mutation is discarded; correct output for weakened task is wrong. +n = kload 1 +tw 28 0 +tw 21 1 +tw 22 99 +tw 14 3 +check eq aobserve 1 0 0 28 0 +check eq kw 28 9 +check eq kw 21 0 +check eq kw 22 0 +check eq kw 14 1 +cw 5 6 +for i ulong 28 +put LGot i get ko i +end +check eq aobserve 1 0 0 28 7 +note Wrong logical output, skipped write, dense stride, PASS spoof, wrong task. +for i ulong 4 +agood 1 +if eq i 0 +cw 3 12 +end +if eq i 1 +cw 5 2779096485 +end +if eq i 2 +cw 2 11 +cw 3 15 +cw 5 2779096485 +end +if eq i 3 +cw 1 1397965136 +end +for j ulong 28 +put LGot j get ko j +end +check eq aobserve 1 0 0 28 7 +end +agood 1 +check eq aobserve 2 0 0 28 7 +end +fn aall to void +afix +check eq abegin 1000 0 +check eq abegin 1000 20 +for i ulong 8 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 8 +check eq get LS 5 8 +check eq get LS 3 8 +check eq get LS 16 8 +check eq get LS 14 4096 +note A subsequent invalid begin clears old completed-valid state. +put LT 1 3 +check eq abegin 1000 1 +check eq get LS 18 0 +end +fn amissing to void +afix +check eq abegin 1000 0 +for i ulong 7 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 30 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +agood 1 +check eq aattempt 0 1 0 0 28 0 +check eq aattempt 0 1 0 0 28 28 +check eq lfinish 28 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +check eq aattempt 8 1 0 0 28 27 +check eq lfinish 27 +end +fn abad to void +afix +check eq abegin 1000 0 +for i ulong 8 +id = add i 1 +agood id +if eq id 8 +put LGot 4 0 +end +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 7 +check eq get LS 5 7 +note A valid experiment can report failure, never silently drop that task. +check eq get LS 1 8 +check eq get LS 3 8 +end +fn apins to void +for i ulong 8 +afix +check eq abegin 1000 0 +p = add i 4 +if ge i 4 +p = add i 8 +end +put LPin p 999 +agood 1 +check eq aattempt 0 1 0 0 28 26 +check eq get LS 4 0 +check eq lfinish 26 +end +afix +check eq abegin 1000 0 +put LC 0 18446744073709551615 +agood 1 +check eq aattempt 0 1 0 0 28 23 +check eq get LS 4 0 +check eq lfinish 23 +afix +check eq abegin 1 0 +agood 1 +check eq aattempt 0 1 0 0 28 29 +check eq lfinish 29 +check eq get LS 18 0 +end +fn ameta to void +for i ulong 32 +if or lt i 8 ge i 28 +afix +put LT i 999 +check eq abegin 1000 1 +check eq get LS 18 0 +end +end +afix +for i ulong 4 +put LT add i 8 0 +end +check eq abegin 1000 6 +check eq get LS 18 0 +end +fn main to int +aobs +aall +amissing +abad +apins +ameta +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.run.exit b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.run.exit new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.run.exit @@ -0,0 +1 @@ +1 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.run.stderr b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.run.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.run.stdout b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.run.stdout new file mode 100644 index 00000000..75aaf774 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-length.run.stdout @@ -0,0 +1,160 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +FAIL 20 +FAIL 21 +FAIL 22 +FAIL 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 +PASS 78 +PASS 79 +PASS 80 +PASS 81 +PASS 82 +PASS 83 +PASS 84 +PASS 85 +PASS 86 +PASS 87 +PASS 88 +PASS 89 +PASS 90 +PASS 91 +PASS 92 +PASS 93 +PASS 94 +PASS 95 +PASS 96 +PASS 97 +PASS 98 +PASS 99 +PASS 100 +PASS 101 +PASS 102 +PASS 103 +PASS 104 +PASS 105 +PASS 106 +PASS 107 +PASS 108 +PASS 109 +PASS 110 +PASS 111 +PASS 112 +PASS 113 +PASS 114 +PASS 115 +PASS 116 +PASS 117 +PASS 118 +PASS 119 +PASS 120 +PASS 121 +PASS 122 +PASS 123 +PASS 124 +PASS 125 +PASS 126 +PASS 127 +PASS 128 +PASS 129 +PASS 130 +PASS 131 +PASS 132 +PASS 133 +PASS 134 +PASS 135 +PASS 136 +PASS 137 +PASS 138 +PASS 139 +PASS 140 +PASS 141 +PASS 142 +PASS 143 +PASS 144 +PASS 145 +PASS 146 +PASS 147 +PASS 148 +PASS 149 +PASS 150 +PASS 151 +PASS 152 +PASS 153 +PASS 154 +PASS 155 +PASS 156 +PASS 157 +PASS 158 +PASS 159 +PASS 160 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.elf-header b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.om b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.om new file mode 100644 index 00000000..60ca0379 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.om @@ -0,0 +1,1401 @@ +note LEARN653 v1 consumer checks. No compiler, judge, signer or process supervisor. +note Task slots are 32 ulongs; see docs/learning/benchmark-v1.md. +global LT ulong 2048 +global LS ulong 24 +global LSeen ulong 64 +global LWon ulong 64 +global LPin ulong 16 +global LWant uchar 256 +global LGot uchar 256 + +fn lequal a ulong b ulong n ulong to bool +for k ulong n +if ne get LT add a k get LT add b k +ret false +end +end +ret true +end + +fn lnonzero a ulong to bool +x = ulong 0 +for k ulong 4 +x = or x get LT add a k +end +ret ne x 0 +end + +fn lrecord a ulong to ulong +split = get LT add a 1 +if or eq get LT a 0 or lt split 1 gt split 4 +ret 2 +end +if or ne get LT add a 5 1 ne get LT add a 4 1 +ret 3 +end +if eq get LT add a 3 0 +ret 4 +end +if eq get LT add a 6 0 +ret 4 +end +if eq get LT add a 7 0 +ret 4 +end +note Only public train/dev records are admissible to this builder-side API. +note Adaptive/final custody stays with the existing independent owner. +if or gt split 2 ne get LT add a 2 1 +ret 5 +end +for h ulong 5 +if eq lnonzero add a add 8 mul h 4 false +ret 6 +end +end +if or eq get LT add a 28 0 gt get LT add a 28 256 +ret 7 +end +if or eq get LT add a 29 0 gt get LT add a 29 256 +ret 7 +end +if or eq get LT add a 30 0 gt get LT add a 30 1000000 +ret 7 +end +if ne get LT add a 31 0 +ret 7 +end +ret 0 +end + +fn lpair a ulong b ulong to ulong +if eq get LT a get LT b +ret 8 +end +if lequal add a 8 add b 8 4 +ret 9 +end +if lequal add a 12 add b 12 4 +ret 10 +end +if ne get LT add a 1 get LT add b 1 +if eq get LT add a 3 get LT add b 3 +ret 15 +end +if eq get LT add a 7 get LT add b 7 +ret 11 +end +if lequal add a 16 add b 16 4 +ret 12 +end +if lequal add a 20 add b 20 4 +ret 13 +end +if lequal add a 24 add b 24 4 +ret 14 +end +end +ret 0 +end + +fn lmanifest n ulong to ulong +if or eq n 0 gt n 64 +ret 1 +end +for i ulong n +a = mul i 32 +code = lrecord a +if ne code 0 +ret code +end +for j ulong i +b = mul j 32 +code = lpair a b +if ne code 0 +ret code +end +end +end +ret 0 +end + +note Caller supplies independent expected bytes and actual executor observations. +note Status 0=completed, 1=syntax,2=type,3=unsupported,4=timeout,5=resource,6=operational. +note Result 0=correct,1..6 as above,7=wrong value,8=trap mismatch,9=empty output,10=malformed. +fn lobserve status ulong wantcode ulong gotcode ulong wantn ulong gotn ulong to ulong +if gt status 6 +ret 10 +end +if ne status 0 +ret status +end +if or gt wantn 256 gt gotn 256 +ret 10 +end +if ne wantcode gotcode +ret 8 +end +if ne wantcode 0 +note Only declared runtime traps 101..107; arbitrary exit failures never pass. +if or lt wantcode 101 or gt wantcode 107 ne wantn 0 +ret 10 +end +if ne gotn 0 +ret 8 +end +ret 0 +end +if eq wantn 0 +ret 10 +end +if eq gotn 0 +ret 9 +end +if ne wantn gotn +ret 7 +end +for i ulong wantn +if ne get LWant i get LGot i +ret 7 +end +end +ret 0 +end + +note Full 256-bit compiler and executable identities, expected then observed. +note LPin[0..3] expected compiler, [4..7] observed, [8..11] expected ELF, [12..15] observed. +fn lpins to bool +ca = ulong 0 +ba = ulong 0 +for i ulong 4 +ca = or ca get LPin i +ba = or ba get LPin add i 8 +if ne get LPin i get LPin add i 4 +ret false +end +if ne get LPin add i 8 get LPin add i 12 +ret false +end +end +ret and ne ca 0 ne ba 0 +end + +note Each begin is one explicit fresh development run; no durable resume API exists. +note LS: active,tasks,maxattempts,attempts,pass1,passbudget,invalid,closed, +note generation_us,compile_us,judge_us,other_us,input_tokens,output_tokens,peak_bytes, +note energy_uj,energy_unknown,budget_us,completed,abstained,reserved... +fn lbegin n ulong maxtries ulong budget ulong to ulong +if eq get LS 0 1 +ret 20 +end +for i ulong 24 +put LS i 0 +end +for i ulong 64 +put LSeen i 0 +put LWon i 0 +end +code = lmanifest n +if ne code 0 +put LS 6 code +ret code +end +if or eq maxtries 0 or gt maxtries 64 or eq budget 0 gt budget 1000000000000 +put LS 6 21 +ret 21 +end +put LS 0 1 +put LS 1 n +put LS 2 maxtries +put LS 17 budget +ret 0 +end + +note Charge before classifying. Costs are exact integer caller measurements, never estimates. +note Missing cost values use all-ones and invalidate the run, never become free. +fn lcost slot ulong value ulong to ulong +if or lt slot 8 gt slot 15 +put LS 6 22 +ret 22 +end +if gt value 1000000000000 +put LS 6 23 +ret 23 +end +if eq slot 14 +if gt value get LS slot +put LS slot value +end +else +if gt get LS slot sub ulong 1000000000000 value +put LS 6 23 +ret 23 +end +put LS slot add get LS slot value +end +ret 0 +end + +note Attempt outcomes come from lobserve or explicit abstention 11, never compiler acceptance. +note Mandatory cost vector is supplied per attempt in LC; energy unknown is explicit. +global LC ulong 9 + +fn lattempt task ulong ordinal ulong outcome ulong to ulong +if ne get LS 0 1 +ret 24 +end +for k ulong 8 +r = lcost add k 8 get LC k +end +if eq get LC 8 0 +put LS 16 add get LS 16 1 +if ne get LC 7 0 +put LS 6 25 +end +else +if ne get LC 8 1 +put LS 6 25 +end +end +put LS 3 add get LS 3 1 +note At most 64 attempts across a public development run, including failed attempts. +if gt get LS 3 64 +put LS 6 31 +ret 31 +end +if eq lpins false +put LS 6 26 +end +note Invalid costs or identities can never add successful tasks. +if ne get LS 6 0 +ret get LS 6 +end +if or ge task get LS 1 gt outcome 11 +put LS 6 27 +ret 27 +end +if or ne ordinal add get LSeen task 1 gt ordinal get LS 2 +put LS 6 28 +ret 28 +end +put LSeen task ordinal +if eq outcome 0 +if eq ordinal 1 +put LS 4 add get LS 4 1 +end +if eq get LWon task 0 +put LWon task 1 +put LS 5 add get LS 5 1 +end +end +if eq outcome 11 +put LS 19 add get LS 19 1 +end +elapsed = add get LS 8 get LS 9 +elapsed = add elapsed get LS 10 +elapsed = add elapsed get LS 11 +if gt elapsed get LS 17 +put LS 6 29 +end +ret get LS 6 +end + +fn lfinish to ulong +if ne get LS 0 1 +ret 24 +end +put LS 0 0 +for i ulong get LS 1 +if eq get LSeen i 0 +if eq get LS 6 0 +put LS 6 30 +end +end +end +if ne get LS 6 0 +ret get LS 6 +end +put LS 18 1 +ret 0 +end + +note GEN-1 genjac rule reused: lowercase ASCII word-triple SET Jaccard strictly above 1/2. +note Input contains two public prompts only; never load final or sealed text here. +global LText uchar 512 +global LStart ulong 128 +global LLength ulong 128 +global LCount ulong 2 + +fn llower c uchar to uchar +if and ge c 65 le c 90 +ret add c 32 +end +ret c +end + +fn lword c uchar to bool +d = llower c +ret or and ge d 97 le d 122 and ge d 48 le d 57 +end + +fn ltokens side ulong size ulong to bool +if or gt side 1 gt size 256 +ret false +end +base = mul side 256 +slots = mul side 64 +count = ulong 0 +pos = ulong 0 +while lt pos size +if gt get LText add base pos 127 +ret false +end +if lword get LText add base pos +start = pos +scanning = true +while and lt pos size scanning +if lword get LText add base pos +pos = add pos 1 +else +scanning = false +end +end +if ge count 64 +ret false +end +put LStart add slots count add base start +put LLength add slots count sub pos start +count = add count 1 +else +pos = add pos 1 +end +end +put LCount side count +ret true +end + +fn lwordeq a ulong b ulong to bool +n = get LLength a +if ne n get LLength b +ret false +end +for k ulong n +if ne llower get LText add get LStart a k llower get LText add get LStart b k +ret false +end +end +ret true +end + +fn ltriple a ulong b ulong to bool +for k ulong 3 +if eq lwordeq add a k add b k false +ret false +end +end +ret true +end + +fn lunique at ulong base ulong to bool +j = base +while lt j at +if ltriple at j +ret false +end +j = add j 1 +end +ret true +end + +note 0=no near match,1=above threshold,2=insufficient words,3=unsupported input. +fn lnear an ulong bn ulong to ulong +if eq ltokens 0 an false +ret 3 +end +if eq ltokens 1 bn false +ret 3 +end +a = get LCount 0 +b = get LCount 1 +if or lt a 3 lt b 3 +ret 2 +end +ua = ulong 0 +ub = ulong 0 +overlap = ulong 0 +for i ulong sub a 2 +if lunique i 0 +ua = add ua 1 +hit = false +for j ulong sub b 2 +if ltriple i add 64 j +hit = true +end +end +if hit +overlap = add overlap 1 +end +end +end +for j ulong sub b 2 +if lunique add 64 j 64 +ub = add ub 1 +end +end +if gt mul overlap 3 add ua ub +ret 1 +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Compose with exact omega653.lock core. No fork, runner, signer or cost collector. +note LT/LPin/LC/status/exit are trusted executor inputs, not candidate claims. +fn aword p ulong v ulong to void +for i ulong 4 +put LWant add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn aobserve id ulong status ulong code ulong n ulong to ulong +tn = kload id +if eq tn 0 +ret 10 +end +if ne kvalid tn 0 +ret 10 +end +for i ulong 256 +put LWant i 0 +end +aword 0 2779096485 +for i ulong kw 13 +aword add i 1 kexpect i +end +aword add kw 13 1 2779096485 +want = mul 4 add kw 13 2 +ret lobserve status 0 code want n +end +fn afields to bool +for i ulong 8 +a = mul i 32 +id = add i 1 +n = kload id +if ne get LT a id +ret false +end +if ne get LT add a 1 2 +ret false +end +if ne get LT add a 2 1 +ret false +end +if ne get LT add a 3 kw 2 +ret false +end +if ne get LT add a 4 1 +ret false +end +if ne get LT add a 5 1 +ret false +end +if ne get LT add a 6 53 +ret false +end +if ne get LT add a 7 1 +ret false +end +if ne get LT add a 28 n +ret false +end +if ne get LT add a 29 mul 4 add kw 13 2 +ret false +end +if ne get LT add a 30 1000000 +ret false +end +if ne get LT add a 31 0 +ret false +end +end +ret true +end +fn abegin budget ulong to ulong +note Canonical active-run refusal preserves the existing run. +if eq get LS 0 1 +ret 20 +end +if eq afields false +note Invalid count invokes canonical fresh-run invalidation, including stale scores. +ret lbegin 0 1 budget +end +ret lbegin 8 1 budget +end +fn aattempt idx ulong ordinal ulong status ulong code ulong n ulong to ulong +outcome = aobserve add idx 1 status code n +ret lattempt idx ordinal 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Literal output oracle only. No kexpect/keval calls construct expected values. +fn csize id ulong to ulong +if eq id 1 +ret 136 +end +if eq id 2 +ret 160 +end +if eq id 3 +ret 232 +end +if eq id 4 +ret 116 +end +if eq id 5 +ret 128 +end +if eq id 6 +ret 164 +end +if eq id 7 +ret 144 +end +if eq id 8 +ret 156 +end +ret 0 +end +fn coutn id ulong to ulong +if eq id 1 +ret 28 +end +if eq id 2 +ret 40 +end +if eq id 3 +ret 76 +end +if and ge id 4 le id 6 +ret 12 +end +if eq id 7 +ret 36 +end +if eq id 8 +ret 32 +end +ret 0 +end +fn cvalues id ulong to void +for i ulong 258 +cw i 2779096485 +end +if eq id 1 +cw 1 0 +cw 3 11 +cw 5 15 +end +if eq id 2 +for i ulong 8 +cw add i 1 16 +end +end +if eq id 3 +for i ulong 17 +cw add i 1 2 +end +end +if eq id 4 +cw 1 4 +end +if eq id 5 +cw 1 4294967288 +end +if eq id 6 +cw 1 4294967279 +end +if eq id 7 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +if eq id 8 +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +end +end +note SPDX-License-Identifier: AGPL-3.0-only +note SYNTHETIC unit metadata, pins and costs, NEVER a real benchmark record. +fn afix to void +for i ulong 2048 +put LT i 0 +end +for i ulong 24 +put LS i 0 +end +for i ulong 8 +id = add i 1 +a = mul i 32 +n = kload id +put LT a id +put LT add a 1 2 +put LT add a 2 1 +put LT add a 3 kw 2 +put LT add a 4 1 +put LT add a 5 1 +put LT add a 6 53 +put LT add a 7 1 +for j ulong 20 +put LT add a add 8 j add add mul i 100 j 1 +end +put LT add a 28 csize id +put LT add a 29 coutn id +put LT add a 30 1000000 +end +for i ulong 4 +put LPin i add i 1 +put LPin add i 4 add i 1 +put LPin add i 8 add i 5 +put LPin add i 12 add i 5 +end +for i ulong 9 +put LC i 0 +end +put LC 0 10 +put LC 1 20 +put LC 2 30 +put LC 3 40 +put LC 4 50 +put LC 5 60 +put LC 6 4096 +end +fn agood id ulong to void +cvalues id +for i ulong 256 +put LGot i get ko i +end +end +fn aobs to void +for i ulong 8 +id = add i 1 +agood id +check eq aobserve id 0 0 coutn id 0 +put LGot sub coutn id 1 0 +check eq aobserve id 0 0 coutn id 7 +end +agood 1 +check eq aobserve 0 0 0 28 10 +check eq aobserve 9 0 0 28 10 +check eq aobserve 18446744073709551615 0 0 28 10 +check eq aobserve 1 0 0 0 9 +check eq aobserve 1 0 0 27 7 +check eq aobserve 1 0 0 257 10 +check eq aobserve 1 0 0 18446744073709551615 10 +check eq aobserve 1 0 101 0 8 +check eq aobserve 1 7 0 28 10 +for i ulong 6 +check eq aobserve 1 add i 1 0 28 add i 1 +end +note A task mutation is discarded; correct output for weakened task is wrong. +n = kload 1 +tw 28 0 +tw 21 1 +tw 22 99 +tw 14 3 +check eq aobserve 1 0 0 28 0 +check eq kw 28 9 +check eq kw 21 0 +check eq kw 22 0 +check eq kw 14 1 +cw 5 6 +for i ulong 28 +put LGot i get ko i +end +check eq aobserve 1 0 0 28 7 +note Wrong logical output, skipped write, dense stride, PASS spoof, wrong task. +for i ulong 4 +agood 1 +if eq i 0 +cw 3 12 +end +if eq i 1 +cw 5 2779096485 +end +if eq i 2 +cw 2 11 +cw 3 15 +cw 5 2779096485 +end +if eq i 3 +cw 1 1397965136 +end +for j ulong 28 +put LGot j get ko j +end +check eq aobserve 1 0 0 28 7 +end +agood 1 +check eq aobserve 2 0 0 28 7 +end +fn aall to void +afix +check eq abegin 1000 0 +check eq abegin 1000 20 +for i ulong 8 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 8 +check eq get LS 5 8 +check eq get LS 3 8 +check eq get LS 16 8 +check eq get LS 14 4096 +note A subsequent invalid begin clears old completed-valid state. +put LT 1 3 +check eq abegin 1000 1 +check eq get LS 18 0 +end +fn amissing to void +afix +check eq abegin 1000 0 +for i ulong 7 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 30 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +agood 1 +check eq aattempt 0 1 0 0 28 0 +check eq aattempt 0 1 0 0 28 28 +check eq lfinish 28 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +check eq aattempt 8 1 0 0 28 27 +check eq lfinish 27 +end +fn abad to void +afix +check eq abegin 1000 0 +for i ulong 8 +id = add i 1 +agood id +if eq id 8 +put LGot 4 0 +end +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 7 +check eq get LS 5 7 +note A valid experiment can report failure, never silently drop that task. +check eq get LS 1 8 +check eq get LS 3 8 +end +fn apins to void +for i ulong 8 +afix +check eq abegin 1000 0 +p = add i 4 +if ge i 4 +p = add i 8 +end +put LPin p 999 +agood 1 +check eq aattempt 0 1 0 0 28 26 +check eq get LS 4 0 +check eq lfinish 26 +end +afix +check eq abegin 1000 0 +put LC 0 18446744073709551615 +agood 1 +check eq aattempt 0 1 0 0 28 23 +check eq get LS 4 0 +check eq lfinish 23 +afix +check eq abegin 1 0 +agood 1 +check eq aattempt 0 1 0 0 28 29 +check eq lfinish 29 +check eq get LS 18 0 +end +fn ameta to void +for i ulong 32 +if or lt i 8 ge i 28 +afix +put LT i 999 +check eq abegin 1000 1 +check eq get LS 18 0 +end +end +afix +for i ulong 4 +put LT add i 8 0 +end +check eq abegin 1000 6 +check eq get LS 18 0 +end +fn main to int +aobs +aall +amissing +abad +apins +ameta +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.run.exit b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.run.exit new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.run.exit @@ -0,0 +1 @@ +1 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.run.stderr b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.run.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.run.stdout b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.run.stdout new file mode 100644 index 00000000..13a8093b --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/mutant-ignore-outcome.run.stdout @@ -0,0 +1,160 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 +PASS 78 +PASS 79 +PASS 80 +PASS 81 +PASS 82 +PASS 83 +PASS 84 +PASS 85 +PASS 86 +PASS 87 +PASS 88 +PASS 89 +PASS 90 +FAIL 91 +FAIL 92 +PASS 93 +PASS 94 +PASS 95 +PASS 96 +PASS 97 +PASS 98 +PASS 99 +PASS 100 +PASS 101 +PASS 102 +PASS 103 +PASS 104 +PASS 105 +PASS 106 +PASS 107 +PASS 108 +PASS 109 +PASS 110 +PASS 111 +PASS 112 +PASS 113 +PASS 114 +PASS 115 +PASS 116 +PASS 117 +PASS 118 +PASS 119 +PASS 120 +PASS 121 +PASS 122 +PASS 123 +PASS 124 +PASS 125 +PASS 126 +PASS 127 +PASS 128 +PASS 129 +PASS 130 +PASS 131 +PASS 132 +PASS 133 +PASS 134 +PASS 135 +PASS 136 +PASS 137 +PASS 138 +PASS 139 +PASS 140 +PASS 141 +PASS 142 +PASS 143 +PASS 144 +PASS 145 +PASS 146 +PASS 147 +PASS 148 +PASS 149 +PASS 150 +PASS 151 +PASS 152 +PASS 153 +PASS 154 +PASS 155 +PASS 156 +PASS 157 +PASS 158 +PASS 159 +PASS 160 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.elf-header b/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.om b/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.om new file mode 100644 index 00000000..56c38187 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.om @@ -0,0 +1,1401 @@ +note LEARN653 v1 consumer checks. No compiler, judge, signer or process supervisor. +note Task slots are 32 ulongs; see docs/learning/benchmark-v1.md. +global LT ulong 2048 +global LS ulong 24 +global LSeen ulong 64 +global LWon ulong 64 +global LPin ulong 16 +global LWant uchar 256 +global LGot uchar 256 + +fn lequal a ulong b ulong n ulong to bool +for k ulong n +if ne get LT add a k get LT add b k +ret false +end +end +ret true +end + +fn lnonzero a ulong to bool +x = ulong 0 +for k ulong 4 +x = or x get LT add a k +end +ret ne x 0 +end + +fn lrecord a ulong to ulong +split = get LT add a 1 +if or eq get LT a 0 or lt split 1 gt split 4 +ret 2 +end +if or ne get LT add a 5 1 ne get LT add a 4 1 +ret 3 +end +if eq get LT add a 3 0 +ret 4 +end +if eq get LT add a 6 0 +ret 4 +end +if eq get LT add a 7 0 +ret 4 +end +note Only public train/dev records are admissible to this builder-side API. +note Adaptive/final custody stays with the existing independent owner. +if or gt split 2 ne get LT add a 2 1 +ret 5 +end +for h ulong 5 +if eq lnonzero add a add 8 mul h 4 false +ret 6 +end +end +if or eq get LT add a 28 0 gt get LT add a 28 256 +ret 7 +end +if or eq get LT add a 29 0 gt get LT add a 29 256 +ret 7 +end +if or eq get LT add a 30 0 gt get LT add a 30 1000000 +ret 7 +end +if ne get LT add a 31 0 +ret 7 +end +ret 0 +end + +fn lpair a ulong b ulong to ulong +if eq get LT a get LT b +ret 8 +end +if lequal add a 8 add b 8 4 +ret 9 +end +if lequal add a 12 add b 12 4 +ret 10 +end +if ne get LT add a 1 get LT add b 1 +if eq get LT add a 3 get LT add b 3 +ret 15 +end +if eq get LT add a 7 get LT add b 7 +ret 11 +end +if lequal add a 16 add b 16 4 +ret 12 +end +if lequal add a 20 add b 20 4 +ret 13 +end +if lequal add a 24 add b 24 4 +ret 14 +end +end +ret 0 +end + +fn lmanifest n ulong to ulong +if or eq n 0 gt n 64 +ret 1 +end +for i ulong n +a = mul i 32 +code = lrecord a +if ne code 0 +ret code +end +for j ulong i +b = mul j 32 +code = lpair a b +if ne code 0 +ret code +end +end +end +ret 0 +end + +note Caller supplies independent expected bytes and actual executor observations. +note Status 0=completed, 1=syntax,2=type,3=unsupported,4=timeout,5=resource,6=operational. +note Result 0=correct,1..6 as above,7=wrong value,8=trap mismatch,9=empty output,10=malformed. +fn lobserve status ulong wantcode ulong gotcode ulong wantn ulong gotn ulong to ulong +if gt status 6 +ret 10 +end +if ne status 0 +ret status +end +if or gt wantn 256 gt gotn 256 +ret 10 +end +if ne wantcode gotcode +ret 8 +end +if ne wantcode 0 +note Only declared runtime traps 101..107; arbitrary exit failures never pass. +if or lt wantcode 101 or gt wantcode 107 ne wantn 0 +ret 10 +end +if ne gotn 0 +ret 8 +end +ret 0 +end +if eq wantn 0 +ret 10 +end +if eq gotn 0 +ret 9 +end +if ne wantn gotn +ret 7 +end +for i ulong wantn +if ne get LWant i get LGot i +ret 7 +end +end +ret 0 +end + +note Full 256-bit compiler and executable identities, expected then observed. +note LPin[0..3] expected compiler, [4..7] observed, [8..11] expected ELF, [12..15] observed. +fn lpins to bool +ca = ulong 0 +ba = ulong 0 +for i ulong 4 +ca = or ca get LPin i +ba = or ba get LPin add i 8 +if ne get LPin i get LPin add i 4 +ret false +end +if ne get LPin add i 8 get LPin add i 12 +ret false +end +end +ret and ne ca 0 ne ba 0 +end + +note Each begin is one explicit fresh development run; no durable resume API exists. +note LS: active,tasks,maxattempts,attempts,pass1,passbudget,invalid,closed, +note generation_us,compile_us,judge_us,other_us,input_tokens,output_tokens,peak_bytes, +note energy_uj,energy_unknown,budget_us,completed,abstained,reserved... +fn lbegin n ulong maxtries ulong budget ulong to ulong +if eq get LS 0 1 +ret 20 +end +for i ulong 24 +put LS i 0 +end +for i ulong 64 +put LSeen i 0 +put LWon i 0 +end +code = lmanifest n +if ne code 0 +put LS 6 code +ret code +end +if or eq maxtries 0 or gt maxtries 64 or eq budget 0 gt budget 1000000000000 +put LS 6 21 +ret 21 +end +put LS 0 1 +put LS 1 n +put LS 2 maxtries +put LS 17 budget +ret 0 +end + +note Charge before classifying. Costs are exact integer caller measurements, never estimates. +note Missing cost values use all-ones and invalidate the run, never become free. +fn lcost slot ulong value ulong to ulong +if or lt slot 8 gt slot 15 +put LS 6 22 +ret 22 +end +if gt value 1000000000000 +put LS 6 23 +ret 23 +end +if eq slot 14 +if gt value get LS slot +put LS slot value +end +else +if gt get LS slot sub ulong 1000000000000 value +put LS 6 23 +ret 23 +end +put LS slot add get LS slot value +end +ret 0 +end + +note Attempt outcomes come from lobserve or explicit abstention 11, never compiler acceptance. +note Mandatory cost vector is supplied per attempt in LC; energy unknown is explicit. +global LC ulong 9 + +fn lattempt task ulong ordinal ulong outcome ulong to ulong +if ne get LS 0 1 +ret 24 +end +for k ulong 8 +r = lcost add k 8 get LC k +end +if eq get LC 8 0 +put LS 16 add get LS 16 1 +if ne get LC 7 0 +put LS 6 25 +end +else +if ne get LC 8 1 +put LS 6 25 +end +end +put LS 3 add get LS 3 1 +note At most 64 attempts across a public development run, including failed attempts. +if gt get LS 3 64 +put LS 6 31 +ret 31 +end +if eq lpins false +put LS 6 26 +end +note Invalid costs or identities can never add successful tasks. +if ne get LS 6 0 +ret get LS 6 +end +if or ge task get LS 1 gt outcome 11 +put LS 6 27 +ret 27 +end +if or ne ordinal add get LSeen task 1 gt ordinal get LS 2 +put LS 6 28 +ret 28 +end +put LSeen task ordinal +if eq outcome 0 +if eq ordinal 1 +put LS 4 add get LS 4 1 +end +if eq get LWon task 0 +put LWon task 1 +put LS 5 add get LS 5 1 +end +end +if eq outcome 11 +put LS 19 add get LS 19 1 +end +elapsed = add get LS 8 get LS 9 +elapsed = add elapsed get LS 10 +elapsed = add elapsed get LS 11 +if gt elapsed get LS 17 +put LS 6 29 +end +ret get LS 6 +end + +fn lfinish to ulong +if ne get LS 0 1 +ret 24 +end +put LS 0 0 +for i ulong get LS 1 +if eq get LSeen i 0 +if eq get LS 6 0 +put LS 6 30 +end +end +end +if ne get LS 6 0 +ret get LS 6 +end +put LS 18 1 +ret 0 +end + +note GEN-1 genjac rule reused: lowercase ASCII word-triple SET Jaccard strictly above 1/2. +note Input contains two public prompts only; never load final or sealed text here. +global LText uchar 512 +global LStart ulong 128 +global LLength ulong 128 +global LCount ulong 2 + +fn llower c uchar to uchar +if and ge c 65 le c 90 +ret add c 32 +end +ret c +end + +fn lword c uchar to bool +d = llower c +ret or and ge d 97 le d 122 and ge d 48 le d 57 +end + +fn ltokens side ulong size ulong to bool +if or gt side 1 gt size 256 +ret false +end +base = mul side 256 +slots = mul side 64 +count = ulong 0 +pos = ulong 0 +while lt pos size +if gt get LText add base pos 127 +ret false +end +if lword get LText add base pos +start = pos +scanning = true +while and lt pos size scanning +if lword get LText add base pos +pos = add pos 1 +else +scanning = false +end +end +if ge count 64 +ret false +end +put LStart add slots count add base start +put LLength add slots count sub pos start +count = add count 1 +else +pos = add pos 1 +end +end +put LCount side count +ret true +end + +fn lwordeq a ulong b ulong to bool +n = get LLength a +if ne n get LLength b +ret false +end +for k ulong n +if ne llower get LText add get LStart a k llower get LText add get LStart b k +ret false +end +end +ret true +end + +fn ltriple a ulong b ulong to bool +for k ulong 3 +if eq lwordeq add a k add b k false +ret false +end +end +ret true +end + +fn lunique at ulong base ulong to bool +j = base +while lt j at +if ltriple at j +ret false +end +j = add j 1 +end +ret true +end + +note 0=no near match,1=above threshold,2=insufficient words,3=unsupported input. +fn lnear an ulong bn ulong to ulong +if eq ltokens 0 an false +ret 3 +end +if eq ltokens 1 bn false +ret 3 +end +a = get LCount 0 +b = get LCount 1 +if or lt a 3 lt b 3 +ret 2 +end +ua = ulong 0 +ub = ulong 0 +overlap = ulong 0 +for i ulong sub a 2 +if lunique i 0 +ua = add ua 1 +hit = false +for j ulong sub b 2 +if ltriple i add 64 j +hit = true +end +end +if hit +overlap = add overlap 1 +end +end +end +for j ulong sub b 2 +if lunique add 64 j 64 +ub = add ub 1 +end +end +if gt mul overlap 3 add ua ub +ret 1 +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Compose with exact omega653.lock core. No fork, runner, signer or cost collector. +note LT/LPin/LC/status/exit are trusted executor inputs, not candidate claims. +fn aword p ulong v ulong to void +for i ulong 4 +put LWant add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn aobserve id ulong status ulong code ulong n ulong to ulong +tn = kload id +if eq tn 0 +ret 10 +end +if ne kvalid tn 0 +ret 10 +end +for i ulong 256 +put LWant i 0 +end +aword 0 2779096485 +for i ulong kw 13 +aword add i 1 kexpect i +end +aword add kw 13 1 2779096485 +want = mul 4 add kw 13 2 +ret lobserve status 0 code want n +end +fn afields to bool +for i ulong 8 +a = mul i 32 +id = add i 1 +n = kload id +if ne get LT a id +ret false +end +if ne get LT add a 1 2 +ret false +end +if ne get LT add a 2 1 +ret false +end +if ne get LT add a 3 kw 2 +ret false +end +if ne get LT add a 4 1 +ret false +end +if ne get LT add a 5 1 +ret false +end +if ne get LT add a 6 53 +ret false +end +if ne get LT add a 7 1 +ret false +end +if ne get LT add a 28 n +ret false +end +if ne get LT add a 29 mul 4 add kw 13 2 +ret false +end +if ne get LT add a 30 1000000 +ret false +end +if ne get LT add a 31 0 +ret false +end +end +ret true +end +fn abegin budget ulong to ulong +note Canonical active-run refusal preserves the existing run. +if eq get LS 0 1 +ret 20 +end +if eq afields false +note Invalid count invokes canonical fresh-run invalidation, including stale scores. +ret lbegin 0 1 budget +end +ret lbegin 7 1 budget +end +fn aattempt idx ulong ordinal ulong status ulong code ulong n ulong to ulong +outcome = aobserve add idx 1 status code n +ret lattempt idx ordinal outcome +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Literal output oracle only. No kexpect/keval calls construct expected values. +fn csize id ulong to ulong +if eq id 1 +ret 136 +end +if eq id 2 +ret 160 +end +if eq id 3 +ret 232 +end +if eq id 4 +ret 116 +end +if eq id 5 +ret 128 +end +if eq id 6 +ret 164 +end +if eq id 7 +ret 144 +end +if eq id 8 +ret 156 +end +ret 0 +end +fn coutn id ulong to ulong +if eq id 1 +ret 28 +end +if eq id 2 +ret 40 +end +if eq id 3 +ret 76 +end +if and ge id 4 le id 6 +ret 12 +end +if eq id 7 +ret 36 +end +if eq id 8 +ret 32 +end +ret 0 +end +fn cvalues id ulong to void +for i ulong 258 +cw i 2779096485 +end +if eq id 1 +cw 1 0 +cw 3 11 +cw 5 15 +end +if eq id 2 +for i ulong 8 +cw add i 1 16 +end +end +if eq id 3 +for i ulong 17 +cw add i 1 2 +end +end +if eq id 4 +cw 1 4 +end +if eq id 5 +cw 1 4294967288 +end +if eq id 6 +cw 1 4294967279 +end +if eq id 7 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +if eq id 8 +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +end +end +note SPDX-License-Identifier: AGPL-3.0-only +note SYNTHETIC unit metadata, pins and costs, NEVER a real benchmark record. +fn afix to void +for i ulong 2048 +put LT i 0 +end +for i ulong 24 +put LS i 0 +end +for i ulong 8 +id = add i 1 +a = mul i 32 +n = kload id +put LT a id +put LT add a 1 2 +put LT add a 2 1 +put LT add a 3 kw 2 +put LT add a 4 1 +put LT add a 5 1 +put LT add a 6 53 +put LT add a 7 1 +for j ulong 20 +put LT add a add 8 j add add mul i 100 j 1 +end +put LT add a 28 csize id +put LT add a 29 coutn id +put LT add a 30 1000000 +end +for i ulong 4 +put LPin i add i 1 +put LPin add i 4 add i 1 +put LPin add i 8 add i 5 +put LPin add i 12 add i 5 +end +for i ulong 9 +put LC i 0 +end +put LC 0 10 +put LC 1 20 +put LC 2 30 +put LC 3 40 +put LC 4 50 +put LC 5 60 +put LC 6 4096 +end +fn agood id ulong to void +cvalues id +for i ulong 256 +put LGot i get ko i +end +end +fn aobs to void +for i ulong 8 +id = add i 1 +agood id +check eq aobserve id 0 0 coutn id 0 +put LGot sub coutn id 1 0 +check eq aobserve id 0 0 coutn id 7 +end +agood 1 +check eq aobserve 0 0 0 28 10 +check eq aobserve 9 0 0 28 10 +check eq aobserve 18446744073709551615 0 0 28 10 +check eq aobserve 1 0 0 0 9 +check eq aobserve 1 0 0 27 7 +check eq aobserve 1 0 0 257 10 +check eq aobserve 1 0 0 18446744073709551615 10 +check eq aobserve 1 0 101 0 8 +check eq aobserve 1 7 0 28 10 +for i ulong 6 +check eq aobserve 1 add i 1 0 28 add i 1 +end +note A task mutation is discarded; correct output for weakened task is wrong. +n = kload 1 +tw 28 0 +tw 21 1 +tw 22 99 +tw 14 3 +check eq aobserve 1 0 0 28 0 +check eq kw 28 9 +check eq kw 21 0 +check eq kw 22 0 +check eq kw 14 1 +cw 5 6 +for i ulong 28 +put LGot i get ko i +end +check eq aobserve 1 0 0 28 7 +note Wrong logical output, skipped write, dense stride, PASS spoof, wrong task. +for i ulong 4 +agood 1 +if eq i 0 +cw 3 12 +end +if eq i 1 +cw 5 2779096485 +end +if eq i 2 +cw 2 11 +cw 3 15 +cw 5 2779096485 +end +if eq i 3 +cw 1 1397965136 +end +for j ulong 28 +put LGot j get ko j +end +check eq aobserve 1 0 0 28 7 +end +agood 1 +check eq aobserve 2 0 0 28 7 +end +fn aall to void +afix +check eq abegin 1000 0 +check eq abegin 1000 20 +for i ulong 8 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 8 +check eq get LS 5 8 +check eq get LS 3 8 +check eq get LS 16 8 +check eq get LS 14 4096 +note A subsequent invalid begin clears old completed-valid state. +put LT 1 3 +check eq abegin 1000 1 +check eq get LS 18 0 +end +fn amissing to void +afix +check eq abegin 1000 0 +for i ulong 7 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 30 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +agood 1 +check eq aattempt 0 1 0 0 28 0 +check eq aattempt 0 1 0 0 28 28 +check eq lfinish 28 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +check eq aattempt 8 1 0 0 28 27 +check eq lfinish 27 +end +fn abad to void +afix +check eq abegin 1000 0 +for i ulong 8 +id = add i 1 +agood id +if eq id 8 +put LGot 4 0 +end +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 7 +check eq get LS 5 7 +note A valid experiment can report failure, never silently drop that task. +check eq get LS 1 8 +check eq get LS 3 8 +end +fn apins to void +for i ulong 8 +afix +check eq abegin 1000 0 +p = add i 4 +if ge i 4 +p = add i 8 +end +put LPin p 999 +agood 1 +check eq aattempt 0 1 0 0 28 26 +check eq get LS 4 0 +check eq lfinish 26 +end +afix +check eq abegin 1000 0 +put LC 0 18446744073709551615 +agood 1 +check eq aattempt 0 1 0 0 28 23 +check eq get LS 4 0 +check eq lfinish 23 +afix +check eq abegin 1 0 +agood 1 +check eq aattempt 0 1 0 0 28 29 +check eq lfinish 29 +check eq get LS 18 0 +end +fn ameta to void +for i ulong 32 +if or lt i 8 ge i 28 +afix +put LT i 999 +check eq abegin 1000 1 +check eq get LS 18 0 +end +end +afix +for i ulong 4 +put LT add i 8 0 +end +check eq abegin 1000 6 +check eq get LS 18 0 +end +fn main to int +aobs +aall +amissing +abad +apins +ameta +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.run.exit b/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.run.exit new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.run.exit @@ -0,0 +1 @@ +1 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.run.stderr b/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.run.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.run.stdout b/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.run.stdout new file mode 100644 index 00000000..b6cdee25 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/mutant-omit-task.run.stdout @@ -0,0 +1,160 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +FAIL 52 +FAIL 53 +FAIL 54 +FAIL 55 +FAIL 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +FAIL 70 +FAIL 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 +PASS 78 +PASS 79 +PASS 80 +PASS 81 +PASS 82 +PASS 83 +PASS 84 +PASS 85 +PASS 86 +PASS 87 +FAIL 88 +FAIL 89 +FAIL 90 +PASS 91 +PASS 92 +FAIL 93 +PASS 94 +PASS 95 +PASS 96 +PASS 97 +PASS 98 +PASS 99 +PASS 100 +PASS 101 +PASS 102 +PASS 103 +PASS 104 +PASS 105 +PASS 106 +PASS 107 +PASS 108 +PASS 109 +PASS 110 +PASS 111 +PASS 112 +PASS 113 +PASS 114 +PASS 115 +PASS 116 +PASS 117 +PASS 118 +PASS 119 +PASS 120 +PASS 121 +PASS 122 +PASS 123 +PASS 124 +PASS 125 +PASS 126 +PASS 127 +PASS 128 +PASS 129 +PASS 130 +PASS 131 +PASS 132 +PASS 133 +PASS 134 +PASS 135 +PASS 136 +PASS 137 +PASS 138 +PASS 139 +PASS 140 +PASS 141 +PASS 142 +PASS 143 +PASS 144 +PASS 145 +PASS 146 +PASS 147 +PASS 148 +PASS 149 +PASS 150 +PASS 151 +PASS 152 +PASS 153 +PASS 154 +PASS 155 +PASS 156 +PASS 157 +PASS 158 +PASS 159 +PASS 160 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-core-test.om b/evidence/LEARN53-L777-CONTINUATION/author/omega-core-test.om new file mode 100644 index 00000000..cb73de7d --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-core-test.om @@ -0,0 +1,325 @@ +note Handwritten component acceptance tests; public task oracle belongs to L776. +global Checks ulong 1 +global Digits uchar 16 +text Good "BENCHMARK_CORE_PASS\n" +text PhraseA "Add the two input numbers and return their sum" +text PhraseB "ADD the TWO input numbers, and return their sum." +text PhraseC "Find a maximum element in a sorted collection" +text HalfA "a b c" +text HalfB "a b c d" +text Repeat "a a a a a a" + +fn check actual ulong expected ulong to void +put Checks 0 add get Checks 0 1 +if ne actual expected +exit int add get Checks 0 40 +end +end + +fn fixture to void +for i ulong 2048 +put LT i 0 +end +for i ulong 4 +a = mul i 32 +put LT a add i 1 +put LT add a 1 add div i 2 1 +put LT add a 2 1 +put LT add a 3 add i 1 +put LT add a 4 1 +put LT add a 5 1 +put LT add a 6 776 +put LT add a 7 add i 1 +for j ulong 20 +put LT add a add j 8 add add mul i 100 j 1 +end +put LT add a 28 16 +put LT add a 29 16 +put LT add a 30 1000 +end +for i ulong 4 +put LPin i add i 1 +put LPin add i 4 add i 1 +put LPin add i 8 add i 5 +put LPin add i 12 add i 5 +end +for i ulong 9 +put LC i 0 +end +put LC 0 10 +put LC 1 20 +put LC 2 30 +put LC 3 40 +put LC 4 50 +put LC 5 60 +put LC 6 4096 +for i ulong 24 +put LS i 0 +end +end + +fn manifesttests to void +fixture +check lmanifest 4 0 +check lmanifest 0 1 +check lmanifest 65 1 +put LT 0 0 +check lmanifest 4 2 +fixture +put LT 5 2 +check lmanifest 4 3 +fixture +put LT 4 0 +check lmanifest 4 3 +fixture +put LT 6 0 +check lmanifest 4 4 +fixture +put LT 1 4 +check lmanifest 4 5 +fixture +put LT 1 3 +check lmanifest 4 5 +fixture +put LT 2 2 +check lmanifest 4 5 +fixture +for j ulong 4 +put LT add 8 j 0 +end +check lmanifest 4 6 +fixture +put LT 29 257 +check lmanifest 4 7 +fixture +put LT 32 1 +check lmanifest 4 8 +fixture +for j ulong 4 +put LT add 40 j get LT add 8 j +end +check lmanifest 4 9 +fixture +for j ulong 4 +put LT add 44 j get LT add 12 j +end +check lmanifest 4 10 +fixture +put LT 71 1 +check lmanifest 4 11 +fixture +for j ulong 4 +put LT add 80 j get LT add 16 j +end +check lmanifest 4 12 +fixture +for j ulong 4 +put LT add 84 j get LT add 20 j +end +check lmanifest 4 13 +fixture +for j ulong 4 +put LT add 88 j get LT add 24 j +end +check lmanifest 4 14 +fixture +put LT 67 1 +check lmanifest 4 15 +fixture +put LT 31 1 +check lmanifest 4 7 +fixture +put LT 28 0 +check lmanifest 4 7 +fixture +put LT 30 1000001 +check lmanifest 4 7 +end + +fn observationtests to void +for i ulong 256 +put LWant i uchar and i 255 +put LGot i uchar and i 255 +end +check lobserve 0 0 0 8 8 0 +put LGot 7 99 +check lobserve 0 0 0 8 8 7 +check lobserve 0 0 0 8 0 9 +check lobserve 0 0 0 8 7 7 +check lobserve 0 0 0 0 0 10 +check lobserve 0 102 102 0 0 0 +check lobserve 0 102 103 0 0 8 +check lobserve 0 102 102 0 1 8 +check lobserve 0 9 9 0 0 10 +check lobserve 0 0 102 8 0 8 +check lobserve 0 0 0 257 257 10 +for i ulong 6 +check lobserve add i 1 0 0 8 8 add i 1 +end +check lobserve 7 0 0 8 8 10 +end + +fn accountingtests to void +fixture +check lbegin 4 2 1000 0 +check lbegin 4 2 1000 20 +check lattempt 0 1 7 0 +check lattempt 0 2 0 0 +check lattempt 1 1 0 0 +check lattempt 2 1 4 0 +check lattempt 3 1 11 0 +check lfinish 0 +check get LS 3 5 +check get LS 4 1 +check get LS 5 2 +check get LS 8 50 +check get LS 9 100 +check get LS 10 150 +check get LS 11 200 +check get LS 12 250 +check get LS 13 300 +check get LS 14 4096 +check get LS 16 5 +check get LS 19 1 +check lattempt 0 3 0 24 +check lfinish 24 +fixture +check lbegin 4 2 1000 0 +check lattempt 0 1 0 0 +check lfinish 30 +check get LS 18 0 +fixture +check lbegin 4 2 1000 0 +check lattempt 0 2 0 28 +check get LS 8 10 +check lfinish 28 +fixture +check lbegin 4 1 1000 0 +check lattempt 0 1 7 0 +check lattempt 0 2 0 28 +check get LS 5 0 +fixture +check lbegin 4 2 99 0 +check lattempt 0 1 0 29 +check get LS 18 0 +fixture +check lbegin 4 2 1000 0 +put LPin 7 999 +check lattempt 0 1 0 26 +check get LS 8 10 +check get LS 5 0 +fixture +check lbegin 4 2 1000 0 +put LPin 15 999 +check lattempt 0 1 0 26 +fixture +check lbegin 4 2 1000 0 +put LC 0 18446744073709551615 +check lattempt 0 1 0 23 +fixture +check lbegin 4 2 1000 0 +put LC 7 1 +check lattempt 0 1 0 25 +fixture +check lbegin 4 2 1000 0 +put LC 7 13 +put LC 8 1 +check lattempt 0 1 0 0 +check get LS 15 13 +check get LS 16 0 +fixture +check lbegin 4 2 1000 0 +check lattempt 64 1 0 27 +check get LS 8 10 +fixture +check lbegin 4 0 1000 21 +fixture +check lbegin 4 65 1000 21 +fixture +check lbegin 4 2 0 21 +fixture +check lbegin 4 2 1000 0 +put LC 8 2 +check lattempt 0 1 0 25 +fixture +check lbegin 4 2 1000 0 +put LS 8 1000000000000 +check lattempt 0 1 0 23 +check get LS 18 0 +fixture +check lbegin 1 64 100000 0 +for i ulong 64 +check lattempt 0 add i 1 7 0 +end +check lattempt 0 65 0 31 +check get LS 3 65 +check get LS 8 650 +check get LS 5 0 +check lfinish 31 +fixture +check lbegin 1 1 1000 0 +put LC 6 8192 +check lattempt 0 1 0 0 +check get LS 14 8192 +check lfinish 0 +end + +fn neartests to void +for i ulong len PhraseA +put LText i get PhraseA i +end +for i ulong len PhraseB +put LText add 256 i get PhraseB i +end +check lnear len PhraseA len PhraseB 1 +for i ulong len PhraseC +put LText add 256 i get PhraseC i +end +check lnear len PhraseA len PhraseC 0 +check lnear 0 0 2 +check lnear 257 1 3 +put LText 0 255 +check lnear len PhraseA len PhraseC 3 +for i ulong len HalfA +put LText i get HalfA i +end +for i ulong len HalfB +put LText add 256 i get HalfB i +end +check lnear len HalfA len HalfB 0 +for i ulong len Repeat +put LText i get Repeat i +put LText add 256 i get Repeat i +end +check lnear len Repeat len Repeat 1 +for i ulong 128 +put LText mul i 2 97 +put LText add mul i 2 1 32 +end +check lnear 256 5 3 +end + +fn countout to void +n = get Checks 0 +put Digits 0 uchar add div n 100 48 +put Digits 1 uchar add rem div n 10 10 48 +put Digits 2 uchar add rem n 10 48 +put Digits 3 10 +w = write 1 Digits 0 4 +if ne w 4 +exit 36 +end +end + +fn main to int +manifesttests +observationtests +accountingtests +neartests +w = write 1 Good 0 len Good +if ne w long len Good +ret 35 +end +countout +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-core.om b/evidence/LEARN53-L777-CONTINUATION/author/omega-core.om new file mode 100644 index 00000000..b8d92188 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-core.om @@ -0,0 +1,448 @@ +note LEARN653 v1 consumer checks. No compiler, judge, signer or process supervisor. +note Task slots are 32 ulongs; see docs/learning/benchmark-v1.md. +global LT ulong 2048 +global LS ulong 24 +global LSeen ulong 64 +global LWon ulong 64 +global LPin ulong 16 +global LWant uchar 256 +global LGot uchar 256 + +fn lequal a ulong b ulong n ulong to bool +for k ulong n +if ne get LT add a k get LT add b k +ret false +end +end +ret true +end + +fn lnonzero a ulong to bool +x = ulong 0 +for k ulong 4 +x = or x get LT add a k +end +ret ne x 0 +end + +fn lrecord a ulong to ulong +split = get LT add a 1 +if or eq get LT a 0 or lt split 1 gt split 4 +ret 2 +end +if or ne get LT add a 5 1 ne get LT add a 4 1 +ret 3 +end +if eq get LT add a 3 0 +ret 4 +end +if eq get LT add a 6 0 +ret 4 +end +if eq get LT add a 7 0 +ret 4 +end +note Only public train/dev records are admissible to this builder-side API. +note Adaptive/final custody stays with the existing independent owner. +if or gt split 2 ne get LT add a 2 1 +ret 5 +end +for h ulong 5 +if eq lnonzero add a add 8 mul h 4 false +ret 6 +end +end +if or eq get LT add a 28 0 gt get LT add a 28 256 +ret 7 +end +if or eq get LT add a 29 0 gt get LT add a 29 256 +ret 7 +end +if or eq get LT add a 30 0 gt get LT add a 30 1000000 +ret 7 +end +if ne get LT add a 31 0 +ret 7 +end +ret 0 +end + +fn lpair a ulong b ulong to ulong +if eq get LT a get LT b +ret 8 +end +if lequal add a 8 add b 8 4 +ret 9 +end +if lequal add a 12 add b 12 4 +ret 10 +end +if ne get LT add a 1 get LT add b 1 +if eq get LT add a 3 get LT add b 3 +ret 15 +end +if eq get LT add a 7 get LT add b 7 +ret 11 +end +if lequal add a 16 add b 16 4 +ret 12 +end +if lequal add a 20 add b 20 4 +ret 13 +end +if lequal add a 24 add b 24 4 +ret 14 +end +end +ret 0 +end + +fn lmanifest n ulong to ulong +if or eq n 0 gt n 64 +ret 1 +end +for i ulong n +a = mul i 32 +code = lrecord a +if ne code 0 +ret code +end +for j ulong i +b = mul j 32 +code = lpair a b +if ne code 0 +ret code +end +end +end +ret 0 +end + +note Caller supplies independent expected bytes and actual executor observations. +note Status 0=completed, 1=syntax,2=type,3=unsupported,4=timeout,5=resource,6=operational. +note Result 0=correct,1..6 as above,7=wrong value,8=trap mismatch,9=empty output,10=malformed. +fn lobserve status ulong wantcode ulong gotcode ulong wantn ulong gotn ulong to ulong +if gt status 6 +ret 10 +end +if ne status 0 +ret status +end +if or gt wantn 256 gt gotn 256 +ret 10 +end +if ne wantcode gotcode +ret 8 +end +if ne wantcode 0 +note Only declared runtime traps 101..107; arbitrary exit failures never pass. +if or lt wantcode 101 or gt wantcode 107 ne wantn 0 +ret 10 +end +if ne gotn 0 +ret 8 +end +ret 0 +end +if eq wantn 0 +ret 10 +end +if eq gotn 0 +ret 9 +end +if ne wantn gotn +ret 7 +end +for i ulong wantn +if ne get LWant i get LGot i +ret 7 +end +end +ret 0 +end + +note Full 256-bit compiler and executable identities, expected then observed. +note LPin[0..3] expected compiler, [4..7] observed, [8..11] expected ELF, [12..15] observed. +fn lpins to bool +ca = ulong 0 +ba = ulong 0 +for i ulong 4 +ca = or ca get LPin i +ba = or ba get LPin add i 8 +if ne get LPin i get LPin add i 4 +ret false +end +if ne get LPin add i 8 get LPin add i 12 +ret false +end +end +ret and ne ca 0 ne ba 0 +end + +note Each begin is one explicit fresh development run; no durable resume API exists. +note LS: active,tasks,maxattempts,attempts,pass1,passbudget,invalid,closed, +note generation_us,compile_us,judge_us,other_us,input_tokens,output_tokens,peak_bytes, +note energy_uj,energy_unknown,budget_us,completed,abstained,reserved... +fn lbegin n ulong maxtries ulong budget ulong to ulong +if eq get LS 0 1 +ret 20 +end +for i ulong 24 +put LS i 0 +end +for i ulong 64 +put LSeen i 0 +put LWon i 0 +end +code = lmanifest n +if ne code 0 +put LS 6 code +ret code +end +if or eq maxtries 0 or gt maxtries 64 or eq budget 0 gt budget 1000000000000 +put LS 6 21 +ret 21 +end +put LS 0 1 +put LS 1 n +put LS 2 maxtries +put LS 17 budget +ret 0 +end + +note Charge before classifying. Costs are exact integer caller measurements, never estimates. +note Missing cost values use all-ones and invalidate the run, never become free. +fn lcost slot ulong value ulong to ulong +if or lt slot 8 gt slot 15 +put LS 6 22 +ret 22 +end +if gt value 1000000000000 +put LS 6 23 +ret 23 +end +if eq slot 14 +if gt value get LS slot +put LS slot value +end +else +if gt get LS slot sub ulong 1000000000000 value +put LS 6 23 +ret 23 +end +put LS slot add get LS slot value +end +ret 0 +end + +note Attempt outcomes come from lobserve or explicit abstention 11, never compiler acceptance. +note Mandatory cost vector is supplied per attempt in LC; energy unknown is explicit. +global LC ulong 9 + +fn lattempt task ulong ordinal ulong outcome ulong to ulong +if ne get LS 0 1 +ret 24 +end +for k ulong 8 +r = lcost add k 8 get LC k +end +if eq get LC 8 0 +put LS 16 add get LS 16 1 +if ne get LC 7 0 +put LS 6 25 +end +else +if ne get LC 8 1 +put LS 6 25 +end +end +put LS 3 add get LS 3 1 +note At most 64 attempts across a public development run, including failed attempts. +if gt get LS 3 64 +put LS 6 31 +ret 31 +end +if eq lpins false +put LS 6 26 +end +note Invalid costs or identities can never add successful tasks. +if ne get LS 6 0 +ret get LS 6 +end +if or ge task get LS 1 gt outcome 11 +put LS 6 27 +ret 27 +end +if or ne ordinal add get LSeen task 1 gt ordinal get LS 2 +put LS 6 28 +ret 28 +end +put LSeen task ordinal +if eq outcome 0 +if eq ordinal 1 +put LS 4 add get LS 4 1 +end +if eq get LWon task 0 +put LWon task 1 +put LS 5 add get LS 5 1 +end +end +if eq outcome 11 +put LS 19 add get LS 19 1 +end +elapsed = add get LS 8 get LS 9 +elapsed = add elapsed get LS 10 +elapsed = add elapsed get LS 11 +if gt elapsed get LS 17 +put LS 6 29 +end +ret get LS 6 +end + +fn lfinish to ulong +if ne get LS 0 1 +ret 24 +end +put LS 0 0 +for i ulong get LS 1 +if eq get LSeen i 0 +if eq get LS 6 0 +put LS 6 30 +end +end +end +if ne get LS 6 0 +ret get LS 6 +end +put LS 18 1 +ret 0 +end + +note GEN-1 genjac rule reused: lowercase ASCII word-triple SET Jaccard strictly above 1/2. +note Input contains two public prompts only; never load final or sealed text here. +global LText uchar 512 +global LStart ulong 128 +global LLength ulong 128 +global LCount ulong 2 + +fn llower c uchar to uchar +if and ge c 65 le c 90 +ret add c 32 +end +ret c +end + +fn lword c uchar to bool +d = llower c +ret or and ge d 97 le d 122 and ge d 48 le d 57 +end + +fn ltokens side ulong size ulong to bool +if or gt side 1 gt size 256 +ret false +end +base = mul side 256 +slots = mul side 64 +count = ulong 0 +pos = ulong 0 +while lt pos size +if gt get LText add base pos 127 +ret false +end +if lword get LText add base pos +start = pos +scanning = true +while and lt pos size scanning +if lword get LText add base pos +pos = add pos 1 +else +scanning = false +end +end +if ge count 64 +ret false +end +put LStart add slots count add base start +put LLength add slots count sub pos start +count = add count 1 +else +pos = add pos 1 +end +end +put LCount side count +ret true +end + +fn lwordeq a ulong b ulong to bool +n = get LLength a +if ne n get LLength b +ret false +end +for k ulong n +if ne llower get LText add get LStart a k llower get LText add get LStart b k +ret false +end +end +ret true +end + +fn ltriple a ulong b ulong to bool +for k ulong 3 +if eq lwordeq add a k add b k false +ret false +end +end +ret true +end + +fn lunique at ulong base ulong to bool +j = base +while lt j at +if ltriple at j +ret false +end +j = add j 1 +end +ret true +end + +note 0=no near match,1=above threshold,2=insufficient words,3=unsupported input. +fn lnear an ulong bn ulong to ulong +if eq ltokens 0 an false +ret 3 +end +if eq ltokens 1 bn false +ret 3 +end +a = get LCount 0 +b = get LCount 1 +if or lt a 3 lt b 3 +ret 2 +end +ua = ulong 0 +ub = ulong 0 +overlap = ulong 0 +for i ulong sub a 2 +if lunique i 0 +ua = add ua 1 +hit = false +for j ulong sub b 2 +if ltriple i add 64 j +hit = true +end +end +if hit +overlap = add overlap 1 +end +end +end +for j ulong sub b 2 +if lunique add 64 j 64 +ub = add ub 1 +end +end +if gt mul overlap 3 add ua ub +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-green.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/author/omega-green.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-green.elf-header b/evidence/LEARN53-L777-CONTINUATION/author/omega-green.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-green.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-green.om b/evidence/LEARN53-L777-CONTINUATION/author/omega-green.om new file mode 100644 index 00000000..d51f098d --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-green.om @@ -0,0 +1,1401 @@ +note LEARN653 v1 consumer checks. No compiler, judge, signer or process supervisor. +note Task slots are 32 ulongs; see docs/learning/benchmark-v1.md. +global LT ulong 2048 +global LS ulong 24 +global LSeen ulong 64 +global LWon ulong 64 +global LPin ulong 16 +global LWant uchar 256 +global LGot uchar 256 + +fn lequal a ulong b ulong n ulong to bool +for k ulong n +if ne get LT add a k get LT add b k +ret false +end +end +ret true +end + +fn lnonzero a ulong to bool +x = ulong 0 +for k ulong 4 +x = or x get LT add a k +end +ret ne x 0 +end + +fn lrecord a ulong to ulong +split = get LT add a 1 +if or eq get LT a 0 or lt split 1 gt split 4 +ret 2 +end +if or ne get LT add a 5 1 ne get LT add a 4 1 +ret 3 +end +if eq get LT add a 3 0 +ret 4 +end +if eq get LT add a 6 0 +ret 4 +end +if eq get LT add a 7 0 +ret 4 +end +note Only public train/dev records are admissible to this builder-side API. +note Adaptive/final custody stays with the existing independent owner. +if or gt split 2 ne get LT add a 2 1 +ret 5 +end +for h ulong 5 +if eq lnonzero add a add 8 mul h 4 false +ret 6 +end +end +if or eq get LT add a 28 0 gt get LT add a 28 256 +ret 7 +end +if or eq get LT add a 29 0 gt get LT add a 29 256 +ret 7 +end +if or eq get LT add a 30 0 gt get LT add a 30 1000000 +ret 7 +end +if ne get LT add a 31 0 +ret 7 +end +ret 0 +end + +fn lpair a ulong b ulong to ulong +if eq get LT a get LT b +ret 8 +end +if lequal add a 8 add b 8 4 +ret 9 +end +if lequal add a 12 add b 12 4 +ret 10 +end +if ne get LT add a 1 get LT add b 1 +if eq get LT add a 3 get LT add b 3 +ret 15 +end +if eq get LT add a 7 get LT add b 7 +ret 11 +end +if lequal add a 16 add b 16 4 +ret 12 +end +if lequal add a 20 add b 20 4 +ret 13 +end +if lequal add a 24 add b 24 4 +ret 14 +end +end +ret 0 +end + +fn lmanifest n ulong to ulong +if or eq n 0 gt n 64 +ret 1 +end +for i ulong n +a = mul i 32 +code = lrecord a +if ne code 0 +ret code +end +for j ulong i +b = mul j 32 +code = lpair a b +if ne code 0 +ret code +end +end +end +ret 0 +end + +note Caller supplies independent expected bytes and actual executor observations. +note Status 0=completed, 1=syntax,2=type,3=unsupported,4=timeout,5=resource,6=operational. +note Result 0=correct,1..6 as above,7=wrong value,8=trap mismatch,9=empty output,10=malformed. +fn lobserve status ulong wantcode ulong gotcode ulong wantn ulong gotn ulong to ulong +if gt status 6 +ret 10 +end +if ne status 0 +ret status +end +if or gt wantn 256 gt gotn 256 +ret 10 +end +if ne wantcode gotcode +ret 8 +end +if ne wantcode 0 +note Only declared runtime traps 101..107; arbitrary exit failures never pass. +if or lt wantcode 101 or gt wantcode 107 ne wantn 0 +ret 10 +end +if ne gotn 0 +ret 8 +end +ret 0 +end +if eq wantn 0 +ret 10 +end +if eq gotn 0 +ret 9 +end +if ne wantn gotn +ret 7 +end +for i ulong wantn +if ne get LWant i get LGot i +ret 7 +end +end +ret 0 +end + +note Full 256-bit compiler and executable identities, expected then observed. +note LPin[0..3] expected compiler, [4..7] observed, [8..11] expected ELF, [12..15] observed. +fn lpins to bool +ca = ulong 0 +ba = ulong 0 +for i ulong 4 +ca = or ca get LPin i +ba = or ba get LPin add i 8 +if ne get LPin i get LPin add i 4 +ret false +end +if ne get LPin add i 8 get LPin add i 12 +ret false +end +end +ret and ne ca 0 ne ba 0 +end + +note Each begin is one explicit fresh development run; no durable resume API exists. +note LS: active,tasks,maxattempts,attempts,pass1,passbudget,invalid,closed, +note generation_us,compile_us,judge_us,other_us,input_tokens,output_tokens,peak_bytes, +note energy_uj,energy_unknown,budget_us,completed,abstained,reserved... +fn lbegin n ulong maxtries ulong budget ulong to ulong +if eq get LS 0 1 +ret 20 +end +for i ulong 24 +put LS i 0 +end +for i ulong 64 +put LSeen i 0 +put LWon i 0 +end +code = lmanifest n +if ne code 0 +put LS 6 code +ret code +end +if or eq maxtries 0 or gt maxtries 64 or eq budget 0 gt budget 1000000000000 +put LS 6 21 +ret 21 +end +put LS 0 1 +put LS 1 n +put LS 2 maxtries +put LS 17 budget +ret 0 +end + +note Charge before classifying. Costs are exact integer caller measurements, never estimates. +note Missing cost values use all-ones and invalidate the run, never become free. +fn lcost slot ulong value ulong to ulong +if or lt slot 8 gt slot 15 +put LS 6 22 +ret 22 +end +if gt value 1000000000000 +put LS 6 23 +ret 23 +end +if eq slot 14 +if gt value get LS slot +put LS slot value +end +else +if gt get LS slot sub ulong 1000000000000 value +put LS 6 23 +ret 23 +end +put LS slot add get LS slot value +end +ret 0 +end + +note Attempt outcomes come from lobserve or explicit abstention 11, never compiler acceptance. +note Mandatory cost vector is supplied per attempt in LC; energy unknown is explicit. +global LC ulong 9 + +fn lattempt task ulong ordinal ulong outcome ulong to ulong +if ne get LS 0 1 +ret 24 +end +for k ulong 8 +r = lcost add k 8 get LC k +end +if eq get LC 8 0 +put LS 16 add get LS 16 1 +if ne get LC 7 0 +put LS 6 25 +end +else +if ne get LC 8 1 +put LS 6 25 +end +end +put LS 3 add get LS 3 1 +note At most 64 attempts across a public development run, including failed attempts. +if gt get LS 3 64 +put LS 6 31 +ret 31 +end +if eq lpins false +put LS 6 26 +end +note Invalid costs or identities can never add successful tasks. +if ne get LS 6 0 +ret get LS 6 +end +if or ge task get LS 1 gt outcome 11 +put LS 6 27 +ret 27 +end +if or ne ordinal add get LSeen task 1 gt ordinal get LS 2 +put LS 6 28 +ret 28 +end +put LSeen task ordinal +if eq outcome 0 +if eq ordinal 1 +put LS 4 add get LS 4 1 +end +if eq get LWon task 0 +put LWon task 1 +put LS 5 add get LS 5 1 +end +end +if eq outcome 11 +put LS 19 add get LS 19 1 +end +elapsed = add get LS 8 get LS 9 +elapsed = add elapsed get LS 10 +elapsed = add elapsed get LS 11 +if gt elapsed get LS 17 +put LS 6 29 +end +ret get LS 6 +end + +fn lfinish to ulong +if ne get LS 0 1 +ret 24 +end +put LS 0 0 +for i ulong get LS 1 +if eq get LSeen i 0 +if eq get LS 6 0 +put LS 6 30 +end +end +end +if ne get LS 6 0 +ret get LS 6 +end +put LS 18 1 +ret 0 +end + +note GEN-1 genjac rule reused: lowercase ASCII word-triple SET Jaccard strictly above 1/2. +note Input contains two public prompts only; never load final or sealed text here. +global LText uchar 512 +global LStart ulong 128 +global LLength ulong 128 +global LCount ulong 2 + +fn llower c uchar to uchar +if and ge c 65 le c 90 +ret add c 32 +end +ret c +end + +fn lword c uchar to bool +d = llower c +ret or and ge d 97 le d 122 and ge d 48 le d 57 +end + +fn ltokens side ulong size ulong to bool +if or gt side 1 gt size 256 +ret false +end +base = mul side 256 +slots = mul side 64 +count = ulong 0 +pos = ulong 0 +while lt pos size +if gt get LText add base pos 127 +ret false +end +if lword get LText add base pos +start = pos +scanning = true +while and lt pos size scanning +if lword get LText add base pos +pos = add pos 1 +else +scanning = false +end +end +if ge count 64 +ret false +end +put LStart add slots count add base start +put LLength add slots count sub pos start +count = add count 1 +else +pos = add pos 1 +end +end +put LCount side count +ret true +end + +fn lwordeq a ulong b ulong to bool +n = get LLength a +if ne n get LLength b +ret false +end +for k ulong n +if ne llower get LText add get LStart a k llower get LText add get LStart b k +ret false +end +end +ret true +end + +fn ltriple a ulong b ulong to bool +for k ulong 3 +if eq lwordeq add a k add b k false +ret false +end +end +ret true +end + +fn lunique at ulong base ulong to bool +j = base +while lt j at +if ltriple at j +ret false +end +j = add j 1 +end +ret true +end + +note 0=no near match,1=above threshold,2=insufficient words,3=unsupported input. +fn lnear an ulong bn ulong to ulong +if eq ltokens 0 an false +ret 3 +end +if eq ltokens 1 bn false +ret 3 +end +a = get LCount 0 +b = get LCount 1 +if or lt a 3 lt b 3 +ret 2 +end +ua = ulong 0 +ub = ulong 0 +overlap = ulong 0 +for i ulong sub a 2 +if lunique i 0 +ua = add ua 1 +hit = false +for j ulong sub b 2 +if ltriple i add 64 j +hit = true +end +end +if hit +overlap = add overlap 1 +end +end +end +for j ulong sub b 2 +if lunique add 64 j 64 +ub = add ub 1 +end +end +if gt mul overlap 3 add ua ub +ret 1 +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Compose with exact omega653.lock core. No fork, runner, signer or cost collector. +note LT/LPin/LC/status/exit are trusted executor inputs, not candidate claims. +fn aword p ulong v ulong to void +for i ulong 4 +put LWant add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn aobserve id ulong status ulong code ulong n ulong to ulong +tn = kload id +if eq tn 0 +ret 10 +end +if ne kvalid tn 0 +ret 10 +end +for i ulong 256 +put LWant i 0 +end +aword 0 2779096485 +for i ulong kw 13 +aword add i 1 kexpect i +end +aword add kw 13 1 2779096485 +want = mul 4 add kw 13 2 +ret lobserve status 0 code want n +end +fn afields to bool +for i ulong 8 +a = mul i 32 +id = add i 1 +n = kload id +if ne get LT a id +ret false +end +if ne get LT add a 1 2 +ret false +end +if ne get LT add a 2 1 +ret false +end +if ne get LT add a 3 kw 2 +ret false +end +if ne get LT add a 4 1 +ret false +end +if ne get LT add a 5 1 +ret false +end +if ne get LT add a 6 53 +ret false +end +if ne get LT add a 7 1 +ret false +end +if ne get LT add a 28 n +ret false +end +if ne get LT add a 29 mul 4 add kw 13 2 +ret false +end +if ne get LT add a 30 1000000 +ret false +end +if ne get LT add a 31 0 +ret false +end +end +ret true +end +fn abegin budget ulong to ulong +note Canonical active-run refusal preserves the existing run. +if eq get LS 0 1 +ret 20 +end +if eq afields false +note Invalid count invokes canonical fresh-run invalidation, including stale scores. +ret lbegin 0 1 budget +end +ret lbegin 8 1 budget +end +fn aattempt idx ulong ordinal ulong status ulong code ulong n ulong to ulong +outcome = aobserve add idx 1 status code n +ret lattempt idx ordinal outcome +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Literal output oracle only. No kexpect/keval calls construct expected values. +fn csize id ulong to ulong +if eq id 1 +ret 136 +end +if eq id 2 +ret 160 +end +if eq id 3 +ret 232 +end +if eq id 4 +ret 116 +end +if eq id 5 +ret 128 +end +if eq id 6 +ret 164 +end +if eq id 7 +ret 144 +end +if eq id 8 +ret 156 +end +ret 0 +end +fn coutn id ulong to ulong +if eq id 1 +ret 28 +end +if eq id 2 +ret 40 +end +if eq id 3 +ret 76 +end +if and ge id 4 le id 6 +ret 12 +end +if eq id 7 +ret 36 +end +if eq id 8 +ret 32 +end +ret 0 +end +fn cvalues id ulong to void +for i ulong 258 +cw i 2779096485 +end +if eq id 1 +cw 1 0 +cw 3 11 +cw 5 15 +end +if eq id 2 +for i ulong 8 +cw add i 1 16 +end +end +if eq id 3 +for i ulong 17 +cw add i 1 2 +end +end +if eq id 4 +cw 1 4 +end +if eq id 5 +cw 1 4294967288 +end +if eq id 6 +cw 1 4294967279 +end +if eq id 7 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +if eq id 8 +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +end +end +note SPDX-License-Identifier: AGPL-3.0-only +note SYNTHETIC unit metadata, pins and costs, NEVER a real benchmark record. +fn afix to void +for i ulong 2048 +put LT i 0 +end +for i ulong 24 +put LS i 0 +end +for i ulong 8 +id = add i 1 +a = mul i 32 +n = kload id +put LT a id +put LT add a 1 2 +put LT add a 2 1 +put LT add a 3 kw 2 +put LT add a 4 1 +put LT add a 5 1 +put LT add a 6 53 +put LT add a 7 1 +for j ulong 20 +put LT add a add 8 j add add mul i 100 j 1 +end +put LT add a 28 csize id +put LT add a 29 coutn id +put LT add a 30 1000000 +end +for i ulong 4 +put LPin i add i 1 +put LPin add i 4 add i 1 +put LPin add i 8 add i 5 +put LPin add i 12 add i 5 +end +for i ulong 9 +put LC i 0 +end +put LC 0 10 +put LC 1 20 +put LC 2 30 +put LC 3 40 +put LC 4 50 +put LC 5 60 +put LC 6 4096 +end +fn agood id ulong to void +cvalues id +for i ulong 256 +put LGot i get ko i +end +end +fn aobs to void +for i ulong 8 +id = add i 1 +agood id +check eq aobserve id 0 0 coutn id 0 +put LGot sub coutn id 1 0 +check eq aobserve id 0 0 coutn id 7 +end +agood 1 +check eq aobserve 0 0 0 28 10 +check eq aobserve 9 0 0 28 10 +check eq aobserve 18446744073709551615 0 0 28 10 +check eq aobserve 1 0 0 0 9 +check eq aobserve 1 0 0 27 7 +check eq aobserve 1 0 0 257 10 +check eq aobserve 1 0 0 18446744073709551615 10 +check eq aobserve 1 0 101 0 8 +check eq aobserve 1 7 0 28 10 +for i ulong 6 +check eq aobserve 1 add i 1 0 28 add i 1 +end +note A task mutation is discarded; correct output for weakened task is wrong. +n = kload 1 +tw 28 0 +tw 21 1 +tw 22 99 +tw 14 3 +check eq aobserve 1 0 0 28 0 +check eq kw 28 9 +check eq kw 21 0 +check eq kw 22 0 +check eq kw 14 1 +cw 5 6 +for i ulong 28 +put LGot i get ko i +end +check eq aobserve 1 0 0 28 7 +note Wrong logical output, skipped write, dense stride, PASS spoof, wrong task. +for i ulong 4 +agood 1 +if eq i 0 +cw 3 12 +end +if eq i 1 +cw 5 2779096485 +end +if eq i 2 +cw 2 11 +cw 3 15 +cw 5 2779096485 +end +if eq i 3 +cw 1 1397965136 +end +for j ulong 28 +put LGot j get ko j +end +check eq aobserve 1 0 0 28 7 +end +agood 1 +check eq aobserve 2 0 0 28 7 +end +fn aall to void +afix +check eq abegin 1000 0 +check eq abegin 1000 20 +for i ulong 8 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 8 +check eq get LS 5 8 +check eq get LS 3 8 +check eq get LS 16 8 +check eq get LS 14 4096 +note A subsequent invalid begin clears old completed-valid state. +put LT 1 3 +check eq abegin 1000 1 +check eq get LS 18 0 +end +fn amissing to void +afix +check eq abegin 1000 0 +for i ulong 7 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 30 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +agood 1 +check eq aattempt 0 1 0 0 28 0 +check eq aattempt 0 1 0 0 28 28 +check eq lfinish 28 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +check eq aattempt 8 1 0 0 28 27 +check eq lfinish 27 +end +fn abad to void +afix +check eq abegin 1000 0 +for i ulong 8 +id = add i 1 +agood id +if eq id 8 +put LGot 4 0 +end +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 7 +check eq get LS 5 7 +note A valid experiment can report failure, never silently drop that task. +check eq get LS 1 8 +check eq get LS 3 8 +end +fn apins to void +for i ulong 8 +afix +check eq abegin 1000 0 +p = add i 4 +if ge i 4 +p = add i 8 +end +put LPin p 999 +agood 1 +check eq aattempt 0 1 0 0 28 26 +check eq get LS 4 0 +check eq lfinish 26 +end +afix +check eq abegin 1000 0 +put LC 0 18446744073709551615 +agood 1 +check eq aattempt 0 1 0 0 28 23 +check eq get LS 4 0 +check eq lfinish 23 +afix +check eq abegin 1 0 +agood 1 +check eq aattempt 0 1 0 0 28 29 +check eq lfinish 29 +check eq get LS 18 0 +end +fn ameta to void +for i ulong 32 +if or lt i 8 ge i 28 +afix +put LT i 999 +check eq abegin 1000 1 +check eq get LS 18 0 +end +end +afix +for i ulong 4 +put LT add i 8 0 +end +check eq abegin 1000 6 +check eq get LS 18 0 +end +fn main to int +aobs +aall +amissing +abad +apins +ameta +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-green.run.exit b/evidence/LEARN53-L777-CONTINUATION/author/omega-green.run.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-green.run.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-green.run.stderr b/evidence/LEARN53-L777-CONTINUATION/author/omega-green.run.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-green.run.stdout b/evidence/LEARN53-L777-CONTINUATION/author/omega-green.run.stdout new file mode 100644 index 00000000..e508e223 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-green.run.stdout @@ -0,0 +1,160 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 +PASS 78 +PASS 79 +PASS 80 +PASS 81 +PASS 82 +PASS 83 +PASS 84 +PASS 85 +PASS 86 +PASS 87 +PASS 88 +PASS 89 +PASS 90 +PASS 91 +PASS 92 +PASS 93 +PASS 94 +PASS 95 +PASS 96 +PASS 97 +PASS 98 +PASS 99 +PASS 100 +PASS 101 +PASS 102 +PASS 103 +PASS 104 +PASS 105 +PASS 106 +PASS 107 +PASS 108 +PASS 109 +PASS 110 +PASS 111 +PASS 112 +PASS 113 +PASS 114 +PASS 115 +PASS 116 +PASS 117 +PASS 118 +PASS 119 +PASS 120 +PASS 121 +PASS 122 +PASS 123 +PASS 124 +PASS 125 +PASS 126 +PASS 127 +PASS 128 +PASS 129 +PASS 130 +PASS 131 +PASS 132 +PASS 133 +PASS 134 +PASS 135 +PASS 136 +PASS 137 +PASS 138 +PASS 139 +PASS 140 +PASS 141 +PASS 142 +PASS 143 +PASS 144 +PASS 145 +PASS 146 +PASS 147 +PASS 148 +PASS 149 +PASS 150 +PASS 151 +PASS 152 +PASS 153 +PASS 154 +PASS 155 +PASS 156 +PASS 157 +PASS 158 +PASS 159 +PASS 160 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-red.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/author/omega-red.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-red.elf-header b/evidence/LEARN53-L777-CONTINUATION/author/omega-red.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-red.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-red.om b/evidence/LEARN53-L777-CONTINUATION/author/omega-red.om new file mode 100644 index 00000000..c8b9f763 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-red.om @@ -0,0 +1,1326 @@ +note LEARN653 v1 consumer checks. No compiler, judge, signer or process supervisor. +note Task slots are 32 ulongs; see docs/learning/benchmark-v1.md. +global LT ulong 2048 +global LS ulong 24 +global LSeen ulong 64 +global LWon ulong 64 +global LPin ulong 16 +global LWant uchar 256 +global LGot uchar 256 + +fn lequal a ulong b ulong n ulong to bool +for k ulong n +if ne get LT add a k get LT add b k +ret false +end +end +ret true +end + +fn lnonzero a ulong to bool +x = ulong 0 +for k ulong 4 +x = or x get LT add a k +end +ret ne x 0 +end + +fn lrecord a ulong to ulong +split = get LT add a 1 +if or eq get LT a 0 or lt split 1 gt split 4 +ret 2 +end +if or ne get LT add a 5 1 ne get LT add a 4 1 +ret 3 +end +if eq get LT add a 3 0 +ret 4 +end +if eq get LT add a 6 0 +ret 4 +end +if eq get LT add a 7 0 +ret 4 +end +note Only public train/dev records are admissible to this builder-side API. +note Adaptive/final custody stays with the existing independent owner. +if or gt split 2 ne get LT add a 2 1 +ret 5 +end +for h ulong 5 +if eq lnonzero add a add 8 mul h 4 false +ret 6 +end +end +if or eq get LT add a 28 0 gt get LT add a 28 256 +ret 7 +end +if or eq get LT add a 29 0 gt get LT add a 29 256 +ret 7 +end +if or eq get LT add a 30 0 gt get LT add a 30 1000000 +ret 7 +end +if ne get LT add a 31 0 +ret 7 +end +ret 0 +end + +fn lpair a ulong b ulong to ulong +if eq get LT a get LT b +ret 8 +end +if lequal add a 8 add b 8 4 +ret 9 +end +if lequal add a 12 add b 12 4 +ret 10 +end +if ne get LT add a 1 get LT add b 1 +if eq get LT add a 3 get LT add b 3 +ret 15 +end +if eq get LT add a 7 get LT add b 7 +ret 11 +end +if lequal add a 16 add b 16 4 +ret 12 +end +if lequal add a 20 add b 20 4 +ret 13 +end +if lequal add a 24 add b 24 4 +ret 14 +end +end +ret 0 +end + +fn lmanifest n ulong to ulong +if or eq n 0 gt n 64 +ret 1 +end +for i ulong n +a = mul i 32 +code = lrecord a +if ne code 0 +ret code +end +for j ulong i +b = mul j 32 +code = lpair a b +if ne code 0 +ret code +end +end +end +ret 0 +end + +note Caller supplies independent expected bytes and actual executor observations. +note Status 0=completed, 1=syntax,2=type,3=unsupported,4=timeout,5=resource,6=operational. +note Result 0=correct,1..6 as above,7=wrong value,8=trap mismatch,9=empty output,10=malformed. +fn lobserve status ulong wantcode ulong gotcode ulong wantn ulong gotn ulong to ulong +if gt status 6 +ret 10 +end +if ne status 0 +ret status +end +if or gt wantn 256 gt gotn 256 +ret 10 +end +if ne wantcode gotcode +ret 8 +end +if ne wantcode 0 +note Only declared runtime traps 101..107; arbitrary exit failures never pass. +if or lt wantcode 101 or gt wantcode 107 ne wantn 0 +ret 10 +end +if ne gotn 0 +ret 8 +end +ret 0 +end +if eq wantn 0 +ret 10 +end +if eq gotn 0 +ret 9 +end +if ne wantn gotn +ret 7 +end +for i ulong wantn +if ne get LWant i get LGot i +ret 7 +end +end +ret 0 +end + +note Full 256-bit compiler and executable identities, expected then observed. +note LPin[0..3] expected compiler, [4..7] observed, [8..11] expected ELF, [12..15] observed. +fn lpins to bool +ca = ulong 0 +ba = ulong 0 +for i ulong 4 +ca = or ca get LPin i +ba = or ba get LPin add i 8 +if ne get LPin i get LPin add i 4 +ret false +end +if ne get LPin add i 8 get LPin add i 12 +ret false +end +end +ret and ne ca 0 ne ba 0 +end + +note Each begin is one explicit fresh development run; no durable resume API exists. +note LS: active,tasks,maxattempts,attempts,pass1,passbudget,invalid,closed, +note generation_us,compile_us,judge_us,other_us,input_tokens,output_tokens,peak_bytes, +note energy_uj,energy_unknown,budget_us,completed,abstained,reserved... +fn lbegin n ulong maxtries ulong budget ulong to ulong +if eq get LS 0 1 +ret 20 +end +for i ulong 24 +put LS i 0 +end +for i ulong 64 +put LSeen i 0 +put LWon i 0 +end +code = lmanifest n +if ne code 0 +put LS 6 code +ret code +end +if or eq maxtries 0 or gt maxtries 64 or eq budget 0 gt budget 1000000000000 +put LS 6 21 +ret 21 +end +put LS 0 1 +put LS 1 n +put LS 2 maxtries +put LS 17 budget +ret 0 +end + +note Charge before classifying. Costs are exact integer caller measurements, never estimates. +note Missing cost values use all-ones and invalidate the run, never become free. +fn lcost slot ulong value ulong to ulong +if or lt slot 8 gt slot 15 +put LS 6 22 +ret 22 +end +if gt value 1000000000000 +put LS 6 23 +ret 23 +end +if eq slot 14 +if gt value get LS slot +put LS slot value +end +else +if gt get LS slot sub ulong 1000000000000 value +put LS 6 23 +ret 23 +end +put LS slot add get LS slot value +end +ret 0 +end + +note Attempt outcomes come from lobserve or explicit abstention 11, never compiler acceptance. +note Mandatory cost vector is supplied per attempt in LC; energy unknown is explicit. +global LC ulong 9 + +fn lattempt task ulong ordinal ulong outcome ulong to ulong +if ne get LS 0 1 +ret 24 +end +for k ulong 8 +r = lcost add k 8 get LC k +end +if eq get LC 8 0 +put LS 16 add get LS 16 1 +if ne get LC 7 0 +put LS 6 25 +end +else +if ne get LC 8 1 +put LS 6 25 +end +end +put LS 3 add get LS 3 1 +note At most 64 attempts across a public development run, including failed attempts. +if gt get LS 3 64 +put LS 6 31 +ret 31 +end +if eq lpins false +put LS 6 26 +end +note Invalid costs or identities can never add successful tasks. +if ne get LS 6 0 +ret get LS 6 +end +if or ge task get LS 1 gt outcome 11 +put LS 6 27 +ret 27 +end +if or ne ordinal add get LSeen task 1 gt ordinal get LS 2 +put LS 6 28 +ret 28 +end +put LSeen task ordinal +if eq outcome 0 +if eq ordinal 1 +put LS 4 add get LS 4 1 +end +if eq get LWon task 0 +put LWon task 1 +put LS 5 add get LS 5 1 +end +end +if eq outcome 11 +put LS 19 add get LS 19 1 +end +elapsed = add get LS 8 get LS 9 +elapsed = add elapsed get LS 10 +elapsed = add elapsed get LS 11 +if gt elapsed get LS 17 +put LS 6 29 +end +ret get LS 6 +end + +fn lfinish to ulong +if ne get LS 0 1 +ret 24 +end +put LS 0 0 +for i ulong get LS 1 +if eq get LSeen i 0 +if eq get LS 6 0 +put LS 6 30 +end +end +end +if ne get LS 6 0 +ret get LS 6 +end +put LS 18 1 +ret 0 +end + +note GEN-1 genjac rule reused: lowercase ASCII word-triple SET Jaccard strictly above 1/2. +note Input contains two public prompts only; never load final or sealed text here. +global LText uchar 512 +global LStart ulong 128 +global LLength ulong 128 +global LCount ulong 2 + +fn llower c uchar to uchar +if and ge c 65 le c 90 +ret add c 32 +end +ret c +end + +fn lword c uchar to bool +d = llower c +ret or and ge d 97 le d 122 and ge d 48 le d 57 +end + +fn ltokens side ulong size ulong to bool +if or gt side 1 gt size 256 +ret false +end +base = mul side 256 +slots = mul side 64 +count = ulong 0 +pos = ulong 0 +while lt pos size +if gt get LText add base pos 127 +ret false +end +if lword get LText add base pos +start = pos +scanning = true +while and lt pos size scanning +if lword get LText add base pos +pos = add pos 1 +else +scanning = false +end +end +if ge count 64 +ret false +end +put LStart add slots count add base start +put LLength add slots count sub pos start +count = add count 1 +else +pos = add pos 1 +end +end +put LCount side count +ret true +end + +fn lwordeq a ulong b ulong to bool +n = get LLength a +if ne n get LLength b +ret false +end +for k ulong n +if ne llower get LText add get LStart a k llower get LText add get LStart b k +ret false +end +end +ret true +end + +fn ltriple a ulong b ulong to bool +for k ulong 3 +if eq lwordeq add a k add b k false +ret false +end +end +ret true +end + +fn lunique at ulong base ulong to bool +j = base +while lt j at +if ltriple at j +ret false +end +j = add j 1 +end +ret true +end + +note 0=no near match,1=above threshold,2=insufficient words,3=unsupported input. +fn lnear an ulong bn ulong to ulong +if eq ltokens 0 an false +ret 3 +end +if eq ltokens 1 bn false +ret 3 +end +a = get LCount 0 +b = get LCount 1 +if or lt a 3 lt b 3 +ret 2 +end +ua = ulong 0 +ub = ulong 0 +overlap = ulong 0 +for i ulong sub a 2 +if lunique i 0 +ua = add ua 1 +hit = false +for j ulong sub b 2 +if ltriple i add 64 j +hit = true +end +end +if hit +overlap = add overlap 1 +end +end +end +for j ulong sub b 2 +if lunique add 64 j 64 +ub = add ub 1 +end +end +if gt mul overlap 3 add ua ub +ret 1 +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note RED stubs: canonical attachment not implemented. +fn aobserve id ulong status ulong code ulong n ulong to ulong +ret 0 +end +fn abegin budget ulong to ulong +ret 0 +end +fn aattempt idx ulong ordinal ulong status ulong code ulong n ulong to ulong +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Literal output oracle only. No kexpect/keval calls construct expected values. +fn csize id ulong to ulong +if eq id 1 +ret 136 +end +if eq id 2 +ret 160 +end +if eq id 3 +ret 232 +end +if eq id 4 +ret 116 +end +if eq id 5 +ret 128 +end +if eq id 6 +ret 164 +end +if eq id 7 +ret 144 +end +if eq id 8 +ret 156 +end +ret 0 +end +fn coutn id ulong to ulong +if eq id 1 +ret 28 +end +if eq id 2 +ret 40 +end +if eq id 3 +ret 76 +end +if and ge id 4 le id 6 +ret 12 +end +if eq id 7 +ret 36 +end +if eq id 8 +ret 32 +end +ret 0 +end +fn cvalues id ulong to void +for i ulong 258 +cw i 2779096485 +end +if eq id 1 +cw 1 0 +cw 3 11 +cw 5 15 +end +if eq id 2 +for i ulong 8 +cw add i 1 16 +end +end +if eq id 3 +for i ulong 17 +cw add i 1 2 +end +end +if eq id 4 +cw 1 4 +end +if eq id 5 +cw 1 4294967288 +end +if eq id 6 +cw 1 4294967279 +end +if eq id 7 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +if eq id 8 +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +end +end +note SPDX-License-Identifier: AGPL-3.0-only +note SYNTHETIC unit metadata, pins and costs, NEVER a real benchmark record. +fn afix to void +for i ulong 2048 +put LT i 0 +end +for i ulong 24 +put LS i 0 +end +for i ulong 8 +id = add i 1 +a = mul i 32 +n = kload id +put LT a id +put LT add a 1 2 +put LT add a 2 1 +put LT add a 3 kw 2 +put LT add a 4 1 +put LT add a 5 1 +put LT add a 6 53 +put LT add a 7 1 +for j ulong 20 +put LT add a add 8 j add add mul i 100 j 1 +end +put LT add a 28 csize id +put LT add a 29 coutn id +put LT add a 30 1000000 +end +for i ulong 4 +put LPin i add i 1 +put LPin add i 4 add i 1 +put LPin add i 8 add i 5 +put LPin add i 12 add i 5 +end +for i ulong 9 +put LC i 0 +end +put LC 0 10 +put LC 1 20 +put LC 2 30 +put LC 3 40 +put LC 4 50 +put LC 5 60 +put LC 6 4096 +end +fn agood id ulong to void +cvalues id +for i ulong 256 +put LGot i get ko i +end +end +fn aobs to void +for i ulong 8 +id = add i 1 +agood id +check eq aobserve id 0 0 coutn id 0 +put LGot sub coutn id 1 0 +check eq aobserve id 0 0 coutn id 7 +end +agood 1 +check eq aobserve 0 0 0 28 10 +check eq aobserve 9 0 0 28 10 +check eq aobserve 18446744073709551615 0 0 28 10 +check eq aobserve 1 0 0 0 9 +check eq aobserve 1 0 0 27 7 +check eq aobserve 1 0 0 257 10 +check eq aobserve 1 0 0 18446744073709551615 10 +check eq aobserve 1 0 101 0 8 +check eq aobserve 1 7 0 28 10 +for i ulong 6 +check eq aobserve 1 add i 1 0 28 add i 1 +end +note A task mutation is discarded; correct output for weakened task is wrong. +n = kload 1 +tw 28 0 +tw 21 1 +tw 22 99 +tw 14 3 +check eq aobserve 1 0 0 28 0 +check eq kw 28 9 +check eq kw 21 0 +check eq kw 22 0 +check eq kw 14 1 +cw 5 6 +for i ulong 28 +put LGot i get ko i +end +check eq aobserve 1 0 0 28 7 +note Wrong logical output, skipped write, dense stride, PASS spoof, wrong task. +for i ulong 4 +agood 1 +if eq i 0 +cw 3 12 +end +if eq i 1 +cw 5 2779096485 +end +if eq i 2 +cw 2 11 +cw 3 15 +cw 5 2779096485 +end +if eq i 3 +cw 1 1397965136 +end +for j ulong 28 +put LGot j get ko j +end +check eq aobserve 1 0 0 28 7 +end +agood 1 +check eq aobserve 2 0 0 28 7 +end +fn aall to void +afix +check eq abegin 1000 0 +check eq abegin 1000 20 +for i ulong 8 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 8 +check eq get LS 5 8 +check eq get LS 3 8 +check eq get LS 16 8 +check eq get LS 14 4096 +note A subsequent invalid begin clears old completed-valid state. +put LT 1 3 +check eq abegin 1000 1 +check eq get LS 18 0 +end +fn amissing to void +afix +check eq abegin 1000 0 +for i ulong 7 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 30 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +agood 1 +check eq aattempt 0 1 0 0 28 0 +check eq aattempt 0 1 0 0 28 28 +check eq lfinish 28 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +check eq aattempt 8 1 0 0 28 27 +check eq lfinish 27 +end +fn abad to void +afix +check eq abegin 1000 0 +for i ulong 8 +id = add i 1 +agood id +if eq id 8 +put LGot 4 0 +end +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 7 +check eq get LS 5 7 +note A valid experiment can report failure, never silently drop that task. +check eq get LS 1 8 +check eq get LS 3 8 +end +fn apins to void +for i ulong 8 +afix +check eq abegin 1000 0 +p = add i 4 +if ge i 4 +p = add i 8 +end +put LPin p 999 +agood 1 +check eq aattempt 0 1 0 0 28 26 +check eq get LS 4 0 +check eq lfinish 26 +end +afix +check eq abegin 1000 0 +put LC 0 18446744073709551615 +agood 1 +check eq aattempt 0 1 0 0 28 23 +check eq get LS 4 0 +check eq lfinish 23 +afix +check eq abegin 1 0 +agood 1 +check eq aattempt 0 1 0 0 28 29 +check eq lfinish 29 +check eq get LS 18 0 +end +fn ameta to void +for i ulong 32 +if or lt i 8 ge i 28 +afix +put LT i 999 +check eq abegin 1000 1 +check eq get LS 18 0 +end +end +afix +for i ulong 4 +put LT add i 8 0 +end +check eq abegin 1000 6 +check eq get LS 18 0 +end +fn main to int +aobs +aall +amissing +abad +apins +ameta +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-red.run.exit b/evidence/LEARN53-L777-CONTINUATION/author/omega-red.run.exit new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-red.run.exit @@ -0,0 +1 @@ +1 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-red.run.stderr b/evidence/LEARN53-L777-CONTINUATION/author/omega-red.run.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-red.run.stdout b/evidence/LEARN53-L777-CONTINUATION/author/omega-red.run.stdout new file mode 100644 index 00000000..cf097d29 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-red.run.stdout @@ -0,0 +1,160 @@ +PASS 1 +FAIL 2 +PASS 3 +FAIL 4 +PASS 5 +FAIL 6 +PASS 7 +FAIL 8 +PASS 9 +FAIL 10 +PASS 11 +FAIL 12 +PASS 13 +FAIL 14 +PASS 15 +FAIL 16 +FAIL 17 +FAIL 18 +FAIL 19 +FAIL 20 +FAIL 21 +FAIL 22 +FAIL 23 +FAIL 24 +FAIL 25 +FAIL 26 +FAIL 27 +FAIL 28 +FAIL 29 +FAIL 30 +FAIL 31 +PASS 32 +FAIL 33 +FAIL 34 +FAIL 35 +FAIL 36 +FAIL 37 +FAIL 38 +FAIL 39 +FAIL 40 +FAIL 41 +FAIL 42 +PASS 43 +FAIL 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +FAIL 53 +FAIL 54 +FAIL 55 +FAIL 56 +FAIL 57 +FAIL 58 +FAIL 59 +FAIL 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +FAIL 70 +PASS 71 +PASS 72 +PASS 73 +FAIL 74 +FAIL 75 +PASS 76 +PASS 77 +FAIL 78 +FAIL 79 +PASS 80 +PASS 81 +PASS 82 +PASS 83 +PASS 84 +PASS 85 +PASS 86 +PASS 87 +PASS 88 +FAIL 89 +FAIL 90 +FAIL 91 +FAIL 92 +FAIL 93 +FAIL 94 +PASS 95 +FAIL 96 +PASS 97 +FAIL 98 +PASS 99 +FAIL 100 +PASS 101 +FAIL 102 +PASS 103 +FAIL 104 +PASS 105 +FAIL 106 +PASS 107 +FAIL 108 +PASS 109 +FAIL 110 +PASS 111 +FAIL 112 +PASS 113 +FAIL 114 +PASS 115 +FAIL 116 +PASS 117 +FAIL 118 +PASS 119 +FAIL 120 +PASS 121 +FAIL 122 +PASS 123 +FAIL 124 +PASS 125 +FAIL 126 +PASS 127 +FAIL 128 +PASS 129 +FAIL 130 +PASS 131 +FAIL 132 +FAIL 133 +PASS 134 +FAIL 135 +PASS 136 +FAIL 137 +PASS 138 +FAIL 139 +PASS 140 +FAIL 141 +PASS 142 +FAIL 143 +PASS 144 +FAIL 145 +PASS 146 +FAIL 147 +PASS 148 +FAIL 149 +PASS 150 +FAIL 151 +PASS 152 +FAIL 153 +PASS 154 +FAIL 155 +PASS 156 +FAIL 157 +PASS 158 +FAIL 159 +PASS 160 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.elf-header b/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.om b/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.om new file mode 100644 index 00000000..59b283a5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.om @@ -0,0 +1,773 @@ +note LEARN653 v1 consumer checks. No compiler, judge, signer or process supervisor. +note Task slots are 32 ulongs; see docs/learning/benchmark-v1.md. +global LT ulong 2048 +global LS ulong 24 +global LSeen ulong 64 +global LWon ulong 64 +global LPin ulong 16 +global LWant uchar 256 +global LGot uchar 256 + +fn lequal a ulong b ulong n ulong to bool +for k ulong n +if ne get LT add a k get LT add b k +ret false +end +end +ret true +end + +fn lnonzero a ulong to bool +x = ulong 0 +for k ulong 4 +x = or x get LT add a k +end +ret ne x 0 +end + +fn lrecord a ulong to ulong +split = get LT add a 1 +if or eq get LT a 0 or lt split 1 gt split 4 +ret 2 +end +if or ne get LT add a 5 1 ne get LT add a 4 1 +ret 3 +end +if eq get LT add a 3 0 +ret 4 +end +if eq get LT add a 6 0 +ret 4 +end +if eq get LT add a 7 0 +ret 4 +end +note Only public train/dev records are admissible to this builder-side API. +note Adaptive/final custody stays with the existing independent owner. +if or gt split 2 ne get LT add a 2 1 +ret 5 +end +for h ulong 5 +if eq lnonzero add a add 8 mul h 4 false +ret 6 +end +end +if or eq get LT add a 28 0 gt get LT add a 28 256 +ret 7 +end +if or eq get LT add a 29 0 gt get LT add a 29 256 +ret 7 +end +if or eq get LT add a 30 0 gt get LT add a 30 1000000 +ret 7 +end +if ne get LT add a 31 0 +ret 7 +end +ret 0 +end + +fn lpair a ulong b ulong to ulong +if eq get LT a get LT b +ret 8 +end +if lequal add a 8 add b 8 4 +ret 9 +end +if lequal add a 12 add b 12 4 +ret 10 +end +if ne get LT add a 1 get LT add b 1 +if eq get LT add a 3 get LT add b 3 +ret 15 +end +if eq get LT add a 7 get LT add b 7 +ret 11 +end +if lequal add a 16 add b 16 4 +ret 12 +end +if lequal add a 20 add b 20 4 +ret 13 +end +if lequal add a 24 add b 24 4 +ret 14 +end +end +ret 0 +end + +fn lmanifest n ulong to ulong +if or eq n 0 gt n 64 +ret 1 +end +for i ulong n +a = mul i 32 +code = lrecord a +if ne code 0 +ret code +end +for j ulong i +b = mul j 32 +code = lpair a b +if ne code 0 +ret code +end +end +end +ret 0 +end + +note Caller supplies independent expected bytes and actual executor observations. +note Status 0=completed, 1=syntax,2=type,3=unsupported,4=timeout,5=resource,6=operational. +note Result 0=correct,1..6 as above,7=wrong value,8=trap mismatch,9=empty output,10=malformed. +fn lobserve status ulong wantcode ulong gotcode ulong wantn ulong gotn ulong to ulong +if gt status 6 +ret 10 +end +if ne status 0 +ret status +end +if or gt wantn 256 gt gotn 256 +ret 10 +end +if ne wantcode gotcode +ret 8 +end +if ne wantcode 0 +note Only declared runtime traps 101..107; arbitrary exit failures never pass. +if or lt wantcode 101 or gt wantcode 107 ne wantn 0 +ret 10 +end +if ne gotn 0 +ret 8 +end +ret 0 +end +if eq wantn 0 +ret 10 +end +if eq gotn 0 +ret 9 +end +if ne wantn gotn +ret 7 +end +for i ulong wantn +if ne get LWant i get LGot i +ret 7 +end +end +ret 0 +end + +note Full 256-bit compiler and executable identities, expected then observed. +note LPin[0..3] expected compiler, [4..7] observed, [8..11] expected ELF, [12..15] observed. +fn lpins to bool +ca = ulong 0 +ba = ulong 0 +for i ulong 4 +ca = or ca get LPin i +ba = or ba get LPin add i 8 +if ne get LPin i get LPin add i 4 +ret false +end +if ne get LPin add i 8 get LPin add i 12 +ret false +end +end +ret and ne ca 0 ne ba 0 +end + +note Each begin is one explicit fresh development run; no durable resume API exists. +note LS: active,tasks,maxattempts,attempts,pass1,passbudget,invalid,closed, +note generation_us,compile_us,judge_us,other_us,input_tokens,output_tokens,peak_bytes, +note energy_uj,energy_unknown,budget_us,completed,abstained,reserved... +fn lbegin n ulong maxtries ulong budget ulong to ulong +if eq get LS 0 1 +ret 20 +end +for i ulong 24 +put LS i 0 +end +for i ulong 64 +put LSeen i 0 +put LWon i 0 +end +code = lmanifest n +if ne code 0 +put LS 6 code +ret code +end +if or eq maxtries 0 or gt maxtries 64 or eq budget 0 gt budget 1000000000000 +put LS 6 21 +ret 21 +end +put LS 0 1 +put LS 1 n +put LS 2 maxtries +put LS 17 budget +ret 0 +end + +note Charge before classifying. Costs are exact integer caller measurements, never estimates. +note Missing cost values use all-ones and invalidate the run, never become free. +fn lcost slot ulong value ulong to ulong +if or lt slot 8 gt slot 15 +put LS 6 22 +ret 22 +end +if gt value 1000000000000 +put LS 6 23 +ret 23 +end +if eq slot 14 +if gt value get LS slot +put LS slot value +end +else +if gt get LS slot sub ulong 1000000000000 value +put LS 6 23 +ret 23 +end +put LS slot add get LS slot value +end +ret 0 +end + +note Attempt outcomes come from lobserve or explicit abstention 11, never compiler acceptance. +note Mandatory cost vector is supplied per attempt in LC; energy unknown is explicit. +global LC ulong 9 + +fn lattempt task ulong ordinal ulong outcome ulong to ulong +if ne get LS 0 1 +ret 24 +end +for k ulong 8 +r = lcost add k 8 get LC k +end +if eq get LC 8 0 +put LS 16 add get LS 16 1 +if ne get LC 7 0 +put LS 6 25 +end +else +if ne get LC 8 1 +put LS 6 25 +end +end +put LS 3 add get LS 3 1 +note At most 64 attempts across a public development run, including failed attempts. +if gt get LS 3 64 +put LS 6 31 +ret 31 +end +if eq lpins false +put LS 6 26 +end +note Invalid costs or identities can never add successful tasks. +if ne get LS 6 0 +ret get LS 6 +end +if or ge task get LS 1 gt outcome 11 +put LS 6 27 +ret 27 +end +if or ne ordinal add get LSeen task 1 gt ordinal get LS 2 +put LS 6 28 +ret 28 +end +put LSeen task ordinal +if eq outcome 0 +if eq ordinal 1 +put LS 4 add get LS 4 1 +end +if eq get LWon task 0 +put LWon task 1 +put LS 5 add get LS 5 1 +end +end +if eq outcome 11 +put LS 19 add get LS 19 1 +end +elapsed = add get LS 8 get LS 9 +elapsed = add elapsed get LS 10 +elapsed = add elapsed get LS 11 +if gt elapsed get LS 17 +put LS 6 29 +end +ret get LS 6 +end + +fn lfinish to ulong +if ne get LS 0 1 +ret 24 +end +put LS 0 0 +for i ulong get LS 1 +if eq get LSeen i 0 +if eq get LS 6 0 +put LS 6 30 +end +end +end +if ne get LS 6 0 +ret get LS 6 +end +put LS 18 1 +ret 0 +end + +note GEN-1 genjac rule reused: lowercase ASCII word-triple SET Jaccard strictly above 1/2. +note Input contains two public prompts only; never load final or sealed text here. +global LText uchar 512 +global LStart ulong 128 +global LLength ulong 128 +global LCount ulong 2 + +fn llower c uchar to uchar +if and ge c 65 le c 90 +ret add c 32 +end +ret c +end + +fn lword c uchar to bool +d = llower c +ret or and ge d 97 le d 122 and ge d 48 le d 57 +end + +fn ltokens side ulong size ulong to bool +if or gt side 1 gt size 256 +ret false +end +base = mul side 256 +slots = mul side 64 +count = ulong 0 +pos = ulong 0 +while lt pos size +if gt get LText add base pos 127 +ret false +end +if lword get LText add base pos +start = pos +scanning = true +while and lt pos size scanning +if lword get LText add base pos +pos = add pos 1 +else +scanning = false +end +end +if ge count 64 +ret false +end +put LStart add slots count add base start +put LLength add slots count sub pos start +count = add count 1 +else +pos = add pos 1 +end +end +put LCount side count +ret true +end + +fn lwordeq a ulong b ulong to bool +n = get LLength a +if ne n get LLength b +ret false +end +for k ulong n +if ne llower get LText add get LStart a k llower get LText add get LStart b k +ret false +end +end +ret true +end + +fn ltriple a ulong b ulong to bool +for k ulong 3 +if eq lwordeq add a k add b k false +ret false +end +end +ret true +end + +fn lunique at ulong base ulong to bool +j = base +while lt j at +if ltriple at j +ret false +end +j = add j 1 +end +ret true +end + +note 0=no near match,1=above threshold,2=insufficient words,3=unsupported input. +fn lnear an ulong bn ulong to ulong +if eq ltokens 0 an false +ret 3 +end +if eq ltokens 1 bn false +ret 3 +end +a = get LCount 0 +b = get LCount 1 +if or lt a 3 lt b 3 +ret 2 +end +ua = ulong 0 +ub = ulong 0 +overlap = ulong 0 +for i ulong sub a 2 +if lunique i 0 +ua = add ua 1 +hit = false +for j ulong sub b 2 +if ltriple i add 64 j +hit = true +end +end +if hit +overlap = add overlap 1 +end +end +end +for j ulong sub b 2 +if lunique add 64 j 64 +ub = add ub 1 +end +end +if gt mul overlap 3 add ua ub +ret 1 +end +ret 0 +end +note Handwritten component acceptance tests; public task oracle belongs to L776. +global Checks ulong 1 +global Digits uchar 16 +text Good "BENCHMARK_CORE_PASS\n" +text PhraseA "Add the two input numbers and return their sum" +text PhraseB "ADD the TWO input numbers, and return their sum." +text PhraseC "Find a maximum element in a sorted collection" +text HalfA "a b c" +text HalfB "a b c d" +text Repeat "a a a a a a" + +fn check actual ulong expected ulong to void +put Checks 0 add get Checks 0 1 +if ne actual expected +exit int add get Checks 0 40 +end +end + +fn fixture to void +for i ulong 2048 +put LT i 0 +end +for i ulong 4 +a = mul i 32 +put LT a add i 1 +put LT add a 1 add div i 2 1 +put LT add a 2 1 +put LT add a 3 add i 1 +put LT add a 4 1 +put LT add a 5 1 +put LT add a 6 776 +put LT add a 7 add i 1 +for j ulong 20 +put LT add a add j 8 add add mul i 100 j 1 +end +put LT add a 28 16 +put LT add a 29 16 +put LT add a 30 1000 +end +for i ulong 4 +put LPin i add i 1 +put LPin add i 4 add i 1 +put LPin add i 8 add i 5 +put LPin add i 12 add i 5 +end +for i ulong 9 +put LC i 0 +end +put LC 0 10 +put LC 1 20 +put LC 2 30 +put LC 3 40 +put LC 4 50 +put LC 5 60 +put LC 6 4096 +for i ulong 24 +put LS i 0 +end +end + +fn manifesttests to void +fixture +check lmanifest 4 0 +check lmanifest 0 1 +check lmanifest 65 1 +put LT 0 0 +check lmanifest 4 2 +fixture +put LT 5 2 +check lmanifest 4 3 +fixture +put LT 4 0 +check lmanifest 4 3 +fixture +put LT 6 0 +check lmanifest 4 4 +fixture +put LT 1 4 +check lmanifest 4 5 +fixture +put LT 1 3 +check lmanifest 4 5 +fixture +put LT 2 2 +check lmanifest 4 5 +fixture +for j ulong 4 +put LT add 8 j 0 +end +check lmanifest 4 6 +fixture +put LT 29 257 +check lmanifest 4 7 +fixture +put LT 32 1 +check lmanifest 4 8 +fixture +for j ulong 4 +put LT add 40 j get LT add 8 j +end +check lmanifest 4 9 +fixture +for j ulong 4 +put LT add 44 j get LT add 12 j +end +check lmanifest 4 10 +fixture +put LT 71 1 +check lmanifest 4 11 +fixture +for j ulong 4 +put LT add 80 j get LT add 16 j +end +check lmanifest 4 12 +fixture +for j ulong 4 +put LT add 84 j get LT add 20 j +end +check lmanifest 4 13 +fixture +for j ulong 4 +put LT add 88 j get LT add 24 j +end +check lmanifest 4 14 +fixture +put LT 67 1 +check lmanifest 4 15 +fixture +put LT 31 1 +check lmanifest 4 7 +fixture +put LT 28 0 +check lmanifest 4 7 +fixture +put LT 30 1000001 +check lmanifest 4 7 +end + +fn observationtests to void +for i ulong 256 +put LWant i uchar and i 255 +put LGot i uchar and i 255 +end +check lobserve 0 0 0 8 8 0 +put LGot 7 99 +check lobserve 0 0 0 8 8 7 +check lobserve 0 0 0 8 0 9 +check lobserve 0 0 0 8 7 7 +check lobserve 0 0 0 0 0 10 +check lobserve 0 102 102 0 0 0 +check lobserve 0 102 103 0 0 8 +check lobserve 0 102 102 0 1 8 +check lobserve 0 9 9 0 0 10 +check lobserve 0 0 102 8 0 8 +check lobserve 0 0 0 257 257 10 +for i ulong 6 +check lobserve add i 1 0 0 8 8 add i 1 +end +check lobserve 7 0 0 8 8 10 +end + +fn accountingtests to void +fixture +check lbegin 4 2 1000 0 +check lbegin 4 2 1000 20 +check lattempt 0 1 7 0 +check lattempt 0 2 0 0 +check lattempt 1 1 0 0 +check lattempt 2 1 4 0 +check lattempt 3 1 11 0 +check lfinish 0 +check get LS 3 5 +check get LS 4 1 +check get LS 5 2 +check get LS 8 50 +check get LS 9 100 +check get LS 10 150 +check get LS 11 200 +check get LS 12 250 +check get LS 13 300 +check get LS 14 4096 +check get LS 16 5 +check get LS 19 1 +check lattempt 0 3 0 24 +check lfinish 24 +fixture +check lbegin 4 2 1000 0 +check lattempt 0 1 0 0 +check lfinish 30 +check get LS 18 0 +fixture +check lbegin 4 2 1000 0 +check lattempt 0 2 0 28 +check get LS 8 10 +check lfinish 28 +fixture +check lbegin 4 1 1000 0 +check lattempt 0 1 7 0 +check lattempt 0 2 0 28 +check get LS 5 0 +fixture +check lbegin 4 2 99 0 +check lattempt 0 1 0 29 +check get LS 18 0 +fixture +check lbegin 4 2 1000 0 +put LPin 7 999 +check lattempt 0 1 0 26 +check get LS 8 10 +check get LS 5 0 +fixture +check lbegin 4 2 1000 0 +put LPin 15 999 +check lattempt 0 1 0 26 +fixture +check lbegin 4 2 1000 0 +put LC 0 18446744073709551615 +check lattempt 0 1 0 23 +fixture +check lbegin 4 2 1000 0 +put LC 7 1 +check lattempt 0 1 0 25 +fixture +check lbegin 4 2 1000 0 +put LC 7 13 +put LC 8 1 +check lattempt 0 1 0 0 +check get LS 15 13 +check get LS 16 0 +fixture +check lbegin 4 2 1000 0 +check lattempt 64 1 0 27 +check get LS 8 10 +fixture +check lbegin 4 0 1000 21 +fixture +check lbegin 4 65 1000 21 +fixture +check lbegin 4 2 0 21 +fixture +check lbegin 4 2 1000 0 +put LC 8 2 +check lattempt 0 1 0 25 +fixture +check lbegin 4 2 1000 0 +put LS 8 1000000000000 +check lattempt 0 1 0 23 +check get LS 18 0 +fixture +check lbegin 1 64 100000 0 +for i ulong 64 +check lattempt 0 add i 1 7 0 +end +check lattempt 0 65 0 31 +check get LS 3 65 +check get LS 8 650 +check get LS 5 0 +check lfinish 31 +fixture +check lbegin 1 1 1000 0 +put LC 6 8192 +check lattempt 0 1 0 0 +check get LS 14 8192 +check lfinish 0 +end + +fn neartests to void +for i ulong len PhraseA +put LText i get PhraseA i +end +for i ulong len PhraseB +put LText add 256 i get PhraseB i +end +check lnear len PhraseA len PhraseB 1 +for i ulong len PhraseC +put LText add 256 i get PhraseC i +end +check lnear len PhraseA len PhraseC 0 +check lnear 0 0 2 +check lnear 257 1 3 +put LText 0 255 +check lnear len PhraseA len PhraseC 3 +for i ulong len HalfA +put LText i get HalfA i +end +for i ulong len HalfB +put LText add 256 i get HalfB i +end +check lnear len HalfA len HalfB 0 +for i ulong len Repeat +put LText i get Repeat i +put LText add 256 i get Repeat i +end +check lnear len Repeat len Repeat 1 +for i ulong 128 +put LText mul i 2 97 +put LText add mul i 2 1 32 +end +check lnear 256 5 3 +end + +fn countout to void +n = get Checks 0 +put Digits 0 uchar add div n 100 48 +put Digits 1 uchar add rem div n 10 10 48 +put Digits 2 uchar add rem n 10 48 +put Digits 3 10 +w = write 1 Digits 0 4 +if ne w 4 +exit 36 +end +end + +fn main to int +manifesttests +observationtests +accountingtests +neartests +w = write 1 Good 0 len Good +if ne w long len Good +ret 35 +end +countout +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.run.exit b/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.run.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.run.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.run.stderr b/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.run.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.run.stdout b/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.run.stdout new file mode 100644 index 00000000..bd3413e4 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omega-upstream185.run.stdout @@ -0,0 +1,2 @@ +BENCHMARK_CORE_PASS +185 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/omit-task.om b/evidence/LEARN53-L777-CONTINUATION/author/omit-task.om new file mode 100644 index 00000000..1a45185e --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/omit-task.om @@ -0,0 +1,86 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Compose with exact omega653.lock core. No fork, runner, signer or cost collector. +note LT/LPin/LC/status/exit are trusted executor inputs, not candidate claims. +fn aword p ulong v ulong to void +for i ulong 4 +put LWant add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn aobserve id ulong status ulong code ulong n ulong to ulong +tn = kload id +if eq tn 0 +ret 10 +end +if ne kvalid tn 0 +ret 10 +end +for i ulong 256 +put LWant i 0 +end +aword 0 2779096485 +for i ulong kw 13 +aword add i 1 kexpect i +end +aword add kw 13 1 2779096485 +want = mul 4 add kw 13 2 +ret lobserve status 0 code want n +end +fn afields to bool +for i ulong 8 +a = mul i 32 +id = add i 1 +n = kload id +if ne get LT a id +ret false +end +if ne get LT add a 1 2 +ret false +end +if ne get LT add a 2 1 +ret false +end +if ne get LT add a 3 kw 2 +ret false +end +if ne get LT add a 4 1 +ret false +end +if ne get LT add a 5 1 +ret false +end +if ne get LT add a 6 53 +ret false +end +if ne get LT add a 7 1 +ret false +end +if ne get LT add a 28 n +ret false +end +if ne get LT add a 29 mul 4 add kw 13 2 +ret false +end +if ne get LT add a 30 1000000 +ret false +end +if ne get LT add a 31 0 +ret false +end +end +ret true +end +fn abegin budget ulong to ulong +note Canonical active-run refusal preserves the existing run. +if eq get LS 0 1 +ret 20 +end +if eq afields false +note Invalid count invokes canonical fresh-run invalidation, including stale scores. +ret lbegin 0 1 budget +end +ret lbegin 7 1 budget +end +fn aattempt idx ulong ordinal ulong status ulong code ulong n ulong to ulong +outcome = aobserve add idx 1 status code n +ret lattempt idx ordinal outcome +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/original-core.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/author/original-core.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/original-core.elf-header b/evidence/LEARN53-L777-CONTINUATION/author/original-core.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/original-core.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/original-core.om b/evidence/LEARN53-L777-CONTINUATION/author/original-core.om new file mode 100644 index 00000000..0b68eb4a --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/original-core.om @@ -0,0 +1,711 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +fn valid to void +vec +check eq kvalid 136 0 +check eq keval 136 28 0 +red +check eq kvalid 116 0 +check eq keval 116 12 0 +mat +check eq kvalid 144 0 +check eq keval 144 36 0 +note Wraparound multiply, independently derived answers, not signed/FP comparison. +tw 24 4294967295 +cw 1 11 +cw 2 12 +cw 3 13 +check eq keval 144 36 0 +end +fn invalid to void +vec +check eq kvalid 0 65 +check eq kvalid 95 65 +check eq kvalid 4097 65 +check eq kvalid 18446744073709551615 65 +check eq kvalid 135 65 +check eq kvalid 137 65 +tw 0 0 +check eq kvalid 136 65 +vec +tw 1 2 +check eq kvalid 136 69 +vec +tw 11 4294967295 +check eq kvalid 136 65 +vec +tw 12 257 +check eq kvalid 136 65 +vec +tw 13 0 +check eq kvalid 136 65 +vec +tw 13 257 +check eq kvalid 136 65 +vec +tw 23 1 +check eq kvalid 136 65 +vec +tw 16 0 +check eq kvalid 136 65 +vec +tw 17 0 +check eq kvalid 136 69 +vec +tw 11 4 +check eq kvalid 132 65 +vec +tw 9 3 +check eq kvalid 136 65 +vec +tw 10 3 +check eq kvalid 136 65 +end +fn policy to void +vec +tw 2 4 +check eq kvalid 136 69 +vec +tw 3 2 +check eq kvalid 136 69 +vec +tw 4 1 +check eq kvalid 136 69 +vec +tw 21 1 +check eq kvalid 136 65 +vec +tw 22 1 +check eq kvalid 136 65 +vec +tw 14 2 +check eq kvalid 136 77 +vec +tw 14 3 +check eq kvalid 136 77 +vec +tw 14 0 +check eq kvalid 136 65 +vec +tw 14 4 +check eq kvalid 136 65 +vec +tw 15 201 +check eq kvalid 136 65 +vec +tw 18 1 +check eq kvalid 136 69 +vec +tw 19 0 +check eq kvalid 136 69 +vec +tw 20 121 +check eq kvalid 136 69 +vec +tw 5 4 +check eq kvalid 136 69 +vec +tw 5 4294967295 +check eq kvalid 136 69 +vec +tw 8 0 +check eq kvalid 136 65 +vec +tw 8 4294967295 +check eq kvalid 136 65 +vec +tw 6 2 +check eq kvalid 136 69 +mat +tw 8 1 +check eq kvalid 144 65 +mat +tw 9 2 +check eq kvalid 144 65 +mat +tw 10 2 +check eq kvalid 144 65 +end +fn wrong to void +vec +cw 3 12 +check eq keval 136 28 1 +note Skipped writes retain initialization poison. +vec +cw 1 2779096485 +check eq keval 136 28 1 +vec +cw 5 2779096485 +check eq keval 136 28 1 +note Dense writer ignores declared output stride; both logical/padding fail. +vec +cw 2 11 +cw 3 15 +cw 5 2779096485 +check eq keval 136 28 1 +vec +cw 0 0 +check eq keval 136 28 1 +vec +cw 6 0 +check eq keval 136 28 1 +vec +cw 2 0 +check eq keval 136 28 1 +note A memorized old answer fails a changed input, no candidate judge flags. +vec +tw 28 10 +check eq keval 136 28 1 +cw 5 16 +check eq keval 136 28 0 +vec +check eq keval 136 0 65 +check eq keval 136 24 65 +check eq keval 136 29 65 +check eq keval 136 1033 65 +check eq keval 136 18446744073709551615 65 +note A claimed PASS is just wrong bytes, never parsed as a result. +vec +cw 1 1397965136 +check eq keval 136 28 1 +red +cw 1 3 +check eq keval 116 12 1 +mat +cw 7 60 +check eq keval 144 36 1 +end +fn repeat to void +vec +for i ulong 4096 +put saved i get kt i +end +check eq keval 136 28 0 +same = true +for i ulong 4096 +if ne get saved i get kt i +same = false +end +end +check same +note No cached success after refusal, then recover. +tw 21 1 +check eq keval 136 28 65 +vec +cw 3 7 +check eq keval 136 28 1 +vec +check eq keval 136 28 0 +end +fn shapes to void +note Nonzero odd-tail shape17, different inputs, fixed literal each output. +header 1 +tw 5 17 +tw 8 1 +tw 9 1 +tw 10 1 +tw 11 17 +tw 12 17 +tw 13 17 +tw 15 103 +for i ulong 17 +tw add 24 i 4294967295 +tw add 41 i 3 +cw add 1 i 2 +end +check eq keval 232 76 0 +cw 17 0 +check eq keval 232 76 1 +note Registered length8 reduction with explicit wraparound answer. +header 2 +tw 5 8 +tw 8 1 +tw 9 0 +tw 10 1 +tw 11 8 +tw 12 0 +tw 13 1 +tw 15 202 +for i ulong 8 +tw add 24 i 4294967295 +end +cw 1 4294967288 +check eq keval 128 12 0 +end +fn more to void +note Other registered families and largest admitted vector footprint. +header 1 +tw 5 8 +tw 8 1 +tw 9 1 +tw 10 1 +tw 11 8 +tw 12 8 +tw 13 8 +tw 15 102 +for i ulong 8 +tw add 24 i 7 +tw add 32 i 9 +cw add 1 i 16 +end +check eq keval 160 40 0 +header 2 +tw 5 17 +tw 8 1 +tw 9 0 +tw 10 1 +tw 11 17 +tw 12 0 +tw 13 1 +tw 15 203 +for i ulong 17 +tw add 24 i 4294967295 +end +cw 1 4294967279 +check eq keval 164 12 0 +header 3 +tw 5 3 +tw 6 2 +tw 7 3 +tw 8 3 +tw 9 2 +tw 10 2 +tw 11 9 +tw 12 6 +tw 13 6 +tw 15 302 +for i ulong 9 +tw add 24 i add i 1 +end +for i ulong 6 +tw add 33 i add i 1 +end +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +check eq keval 156 32 0 +header 1 +tw 5 17 +tw 8 15 +tw 9 15 +tw 10 15 +tw 11 241 +tw 12 241 +tw 13 241 +tw 15 103 +for i ulong 17 +tw add 24 mul i 15 4294967295 +tw add 265 mul i 15 3 +cw add 1 mul i 15 2 +end +check eq keval 2024 972 0 +cw 241 0 +check eq keval 2024 972 1 +tw 8 16 +tw 11 257 +check eq kvalid 2088 65 +end +fn main to int +valid +more +invalid +policy +wrong +repeat +shapes +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/original-core.run.exit b/evidence/LEARN53-L777-CONTINUATION/author/original-core.run.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/original-core.run.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/original-core.run.stderr b/evidence/LEARN53-L777-CONTINUATION/author/original-core.run.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/original-core.run.stdout b/evidence/LEARN53-L777-CONTINUATION/author/original-core.run.stdout new file mode 100644 index 00000000..4b615435 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/original-core.run.stdout @@ -0,0 +1,77 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/original-frame.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/author/original-frame.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/original-frame.elf-header b/evidence/LEARN53-L777-CONTINUATION/author/original-frame.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/original-frame.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/original-frame.om b/evidence/LEARN53-L777-CONTINUATION/author/original-frame.om new file mode 100644 index 00000000..f281e5a1 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/original-frame.om @@ -0,0 +1,492 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public data-only frame decoder. Not a sandbox or task-custody service. +global packet uchar 5137 +fn kp p ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get packet add p j mul j 8 +end +ret v +end +fn kframe n ulong to int +if lt n 8 +ret 65 +end +if gt n 5136 +ret 65 +end +t = kp 0 +if lt t 96 +ret 65 +end +if gt t 4096 +ret 65 +end +if gt t sub n 8 +ret 65 +end +c = kp add t 4 +if gt c 1032 +ret 65 +end +if ne n add add t c 8 +ret 65 +end +for i ulong t +put kt i get packet add i 4 +end +for i ulong c +put ko i get packet add add t 8 i +end +ret keval t c +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Native data-frame tests. No generated program is compiled or executed here. +fn pw p ulong v ulong to void +for i ulong 4 +put packet add p i uchar and shr v mul i 8 255 +end +end +fn frame to void +vec +pw 0 136 +for i ulong 136 +put packet add 4 i get kt i +end +pw 140 28 +for i ulong 28 +put packet add 144 i get ko i +end +end +fn main to int +frame +check eq kframe 172 0 +check eq kframe 0 65 +check eq kframe 7 65 +check eq kframe 5137 65 +check eq kframe 18446744073709551615 65 +check eq kframe 171 65 +check eq kframe 173 65 +pw 0 4294967295 +check eq kframe 172 65 +frame +pw 0 4097 +check eq kframe 172 65 +frame +pw 0 95 +check eq kframe 172 65 +frame +pw 140 4294967295 +check eq kframe 172 65 +frame +pw 140 1033 +check eq kframe 172 65 +frame +pw 140 0 +check eq kframe 144 65 +frame +pw 148 9 +check eq kframe 172 1 +frame +pw 88 1 +check eq kframe 172 65 +frame +pw 60 3 +check eq kframe 172 77 +frame +check eq kframe 172 0 +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/author/original-frame.run.exit b/evidence/LEARN53-L777-CONTINUATION/author/original-frame.run.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/original-frame.run.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/original-frame.run.stderr b/evidence/LEARN53-L777-CONTINUATION/author/original-frame.run.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/author/original-frame.run.stdout b/evidence/LEARN53-L777-CONTINUATION/author/original-frame.run.stdout new file mode 100644 index 00000000..82c72349 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/author/original-frame.run.stdout @@ -0,0 +1,17 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 diff --git a/evidence/LEARN53-L777-CONTINUATION/author/task-1.cul b/evidence/LEARN53-L777-CONTINUATION/author/task-1.cul new file mode 100644 index 00000000..e5a49b3e Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/author/task-1.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/author/task-2.cul b/evidence/LEARN53-L777-CONTINUATION/author/task-2.cul new file mode 100644 index 00000000..ba2c2db7 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/author/task-2.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/author/task-3.cul b/evidence/LEARN53-L777-CONTINUATION/author/task-3.cul new file mode 100644 index 00000000..10ee17c7 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/author/task-3.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/author/task-4.cul b/evidence/LEARN53-L777-CONTINUATION/author/task-4.cul new file mode 100644 index 00000000..ecf8321a Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/author/task-4.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/author/task-5.cul b/evidence/LEARN53-L777-CONTINUATION/author/task-5.cul new file mode 100644 index 00000000..ca261820 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/author/task-5.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/author/task-6.cul b/evidence/LEARN53-L777-CONTINUATION/author/task-6.cul new file mode 100644 index 00000000..3b5c9001 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/author/task-6.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/author/task-7.cul b/evidence/LEARN53-L777-CONTINUATION/author/task-7.cul new file mode 100644 index 00000000..adbedea9 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/author/task-7.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/author/task-8.cul b/evidence/LEARN53-L777-CONTINUATION/author/task-8.cul new file mode 100644 index 00000000..b55708c5 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/author/task-8.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/build-readback.txt b/evidence/LEARN53-L777-CONTINUATION/build-readback.txt new file mode 100644 index 00000000..ffdbbbb9 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/build-readback.txt @@ -0,0 +1,4 @@ +catalog compile=0 +omega compile=0 +catalog-export compile=0 +catalog-check compile=0 \ No newline at end of file diff --git a/evidence/LEARN53-L777-CONTINUATION/host.txt b/evidence/LEARN53-L777-CONTINUATION/host.txt new file mode 100644 index 00000000..e3c8a6cd --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/host.txt @@ -0,0 +1 @@ +Linux spark-b87b 7.0.0-1019-nvidia #19~24.04.2-Ubuntu SMP PREEMPT_DYNAMIC Sun Sep 6 18:35:11 UTC 2 aarch64 aarch64 aarch64 GNU/Linux diff --git a/evidence/LEARN53-L777-CONTINUATION/replay-readback.txt b/evidence/LEARN53-L777-CONTINUATION/replay-readback.txt new file mode 100644 index 00000000..9c561271 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay-readback.txt @@ -0,0 +1,39 @@ +emit1=0 +check1=0 +emit2=0 +check2=0 +emit3=0 +check3=0 +emit4=0 +check4=0 +emit5=0 +check5=0 +emit6=0 +check6=0 +emit7=0 +check7=0 +emit8=0 +check8=0 +refuse-empty=65 +refuse-zero=77 +refuse-nine=77 +refuse-huge=77 +refuse-extra=65 +0 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/refuse-empty.stdout +0 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/refuse-extra.stdout +0 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/refuse-huge.stdout +0 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/refuse-nine.stdout +0 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/refuse-zero.stdout +0 total +6d503f93f7ffe2a13d2b58561a87c496e4abf0fcdfe3e8aba645a18b582f12b3 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/catalog-check.elf +8b0492ed620f8e5b6f920192bc4d9ed7e06135504b7f8639df7cb4f1fd9f33c2 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/catalog.elf +9e8eda6d33ae06477ea6452687bfd8818cdf13d89efe5cccf8debeb75a138a03 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/catalog-export.elf +11fcf90d6e98543aab604b35fb3f72383af003c12515d050de7dad20d6527069 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/omega.elf +e38d883e73dfe47d7de09baf2a0c8bc9a65a7c01adc5b1a319e7ac283046b4a2 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/task-1.cul +7088309528d45479db25178a48bd09a628ea805ecf086c49b95a242d19845ef4 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/task-2.cul +d1777193f2c1329ca3bc50ed79a2d43cc19ada2b90c047d3cb2fe34d9834f074 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/task-3.cul +5b6f5a91859c7fc4681a2646a4546005f89c64894426ab2851a5d54fa373fa24 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/task-4.cul +ffcfaf45ff4b84e20484491d45a01a47169fc02f0f0dfdf701702fc1e5884f9d /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/task-5.cul +b550dac61fa80d6db97841dbe1dfaec137e717fbf4c72c74dc9b3302cb771049 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/task-6.cul +9cbd2ea428a19b187d122ee0f0ff75902e9580bd2f4edb51ea795a7cc5b7820a /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/task-7.cul +dec444cdb9ca83979466f079d7b9b2086a99d520a7952ddffd6f998936ee1e89 /home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/task-8.cul \ No newline at end of file diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/binaries.sha256 b/evidence/LEARN53-L777-CONTINUATION/replay/binaries.sha256 new file mode 100644 index 00000000..6d300016 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/binaries.sha256 @@ -0,0 +1,4 @@ +6d503f93f7ffe2a13d2b58561a87c496e4abf0fcdfe3e8aba645a18b582f12b3 catalog-check.elf +9e8eda6d33ae06477ea6452687bfd8818cdf13d89efe5cccf8debeb75a138a03 catalog-export.elf +8b0492ed620f8e5b6f920192bc4d9ed7e06135504b7f8639df7cb4f1fd9f33c2 catalog.elf +11fcf90d6e98543aab604b35fb3f72383af003c12515d050de7dad20d6527069 omega.elf diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.compile.cost b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.compile.cost new file mode 100644 index 00000000..c198f209 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.compile.cost @@ -0,0 +1 @@ +wall_s=0.01 user_s=0.00 system_s=0.01 maxrss_kib=1920 exit=0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.compile.exit b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.compile.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.compile.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.elf-header b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.om b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.om new file mode 100644 index 00000000..ab14e597 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.om @@ -0,0 +1,453 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Emitter stream checker; first byte selects expected catalog, remaining bytes task. +global CBuf uchar 258 +fn main to int +pos = ulong 0 +done = false +while eq done false bound 259 +r = read 0 CBuf pos sub 258 pos +if lt r 0 +ret 1 +end +if eq r 0 +done = true +else +pos = add pos ulong r +if eq pos 258 +ret 1 +end +end +end +if eq pos 0 +ret 1 +end +n = kload ulong get CBuf 0 +if or eq n 0 ne pos add n 1 +ret 1 +end +for i ulong n +if ne get kt i get CBuf add i 1 +ret 1 +end +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.rebuild.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-check.rebuild.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.compile.cost b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.compile.cost new file mode 100644 index 00000000..c198f209 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.compile.cost @@ -0,0 +1 @@ +wall_s=0.01 user_s=0.00 system_s=0.01 maxrss_kib=1920 exit=0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.compile.exit b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.compile.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.compile.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.elf-header b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.om b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.om new file mode 100644 index 00000000..6d05fbbd --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.om @@ -0,0 +1,456 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Development fixture emitter: exactly one input byte, public catalog ID1..8. +global CIn uchar 2 +fn main to int +pos = ulong 0 +done = false +while eq done false bound 3 +r = read 0 CIn pos sub 2 pos +if lt r 0 +ret 74 +end +if eq r 0 +done = true +else +pos = add pos ulong r +if eq pos 2 +ret 65 +end +end +end +if ne pos 1 +ret 65 +end +n = kload ulong get CIn 0 +if eq n 0 +ret 77 +end +pos = 0 +while lt pos n bound 257 +w = write 1 kt pos sub n pos +if le w 0 +ret 74 +end +pos = add pos ulong w +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.rebuild.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/catalog-export.rebuild.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog.compile.cost b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.compile.cost new file mode 100644 index 00000000..c198f209 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.compile.cost @@ -0,0 +1 @@ +wall_s=0.01 user_s=0.00 system_s=0.01 maxrss_kib=1920 exit=0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog.compile.exit b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.compile.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.compile.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog.elf-header b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog.om b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.om new file mode 100644 index 00000000..535b3500 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.om @@ -0,0 +1,702 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Literal output oracle only. No kexpect/keval calls construct expected values. +fn csize id ulong to ulong +if eq id 1 +ret 136 +end +if eq id 2 +ret 160 +end +if eq id 3 +ret 232 +end +if eq id 4 +ret 116 +end +if eq id 5 +ret 128 +end +if eq id 6 +ret 164 +end +if eq id 7 +ret 144 +end +if eq id 8 +ret 156 +end +ret 0 +end +fn coutn id ulong to ulong +if eq id 1 +ret 28 +end +if eq id 2 +ret 40 +end +if eq id 3 +ret 76 +end +if and ge id 4 le id 6 +ret 12 +end +if eq id 7 +ret 36 +end +if eq id 8 +ret 32 +end +ret 0 +end +fn cvalues id ulong to void +for i ulong 258 +cw i 2779096485 +end +if eq id 1 +cw 1 0 +cw 3 11 +cw 5 15 +end +if eq id 2 +for i ulong 8 +cw add i 1 16 +end +end +if eq id 3 +for i ulong 17 +cw add i 1 2 +end +end +if eq id 4 +cw 1 4 +end +if eq id 5 +cw 1 4294967288 +end +if eq id 6 +cw 1 4294967279 +end +if eq id 7 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +if eq id 8 +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +end +end +note SPDX-License-Identifier: AGPL-3.0-only +fn ctest to void +for i ulong 8 +id = add i 1 +cvalues id +n = kload id +check eq n csize id +check eq kvalid n 0 +check eq kw 16 id +check eq kw 14 1 +check eq kw 4 0 +check eq kw 21 0 +check eq kw 22 0 +check eq keval n coutn id 0 +last = sub div coutn id 4 2 +cw last 4294967294 +check eq keval n coutn id 1 +end +end +fn cstable to void +n = kload 1 +cvalues 1 +for i ulong 4096 +put saved i get kt i +end +check eq kload 0 0 +check eq kload 9 0 +check eq kload 18446744073709551615 0 +same = true +for i ulong 4096 +if ne get saved i get kt i +same = false +end +end +check same +check eq keval n 28 0 +note Loading a task must not forge or erase observed candidate output. +cw 3 12 +check eq kload 1 136 +check eq kc 3 12 +check eq keval 136 28 1 +note Poisoned task policy is reset by compiled catalog, not honored. +tw 21 1 +tw 22 99 +tw 14 3 +tw 16 99 +tw 28 0 +check eq kload 1 136 +cvalues 1 +check eq keval 136 28 0 +same = true +for i ulong 4096 +if ne get saved i get kt i +same = false +end +end +check same +end +fn main to int +ctest +cstable +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog.rebuild.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.rebuild.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog.run.exit b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.run.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.run.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog.run.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.run.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/catalog.run.stdout b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.run.stdout new file mode 100644 index 00000000..93d21bca --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/catalog.run.stdout @@ -0,0 +1,83 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 +PASS 78 +PASS 79 +PASS 80 +PASS 81 +PASS 82 +PASS 83 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/omega-static.txt b/evidence/LEARN53-L777-CONTINUATION/replay/omega-static.txt new file mode 100644 index 00000000..8b480adc --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/omega-static.txt @@ -0,0 +1,14 @@ + +Elf file type is EXEC (Executable file) +Entry point 0x4000b0 +There are 2 program headers, starting at offset 64 + +Program Headers: + Type Offset VirtAddr PhysAddr + FileSiz MemSiz Flags Align + LOAD 0x0000000000000000 0x0000000000400000 0x0000000000400000 + 0x000000000000942c 0x000000000000942c R E 0x1000 + LOAD 0x0000000000000000 0x0000000010000000 0x0000000010000000 + 0x0000000000000000 0x00000000008075e0 RW 0x1000 + +There is no dynamic section in this file. diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/omega-syscalls.log b/evidence/LEARN53-L777-CONTINUATION/replay/omega-syscalls.log new file mode 100644 index 00000000..97fb3e28 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/omega-syscalls.log @@ -0,0 +1,707 @@ +2985686 execve("/usr/bin/timeout", ["timeout", "10", "/home/drakestapleton/handoffs/cu"...], 0xfffff9f54268 /* 17 vars */) = 0 +2985686 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 +2985686 openat(AT_FDCWD, "/lib/aarch64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 +2985686 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\360\206\2\0\0\0\0\0"..., 832) = 832 +2985686 openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3 +2985686 openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3 +2985686 read(3, "# Locale name alias data base.\n#"..., 4096) = 2996 +2985686 read(3, "", 4096) = 0 +2985686 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) +2985686 openat(AT_FDCWD, "/usr/lib/locale/C.utf8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = 3 +2985686 openat(AT_FDCWD, "/usr/lib/aarch64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY|O_CLOEXEC) = 3 +2985687 execve("/home/drakestapleton/handoffs/cuda-learn-L777/replay-94ada80/out/omega.elf", ["/home/drakestapleton/handoffs/cu"...], 0xfffff2ef2678 /* 17 vars */) = 0 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "2", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "3", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "4", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "7", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "8", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "5", 1) = 1 +2985687 write(1, "9", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 write(1, "PASS ", 5) = 5 +2985687 write(1, "1", 1) = 1 +2985687 write(1, "6", 1) = 1 +2985687 write(1, "0", 1) = 1 +2985687 write(1, "\n", 1) = 1 +2985687 +++ exited with 0 +++ +2985686 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2985687, si_uid=1000, si_status=0, si_utime=0, si_stime=0} --- +2985686 +++ exited with 0 +++ diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/omega-timed.stdout b/evidence/LEARN53-L777-CONTINUATION/replay/omega-timed.stdout new file mode 100644 index 00000000..e508e223 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/omega-timed.stdout @@ -0,0 +1,160 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 +PASS 78 +PASS 79 +PASS 80 +PASS 81 +PASS 82 +PASS 83 +PASS 84 +PASS 85 +PASS 86 +PASS 87 +PASS 88 +PASS 89 +PASS 90 +PASS 91 +PASS 92 +PASS 93 +PASS 94 +PASS 95 +PASS 96 +PASS 97 +PASS 98 +PASS 99 +PASS 100 +PASS 101 +PASS 102 +PASS 103 +PASS 104 +PASS 105 +PASS 106 +PASS 107 +PASS 108 +PASS 109 +PASS 110 +PASS 111 +PASS 112 +PASS 113 +PASS 114 +PASS 115 +PASS 116 +PASS 117 +PASS 118 +PASS 119 +PASS 120 +PASS 121 +PASS 122 +PASS 123 +PASS 124 +PASS 125 +PASS 126 +PASS 127 +PASS 128 +PASS 129 +PASS 130 +PASS 131 +PASS 132 +PASS 133 +PASS 134 +PASS 135 +PASS 136 +PASS 137 +PASS 138 +PASS 139 +PASS 140 +PASS 141 +PASS 142 +PASS 143 +PASS 144 +PASS 145 +PASS 146 +PASS 147 +PASS 148 +PASS 149 +PASS 150 +PASS 151 +PASS 152 +PASS 153 +PASS 154 +PASS 155 +PASS 156 +PASS 157 +PASS 158 +PASS 159 +PASS 160 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/omega-traced.stdout b/evidence/LEARN53-L777-CONTINUATION/replay/omega-traced.stdout new file mode 100644 index 00000000..e508e223 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/omega-traced.stdout @@ -0,0 +1,160 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 +PASS 78 +PASS 79 +PASS 80 +PASS 81 +PASS 82 +PASS 83 +PASS 84 +PASS 85 +PASS 86 +PASS 87 +PASS 88 +PASS 89 +PASS 90 +PASS 91 +PASS 92 +PASS 93 +PASS 94 +PASS 95 +PASS 96 +PASS 97 +PASS 98 +PASS 99 +PASS 100 +PASS 101 +PASS 102 +PASS 103 +PASS 104 +PASS 105 +PASS 106 +PASS 107 +PASS 108 +PASS 109 +PASS 110 +PASS 111 +PASS 112 +PASS 113 +PASS 114 +PASS 115 +PASS 116 +PASS 117 +PASS 118 +PASS 119 +PASS 120 +PASS 121 +PASS 122 +PASS 123 +PASS 124 +PASS 125 +PASS 126 +PASS 127 +PASS 128 +PASS 129 +PASS 130 +PASS 131 +PASS 132 +PASS 133 +PASS 134 +PASS 135 +PASS 136 +PASS 137 +PASS 138 +PASS 139 +PASS 140 +PASS 141 +PASS 142 +PASS 143 +PASS 144 +PASS 145 +PASS 146 +PASS 147 +PASS 148 +PASS 149 +PASS 150 +PASS 151 +PASS 152 +PASS 153 +PASS 154 +PASS 155 +PASS 156 +PASS 157 +PASS 158 +PASS 159 +PASS 160 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/omega.compile.cost b/evidence/LEARN53-L777-CONTINUATION/replay/omega.compile.cost new file mode 100644 index 00000000..c198f209 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/omega.compile.cost @@ -0,0 +1 @@ +wall_s=0.01 user_s=0.00 system_s=0.01 maxrss_kib=1920 exit=0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/omega.compile.exit b/evidence/LEARN53-L777-CONTINUATION/replay/omega.compile.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/omega.compile.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/omega.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/omega.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/omega.cost b/evidence/LEARN53-L777-CONTINUATION/replay/omega.cost new file mode 100644 index 00000000..f0d9e7be --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/omega.cost @@ -0,0 +1 @@ +wall_s=0.00 user_s=0.00 system_s=0.00 maxrss_kib=1656 exit=0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/omega.elf-header b/evidence/LEARN53-L777-CONTINUATION/replay/omega.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/omega.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/omega.om b/evidence/LEARN53-L777-CONTINUATION/replay/omega.om new file mode 100644 index 00000000..d51f098d --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/omega.om @@ -0,0 +1,1401 @@ +note LEARN653 v1 consumer checks. No compiler, judge, signer or process supervisor. +note Task slots are 32 ulongs; see docs/learning/benchmark-v1.md. +global LT ulong 2048 +global LS ulong 24 +global LSeen ulong 64 +global LWon ulong 64 +global LPin ulong 16 +global LWant uchar 256 +global LGot uchar 256 + +fn lequal a ulong b ulong n ulong to bool +for k ulong n +if ne get LT add a k get LT add b k +ret false +end +end +ret true +end + +fn lnonzero a ulong to bool +x = ulong 0 +for k ulong 4 +x = or x get LT add a k +end +ret ne x 0 +end + +fn lrecord a ulong to ulong +split = get LT add a 1 +if or eq get LT a 0 or lt split 1 gt split 4 +ret 2 +end +if or ne get LT add a 5 1 ne get LT add a 4 1 +ret 3 +end +if eq get LT add a 3 0 +ret 4 +end +if eq get LT add a 6 0 +ret 4 +end +if eq get LT add a 7 0 +ret 4 +end +note Only public train/dev records are admissible to this builder-side API. +note Adaptive/final custody stays with the existing independent owner. +if or gt split 2 ne get LT add a 2 1 +ret 5 +end +for h ulong 5 +if eq lnonzero add a add 8 mul h 4 false +ret 6 +end +end +if or eq get LT add a 28 0 gt get LT add a 28 256 +ret 7 +end +if or eq get LT add a 29 0 gt get LT add a 29 256 +ret 7 +end +if or eq get LT add a 30 0 gt get LT add a 30 1000000 +ret 7 +end +if ne get LT add a 31 0 +ret 7 +end +ret 0 +end + +fn lpair a ulong b ulong to ulong +if eq get LT a get LT b +ret 8 +end +if lequal add a 8 add b 8 4 +ret 9 +end +if lequal add a 12 add b 12 4 +ret 10 +end +if ne get LT add a 1 get LT add b 1 +if eq get LT add a 3 get LT add b 3 +ret 15 +end +if eq get LT add a 7 get LT add b 7 +ret 11 +end +if lequal add a 16 add b 16 4 +ret 12 +end +if lequal add a 20 add b 20 4 +ret 13 +end +if lequal add a 24 add b 24 4 +ret 14 +end +end +ret 0 +end + +fn lmanifest n ulong to ulong +if or eq n 0 gt n 64 +ret 1 +end +for i ulong n +a = mul i 32 +code = lrecord a +if ne code 0 +ret code +end +for j ulong i +b = mul j 32 +code = lpair a b +if ne code 0 +ret code +end +end +end +ret 0 +end + +note Caller supplies independent expected bytes and actual executor observations. +note Status 0=completed, 1=syntax,2=type,3=unsupported,4=timeout,5=resource,6=operational. +note Result 0=correct,1..6 as above,7=wrong value,8=trap mismatch,9=empty output,10=malformed. +fn lobserve status ulong wantcode ulong gotcode ulong wantn ulong gotn ulong to ulong +if gt status 6 +ret 10 +end +if ne status 0 +ret status +end +if or gt wantn 256 gt gotn 256 +ret 10 +end +if ne wantcode gotcode +ret 8 +end +if ne wantcode 0 +note Only declared runtime traps 101..107; arbitrary exit failures never pass. +if or lt wantcode 101 or gt wantcode 107 ne wantn 0 +ret 10 +end +if ne gotn 0 +ret 8 +end +ret 0 +end +if eq wantn 0 +ret 10 +end +if eq gotn 0 +ret 9 +end +if ne wantn gotn +ret 7 +end +for i ulong wantn +if ne get LWant i get LGot i +ret 7 +end +end +ret 0 +end + +note Full 256-bit compiler and executable identities, expected then observed. +note LPin[0..3] expected compiler, [4..7] observed, [8..11] expected ELF, [12..15] observed. +fn lpins to bool +ca = ulong 0 +ba = ulong 0 +for i ulong 4 +ca = or ca get LPin i +ba = or ba get LPin add i 8 +if ne get LPin i get LPin add i 4 +ret false +end +if ne get LPin add i 8 get LPin add i 12 +ret false +end +end +ret and ne ca 0 ne ba 0 +end + +note Each begin is one explicit fresh development run; no durable resume API exists. +note LS: active,tasks,maxattempts,attempts,pass1,passbudget,invalid,closed, +note generation_us,compile_us,judge_us,other_us,input_tokens,output_tokens,peak_bytes, +note energy_uj,energy_unknown,budget_us,completed,abstained,reserved... +fn lbegin n ulong maxtries ulong budget ulong to ulong +if eq get LS 0 1 +ret 20 +end +for i ulong 24 +put LS i 0 +end +for i ulong 64 +put LSeen i 0 +put LWon i 0 +end +code = lmanifest n +if ne code 0 +put LS 6 code +ret code +end +if or eq maxtries 0 or gt maxtries 64 or eq budget 0 gt budget 1000000000000 +put LS 6 21 +ret 21 +end +put LS 0 1 +put LS 1 n +put LS 2 maxtries +put LS 17 budget +ret 0 +end + +note Charge before classifying. Costs are exact integer caller measurements, never estimates. +note Missing cost values use all-ones and invalidate the run, never become free. +fn lcost slot ulong value ulong to ulong +if or lt slot 8 gt slot 15 +put LS 6 22 +ret 22 +end +if gt value 1000000000000 +put LS 6 23 +ret 23 +end +if eq slot 14 +if gt value get LS slot +put LS slot value +end +else +if gt get LS slot sub ulong 1000000000000 value +put LS 6 23 +ret 23 +end +put LS slot add get LS slot value +end +ret 0 +end + +note Attempt outcomes come from lobserve or explicit abstention 11, never compiler acceptance. +note Mandatory cost vector is supplied per attempt in LC; energy unknown is explicit. +global LC ulong 9 + +fn lattempt task ulong ordinal ulong outcome ulong to ulong +if ne get LS 0 1 +ret 24 +end +for k ulong 8 +r = lcost add k 8 get LC k +end +if eq get LC 8 0 +put LS 16 add get LS 16 1 +if ne get LC 7 0 +put LS 6 25 +end +else +if ne get LC 8 1 +put LS 6 25 +end +end +put LS 3 add get LS 3 1 +note At most 64 attempts across a public development run, including failed attempts. +if gt get LS 3 64 +put LS 6 31 +ret 31 +end +if eq lpins false +put LS 6 26 +end +note Invalid costs or identities can never add successful tasks. +if ne get LS 6 0 +ret get LS 6 +end +if or ge task get LS 1 gt outcome 11 +put LS 6 27 +ret 27 +end +if or ne ordinal add get LSeen task 1 gt ordinal get LS 2 +put LS 6 28 +ret 28 +end +put LSeen task ordinal +if eq outcome 0 +if eq ordinal 1 +put LS 4 add get LS 4 1 +end +if eq get LWon task 0 +put LWon task 1 +put LS 5 add get LS 5 1 +end +end +if eq outcome 11 +put LS 19 add get LS 19 1 +end +elapsed = add get LS 8 get LS 9 +elapsed = add elapsed get LS 10 +elapsed = add elapsed get LS 11 +if gt elapsed get LS 17 +put LS 6 29 +end +ret get LS 6 +end + +fn lfinish to ulong +if ne get LS 0 1 +ret 24 +end +put LS 0 0 +for i ulong get LS 1 +if eq get LSeen i 0 +if eq get LS 6 0 +put LS 6 30 +end +end +end +if ne get LS 6 0 +ret get LS 6 +end +put LS 18 1 +ret 0 +end + +note GEN-1 genjac rule reused: lowercase ASCII word-triple SET Jaccard strictly above 1/2. +note Input contains two public prompts only; never load final or sealed text here. +global LText uchar 512 +global LStart ulong 128 +global LLength ulong 128 +global LCount ulong 2 + +fn llower c uchar to uchar +if and ge c 65 le c 90 +ret add c 32 +end +ret c +end + +fn lword c uchar to bool +d = llower c +ret or and ge d 97 le d 122 and ge d 48 le d 57 +end + +fn ltokens side ulong size ulong to bool +if or gt side 1 gt size 256 +ret false +end +base = mul side 256 +slots = mul side 64 +count = ulong 0 +pos = ulong 0 +while lt pos size +if gt get LText add base pos 127 +ret false +end +if lword get LText add base pos +start = pos +scanning = true +while and lt pos size scanning +if lword get LText add base pos +pos = add pos 1 +else +scanning = false +end +end +if ge count 64 +ret false +end +put LStart add slots count add base start +put LLength add slots count sub pos start +count = add count 1 +else +pos = add pos 1 +end +end +put LCount side count +ret true +end + +fn lwordeq a ulong b ulong to bool +n = get LLength a +if ne n get LLength b +ret false +end +for k ulong n +if ne llower get LText add get LStart a k llower get LText add get LStart b k +ret false +end +end +ret true +end + +fn ltriple a ulong b ulong to bool +for k ulong 3 +if eq lwordeq add a k add b k false +ret false +end +end +ret true +end + +fn lunique at ulong base ulong to bool +j = base +while lt j at +if ltriple at j +ret false +end +j = add j 1 +end +ret true +end + +note 0=no near match,1=above threshold,2=insufficient words,3=unsupported input. +fn lnear an ulong bn ulong to ulong +if eq ltokens 0 an false +ret 3 +end +if eq ltokens 1 bn false +ret 3 +end +a = get LCount 0 +b = get LCount 1 +if or lt a 3 lt b 3 +ret 2 +end +ua = ulong 0 +ub = ulong 0 +overlap = ulong 0 +for i ulong sub a 2 +if lunique i 0 +ua = add ua 1 +hit = false +for j ulong sub b 2 +if ltriple i add 64 j +hit = true +end +end +if hit +overlap = add overlap 1 +end +end +end +for j ulong sub b 2 +if lunique add 64 j 64 +ub = add ub 1 +end +end +if gt mul overlap 3 add ua ub +ret 1 +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Compose with exact omega653.lock core. No fork, runner, signer or cost collector. +note LT/LPin/LC/status/exit are trusted executor inputs, not candidate claims. +fn aword p ulong v ulong to void +for i ulong 4 +put LWant add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn aobserve id ulong status ulong code ulong n ulong to ulong +tn = kload id +if eq tn 0 +ret 10 +end +if ne kvalid tn 0 +ret 10 +end +for i ulong 256 +put LWant i 0 +end +aword 0 2779096485 +for i ulong kw 13 +aword add i 1 kexpect i +end +aword add kw 13 1 2779096485 +want = mul 4 add kw 13 2 +ret lobserve status 0 code want n +end +fn afields to bool +for i ulong 8 +a = mul i 32 +id = add i 1 +n = kload id +if ne get LT a id +ret false +end +if ne get LT add a 1 2 +ret false +end +if ne get LT add a 2 1 +ret false +end +if ne get LT add a 3 kw 2 +ret false +end +if ne get LT add a 4 1 +ret false +end +if ne get LT add a 5 1 +ret false +end +if ne get LT add a 6 53 +ret false +end +if ne get LT add a 7 1 +ret false +end +if ne get LT add a 28 n +ret false +end +if ne get LT add a 29 mul 4 add kw 13 2 +ret false +end +if ne get LT add a 30 1000000 +ret false +end +if ne get LT add a 31 0 +ret false +end +end +ret true +end +fn abegin budget ulong to ulong +note Canonical active-run refusal preserves the existing run. +if eq get LS 0 1 +ret 20 +end +if eq afields false +note Invalid count invokes canonical fresh-run invalidation, including stale scores. +ret lbegin 0 1 budget +end +ret lbegin 8 1 budget +end +fn aattempt idx ulong ordinal ulong status ulong code ulong n ulong to ulong +outcome = aobserve add idx 1 status code n +ret lattempt idx ordinal outcome +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Literal output oracle only. No kexpect/keval calls construct expected values. +fn csize id ulong to ulong +if eq id 1 +ret 136 +end +if eq id 2 +ret 160 +end +if eq id 3 +ret 232 +end +if eq id 4 +ret 116 +end +if eq id 5 +ret 128 +end +if eq id 6 +ret 164 +end +if eq id 7 +ret 144 +end +if eq id 8 +ret 156 +end +ret 0 +end +fn coutn id ulong to ulong +if eq id 1 +ret 28 +end +if eq id 2 +ret 40 +end +if eq id 3 +ret 76 +end +if and ge id 4 le id 6 +ret 12 +end +if eq id 7 +ret 36 +end +if eq id 8 +ret 32 +end +ret 0 +end +fn cvalues id ulong to void +for i ulong 258 +cw i 2779096485 +end +if eq id 1 +cw 1 0 +cw 3 11 +cw 5 15 +end +if eq id 2 +for i ulong 8 +cw add i 1 16 +end +end +if eq id 3 +for i ulong 17 +cw add i 1 2 +end +end +if eq id 4 +cw 1 4 +end +if eq id 5 +cw 1 4294967288 +end +if eq id 6 +cw 1 4294967279 +end +if eq id 7 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +if eq id 8 +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +end +end +note SPDX-License-Identifier: AGPL-3.0-only +note SYNTHETIC unit metadata, pins and costs, NEVER a real benchmark record. +fn afix to void +for i ulong 2048 +put LT i 0 +end +for i ulong 24 +put LS i 0 +end +for i ulong 8 +id = add i 1 +a = mul i 32 +n = kload id +put LT a id +put LT add a 1 2 +put LT add a 2 1 +put LT add a 3 kw 2 +put LT add a 4 1 +put LT add a 5 1 +put LT add a 6 53 +put LT add a 7 1 +for j ulong 20 +put LT add a add 8 j add add mul i 100 j 1 +end +put LT add a 28 csize id +put LT add a 29 coutn id +put LT add a 30 1000000 +end +for i ulong 4 +put LPin i add i 1 +put LPin add i 4 add i 1 +put LPin add i 8 add i 5 +put LPin add i 12 add i 5 +end +for i ulong 9 +put LC i 0 +end +put LC 0 10 +put LC 1 20 +put LC 2 30 +put LC 3 40 +put LC 4 50 +put LC 5 60 +put LC 6 4096 +end +fn agood id ulong to void +cvalues id +for i ulong 256 +put LGot i get ko i +end +end +fn aobs to void +for i ulong 8 +id = add i 1 +agood id +check eq aobserve id 0 0 coutn id 0 +put LGot sub coutn id 1 0 +check eq aobserve id 0 0 coutn id 7 +end +agood 1 +check eq aobserve 0 0 0 28 10 +check eq aobserve 9 0 0 28 10 +check eq aobserve 18446744073709551615 0 0 28 10 +check eq aobserve 1 0 0 0 9 +check eq aobserve 1 0 0 27 7 +check eq aobserve 1 0 0 257 10 +check eq aobserve 1 0 0 18446744073709551615 10 +check eq aobserve 1 0 101 0 8 +check eq aobserve 1 7 0 28 10 +for i ulong 6 +check eq aobserve 1 add i 1 0 28 add i 1 +end +note A task mutation is discarded; correct output for weakened task is wrong. +n = kload 1 +tw 28 0 +tw 21 1 +tw 22 99 +tw 14 3 +check eq aobserve 1 0 0 28 0 +check eq kw 28 9 +check eq kw 21 0 +check eq kw 22 0 +check eq kw 14 1 +cw 5 6 +for i ulong 28 +put LGot i get ko i +end +check eq aobserve 1 0 0 28 7 +note Wrong logical output, skipped write, dense stride, PASS spoof, wrong task. +for i ulong 4 +agood 1 +if eq i 0 +cw 3 12 +end +if eq i 1 +cw 5 2779096485 +end +if eq i 2 +cw 2 11 +cw 3 15 +cw 5 2779096485 +end +if eq i 3 +cw 1 1397965136 +end +for j ulong 28 +put LGot j get ko j +end +check eq aobserve 1 0 0 28 7 +end +agood 1 +check eq aobserve 2 0 0 28 7 +end +fn aall to void +afix +check eq abegin 1000 0 +check eq abegin 1000 20 +for i ulong 8 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 8 +check eq get LS 5 8 +check eq get LS 3 8 +check eq get LS 16 8 +check eq get LS 14 4096 +note A subsequent invalid begin clears old completed-valid state. +put LT 1 3 +check eq abegin 1000 1 +check eq get LS 18 0 +end +fn amissing to void +afix +check eq abegin 1000 0 +for i ulong 7 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 30 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +agood 1 +check eq aattempt 0 1 0 0 28 0 +check eq aattempt 0 1 0 0 28 28 +check eq lfinish 28 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +check eq aattempt 8 1 0 0 28 27 +check eq lfinish 27 +end +fn abad to void +afix +check eq abegin 1000 0 +for i ulong 8 +id = add i 1 +agood id +if eq id 8 +put LGot 4 0 +end +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 7 +check eq get LS 5 7 +note A valid experiment can report failure, never silently drop that task. +check eq get LS 1 8 +check eq get LS 3 8 +end +fn apins to void +for i ulong 8 +afix +check eq abegin 1000 0 +p = add i 4 +if ge i 4 +p = add i 8 +end +put LPin p 999 +agood 1 +check eq aattempt 0 1 0 0 28 26 +check eq get LS 4 0 +check eq lfinish 26 +end +afix +check eq abegin 1000 0 +put LC 0 18446744073709551615 +agood 1 +check eq aattempt 0 1 0 0 28 23 +check eq get LS 4 0 +check eq lfinish 23 +afix +check eq abegin 1 0 +agood 1 +check eq aattempt 0 1 0 0 28 29 +check eq lfinish 29 +check eq get LS 18 0 +end +fn ameta to void +for i ulong 32 +if or lt i 8 ge i 28 +afix +put LT i 999 +check eq abegin 1000 1 +check eq get LS 18 0 +end +end +afix +for i ulong 4 +put LT add i 8 0 +end +check eq abegin 1000 6 +check eq get LS 18 0 +end +fn main to int +aobs +aall +amissing +abad +apins +ameta +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/omega.rebuild.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/omega.rebuild.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/omega.run.exit b/evidence/LEARN53-L777-CONTINUATION/replay/omega.run.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/omega.run.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/omega.run.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/omega.run.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/omega.run.stdout b/evidence/LEARN53-L777-CONTINUATION/replay/omega.run.stdout new file mode 100644 index 00000000..e508e223 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/omega.run.stdout @@ -0,0 +1,160 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 +PASS 78 +PASS 79 +PASS 80 +PASS 81 +PASS 82 +PASS 83 +PASS 84 +PASS 85 +PASS 86 +PASS 87 +PASS 88 +PASS 89 +PASS 90 +PASS 91 +PASS 92 +PASS 93 +PASS 94 +PASS 95 +PASS 96 +PASS 97 +PASS 98 +PASS 99 +PASS 100 +PASS 101 +PASS 102 +PASS 103 +PASS 104 +PASS 105 +PASS 106 +PASS 107 +PASS 108 +PASS 109 +PASS 110 +PASS 111 +PASS 112 +PASS 113 +PASS 114 +PASS 115 +PASS 116 +PASS 117 +PASS 118 +PASS 119 +PASS 120 +PASS 121 +PASS 122 +PASS 123 +PASS 124 +PASS 125 +PASS 126 +PASS 127 +PASS 128 +PASS 129 +PASS 130 +PASS 131 +PASS 132 +PASS 133 +PASS 134 +PASS 135 +PASS 136 +PASS 137 +PASS 138 +PASS 139 +PASS 140 +PASS 141 +PASS 142 +PASS 143 +PASS 144 +PASS 145 +PASS 146 +PASS 147 +PASS 148 +PASS 149 +PASS 150 +PASS 151 +PASS 152 +PASS 153 +PASS 154 +PASS 155 +PASS 156 +PASS 157 +PASS 158 +PASS 159 +PASS 160 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/refuse-empty.exit b/evidence/LEARN53-L777-CONTINUATION/replay/refuse-empty.exit new file mode 100644 index 00000000..1479e19b --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/refuse-empty.exit @@ -0,0 +1 @@ +65 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/refuse-empty.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/refuse-empty.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/refuse-empty.stdout b/evidence/LEARN53-L777-CONTINUATION/replay/refuse-empty.stdout new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/refuse-extra.exit b/evidence/LEARN53-L777-CONTINUATION/replay/refuse-extra.exit new file mode 100644 index 00000000..1479e19b --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/refuse-extra.exit @@ -0,0 +1 @@ +65 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/refuse-extra.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/refuse-extra.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/refuse-extra.stdout b/evidence/LEARN53-L777-CONTINUATION/replay/refuse-extra.stdout new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/refuse-huge.exit b/evidence/LEARN53-L777-CONTINUATION/replay/refuse-huge.exit new file mode 100644 index 00000000..987e7ca9 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/refuse-huge.exit @@ -0,0 +1 @@ +77 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/refuse-huge.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/refuse-huge.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/refuse-huge.stdout b/evidence/LEARN53-L777-CONTINUATION/replay/refuse-huge.stdout new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/refuse-nine.exit b/evidence/LEARN53-L777-CONTINUATION/replay/refuse-nine.exit new file mode 100644 index 00000000..987e7ca9 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/refuse-nine.exit @@ -0,0 +1 @@ +77 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/refuse-nine.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/refuse-nine.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/refuse-nine.stdout b/evidence/LEARN53-L777-CONTINUATION/replay/refuse-nine.stdout new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/refuse-zero.exit b/evidence/LEARN53-L777-CONTINUATION/replay/refuse-zero.exit new file mode 100644 index 00000000..987e7ca9 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/replay/refuse-zero.exit @@ -0,0 +1 @@ +77 diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/refuse-zero.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/refuse-zero.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/refuse-zero.stdout b/evidence/LEARN53-L777-CONTINUATION/replay/refuse-zero.stdout new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/task-1.cul b/evidence/LEARN53-L777-CONTINUATION/replay/task-1.cul new file mode 100644 index 00000000..e5a49b3e Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/replay/task-1.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/task-1.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/task-1.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/task-2.cul b/evidence/LEARN53-L777-CONTINUATION/replay/task-2.cul new file mode 100644 index 00000000..ba2c2db7 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/replay/task-2.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/task-2.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/task-2.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/task-3.cul b/evidence/LEARN53-L777-CONTINUATION/replay/task-3.cul new file mode 100644 index 00000000..10ee17c7 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/replay/task-3.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/task-3.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/task-3.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/task-4.cul b/evidence/LEARN53-L777-CONTINUATION/replay/task-4.cul new file mode 100644 index 00000000..ecf8321a Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/replay/task-4.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/task-4.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/task-4.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/task-5.cul b/evidence/LEARN53-L777-CONTINUATION/replay/task-5.cul new file mode 100644 index 00000000..ca261820 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/replay/task-5.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/task-5.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/task-5.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/task-6.cul b/evidence/LEARN53-L777-CONTINUATION/replay/task-6.cul new file mode 100644 index 00000000..3b5c9001 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/replay/task-6.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/task-6.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/task-6.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/task-7.cul b/evidence/LEARN53-L777-CONTINUATION/replay/task-7.cul new file mode 100644 index 00000000..adbedea9 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/replay/task-7.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/task-7.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/task-7.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/task-8.cul b/evidence/LEARN53-L777-CONTINUATION/replay/task-8.cul new file mode 100644 index 00000000..b55708c5 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/replay/task-8.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/replay/task-8.stderr b/evidence/LEARN53-L777-CONTINUATION/replay/task-8.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review-L783-parent-verification.txt b/evidence/LEARN53-L777-CONTINUATION/review-L783-parent-verification.txt new file mode 100644 index 00000000..c27ebaef --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review-L783-parent-verification.txt @@ -0,0 +1,23 @@ +source_closure 17 all exact +upstream185-review exit 0 checks 185 elf e9f0335f45ee5e7644da795b07cd1e71a595cc918e8fb6ad11a13aa3aa48bf09 +catalog-review exit 0 checks 83 elf 8b0492ed620f8e5b6f920192bc4d9ed7e06135504b7f8639df7cb4f1fd9f33c2 +omega-review exit 0 checks 160 elf 11fcf90d6e98543aab604b35fb3f72383af003c12515d050de7dad20d6527069 +original-core-review exit 0 checks 77 elf f88637fad13bb395297ee6fc96b96427ce8a31a5ab62719e72ee9ba262ec29dd +original-stream-review exit 0 checks 17 elf e34796a6b14823e321d1f6b92fb0be22ba8aec705daa3835979eb5a39c2877c7 +actual_total 522 +ignore-outcome exit 1 FAIL 2 ELF ea67974ce32faf9f21606a355ab2b8c2de3fa3bc543c326ae2ea219c763573bc +omit-task exit 1 FAIL 11 ELF 57f27e435c9ca79a6b3ec0d000a03276aabf5866ac5a24214668a42d25b09d52 +ignore-length exit 1 FAIL 4 ELF 702251c771cb0383bca693b5b9bf396e19feba436a4a6c095ad2a53c58b3818f +task 1 bytes 136 export 0 check 0 hash e38d883e73dfe47d7de09baf2a0c8bc9a65a7c01adc5b1a319e7ac283046b4a2 +task 2 bytes 160 export 0 check 0 hash 7088309528d45479db25178a48bd09a628ea805ecf086c49b95a242d19845ef4 +task 3 bytes 232 export 0 check 0 hash d1777193f2c1329ca3bc50ed79a2d43cc19ada2b90c047d3cb2fe34d9834f074 +task 4 bytes 116 export 0 check 0 hash 5b6f5a91859c7fc4681a2646a4546005f89c64894426ab2851a5d54fa373fa24 +task 5 bytes 128 export 0 check 0 hash ffcfaf45ff4b84e20484491d45a01a47169fc02f0f0dfdf701702fc1e5884f9d +task 6 bytes 164 export 0 check 0 hash b550dac61fa80d6db97841dbe1dfaec137e717fbf4c72c74dc9b3302cb771049 +task 7 bytes 144 export 0 check 0 hash 9cbd2ea428a19b187d122ee0f0ff75902e9580bd2f4edb51ea795a7cc5b7820a +task 8 bytes 156 export 0 check 0 hash dec444cdb9ca83979466f079d7b9b2086a99d520a7952ddffd6f998936ee1e89 +refusal empty exit 65 stdout_bytes 0 +refusal two exit 65 stdout_bytes 0 +refusal id0 exit 77 stdout_bytes 0 +refusal id9 exit 77 stdout_bytes 0 +refusal max exit 77 stdout_bytes 0 \ No newline at end of file diff --git a/evidence/LEARN53-L777-CONTINUATION/review-L783.md b/evidence/LEARN53-L777-CONTINUATION/review-L783.md new file mode 100644 index 00000000..eb517f49 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review-L783.md @@ -0,0 +1,40 @@ +# Independent component review — L783 + +**Ruling:** No Critical, Important, or Minor findings in the bounded draft increment reviewed. The fixed catalog and thin adapter are ready for this component scope only; this is not full #53/#653 acceptance, release approval, or a production cutover. + +## Exact pins + +- CUDApp source: `94ada80cd8acf2c31441ab1dcee98f896ce884c4` (checkout HEAD matched; source exported with `git archive`). +- Prior comparison pin: `4337fb2b8f81ba661b23868012210b2fc71daef3` (per review brief; not independently rerun as a comparison build). +- Canonical Omega653: `omega-mv@84d03c5523f39ca1045d1c313c5f62597779462b:src/learning/benchmark/core.om`, SHA256 `a5a2e74c815f9ca6a90dbdfbfc7ecc343f0362c824064f2058e9d1d7c119c40c`. +- Native compiler: SHA256 `191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9`. + +## Executed evidence + +Reconstructed fresh translation units from the committed CUDApp sources and pinned Omega source; compiled each with `quiet-build timeout 30`, checked nonempty ELFs/ELF headers, and ran with `timeout 10` on Spark Linux/AArch64: + +| Native suite | Exit | Checks | +|---|---:|---:| +| Pinned Omega core | 0 | 185 (`BENCHMARK_CORE_PASS`, then `185`) | +| Catalog | 0 | 83 PASS | +| Omega adapter | 0 | 160 PASS | +| Original CUL core | 0 | 77 PASS | +| Original stream | 0 | 17 PASS | + +Total: **522 assertions/checks** across those five suites. The adapter suite covers wrong/empty/oversize candidate outputs and statuses, corrupted task/policy and unchanged observations, all-eight successful completion, missing and duplicate task attempts, invalid next-run clearing of `LS[18]`, active-run refusal, bad identity words, missing costs, and over-budget rejection. It explicitly labels synthetic metadata/pins/costs as non-measurements. + +Separately compiled native catalog exporter/checker and ran all eight selectors: byte counts `136,160,232,116,128,164,144,156`; each exporter exited 0 and its checker exited 0 on the complete stream. Adversarial framing results: empty and two-byte input exit 65; selectors 0, 9, and 255 exit 77. All five failure cases emitted zero task bytes. + +Compiled three one-line adapter mutants to nonempty native ELFs, then ran the unchanged 160-check adapter suite. All failed at runtime (not compile failures): ignore outcome = exit 1 / 2 FAIL assertions; omit task = exit 1 / 11 FAIL; ignore observed length = exit 1 / 4 FAIL. + +## Review notes / limits + +No finding was reproduced in the reviewed boundary cases. The catalog returns unsupported IDs before touching either `kt` or `ko` (`native/learn53/catalog.om:139-150`); valid IDs rebuild fixed task bytes. The adapter derives expected bytes from reloaded catalog/reference data and routes observations through canonical `lobserve` (`native/learn53/omega-adapter.om:9-26`); it checks the eight fixed scalar manifest rows and delegates canonical identity/admission/accounting to `lbegin` / `lattempt` (`:28-86`). Exporter exact-length checks reject extra input before emission (`tests/learn53/catalog-export.om:7-26`). + +Declined to judge: GPU correctness/performance; generated-candidate execution or process isolation; authenticity of executor-owned `LT`, `LPin`, `LC`, status, and exit-code inputs; genuineness of unit digests/costs (they are synthetic); source custody/receipt authentication; protected splits, generalization, training, promotion; full Omega #653 or CUDA-LEARN #53 acceptance; production release/cutover. These require external owners, interfaces, or evidence explicitly outside this component. + +## Artifacts + +Remote artifact directory: `/home/drakestapleton/handoffs/cuda-learn-L777-review-continuation/` + +It contains the committed source export, pinned Omega source/test, ordered `.om` translation units, compile logs, ELFs and headers, raw stdout/stderr/exit statuses, task streams, mutant sources/results, and `review-artifacts.sha256`. The product worktree was left read-only and clean. Report: `/home/drakestapleton/handoffs/cuda-learn-L777/review-L783.md`. diff --git a/evidence/LEARN53-L777-CONTINUATION/review/catalog-check-review.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/review/catalog-check-review.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/catalog-check-review.elf-header b/evidence/LEARN53-L777-CONTINUATION/review/catalog-check-review.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/catalog-check-review.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/catalog-check-review.elf.sha256 b/evidence/LEARN53-L777-CONTINUATION/review/catalog-check-review.elf.sha256 new file mode 100644 index 00000000..bdf62368 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/catalog-check-review.elf.sha256 @@ -0,0 +1 @@ +6d503f93f7ffe2a13d2b58561a87c496e4abf0fcdfe3e8aba645a18b582f12b3 /home/drakestapleton/handoffs/cuda-learn-L777-review-continuation/catalog-check-review.elf diff --git a/evidence/LEARN53-L777-CONTINUATION/review/catalog-check-review.om b/evidence/LEARN53-L777-CONTINUATION/review/catalog-check-review.om new file mode 100644 index 00000000..ab14e597 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/catalog-check-review.om @@ -0,0 +1,453 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Emitter stream checker; first byte selects expected catalog, remaining bytes task. +global CBuf uchar 258 +fn main to int +pos = ulong 0 +done = false +while eq done false bound 259 +r = read 0 CBuf pos sub 258 pos +if lt r 0 +ret 1 +end +if eq r 0 +done = true +else +pos = add pos ulong r +if eq pos 258 +ret 1 +end +end +end +if eq pos 0 +ret 1 +end +n = kload ulong get CBuf 0 +if or eq n 0 ne pos add n 1 +ret 1 +end +for i ulong n +if ne get kt i get CBuf add i 1 +ret 1 +end +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/review/catalog-export-review.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/review/catalog-export-review.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/catalog-export-review.elf-header b/evidence/LEARN53-L777-CONTINUATION/review/catalog-export-review.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/catalog-export-review.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/catalog-export-review.elf.sha256 b/evidence/LEARN53-L777-CONTINUATION/review/catalog-export-review.elf.sha256 new file mode 100644 index 00000000..7ec3dfd9 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/catalog-export-review.elf.sha256 @@ -0,0 +1 @@ +9e8eda6d33ae06477ea6452687bfd8818cdf13d89efe5cccf8debeb75a138a03 /home/drakestapleton/handoffs/cuda-learn-L777-review-continuation/catalog-export-review.elf diff --git a/evidence/LEARN53-L777-CONTINUATION/review/catalog-export-review.om b/evidence/LEARN53-L777-CONTINUATION/review/catalog-export-review.om new file mode 100644 index 00000000..6d05fbbd --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/catalog-export-review.om @@ -0,0 +1,456 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Development fixture emitter: exactly one input byte, public catalog ID1..8. +global CIn uchar 2 +fn main to int +pos = ulong 0 +done = false +while eq done false bound 3 +r = read 0 CIn pos sub 2 pos +if lt r 0 +ret 74 +end +if eq r 0 +done = true +else +pos = add pos ulong r +if eq pos 2 +ret 65 +end +end +end +if ne pos 1 +ret 65 +end +n = kload ulong get CIn 0 +if eq n 0 +ret 77 +end +pos = 0 +while lt pos n bound 257 +w = write 1 kt pos sub n pos +if le w 0 +ret 74 +end +pos = add pos ulong w +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/review/catalog-review.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/review/catalog-review.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/catalog-review.elf-header b/evidence/LEARN53-L777-CONTINUATION/review/catalog-review.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/catalog-review.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/catalog-review.elf.sha256 b/evidence/LEARN53-L777-CONTINUATION/review/catalog-review.elf.sha256 new file mode 100644 index 00000000..3fd6624d --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/catalog-review.elf.sha256 @@ -0,0 +1 @@ +8b0492ed620f8e5b6f920192bc4d9ed7e06135504b7f8639df7cb4f1fd9f33c2 /home/drakestapleton/handoffs/cuda-learn-L777-review-continuation/catalog-review.elf diff --git a/evidence/LEARN53-L777-CONTINUATION/review/catalog-review.exit b/evidence/LEARN53-L777-CONTINUATION/review/catalog-review.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/catalog-review.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/catalog-review.om b/evidence/LEARN53-L777-CONTINUATION/review/catalog-review.om new file mode 100644 index 00000000..535b3500 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/catalog-review.om @@ -0,0 +1,702 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Literal output oracle only. No kexpect/keval calls construct expected values. +fn csize id ulong to ulong +if eq id 1 +ret 136 +end +if eq id 2 +ret 160 +end +if eq id 3 +ret 232 +end +if eq id 4 +ret 116 +end +if eq id 5 +ret 128 +end +if eq id 6 +ret 164 +end +if eq id 7 +ret 144 +end +if eq id 8 +ret 156 +end +ret 0 +end +fn coutn id ulong to ulong +if eq id 1 +ret 28 +end +if eq id 2 +ret 40 +end +if eq id 3 +ret 76 +end +if and ge id 4 le id 6 +ret 12 +end +if eq id 7 +ret 36 +end +if eq id 8 +ret 32 +end +ret 0 +end +fn cvalues id ulong to void +for i ulong 258 +cw i 2779096485 +end +if eq id 1 +cw 1 0 +cw 3 11 +cw 5 15 +end +if eq id 2 +for i ulong 8 +cw add i 1 16 +end +end +if eq id 3 +for i ulong 17 +cw add i 1 2 +end +end +if eq id 4 +cw 1 4 +end +if eq id 5 +cw 1 4294967288 +end +if eq id 6 +cw 1 4294967279 +end +if eq id 7 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +if eq id 8 +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +end +end +note SPDX-License-Identifier: AGPL-3.0-only +fn ctest to void +for i ulong 8 +id = add i 1 +cvalues id +n = kload id +check eq n csize id +check eq kvalid n 0 +check eq kw 16 id +check eq kw 14 1 +check eq kw 4 0 +check eq kw 21 0 +check eq kw 22 0 +check eq keval n coutn id 0 +last = sub div coutn id 4 2 +cw last 4294967294 +check eq keval n coutn id 1 +end +end +fn cstable to void +n = kload 1 +cvalues 1 +for i ulong 4096 +put saved i get kt i +end +check eq kload 0 0 +check eq kload 9 0 +check eq kload 18446744073709551615 0 +same = true +for i ulong 4096 +if ne get saved i get kt i +same = false +end +end +check same +check eq keval n 28 0 +note Loading a task must not forge or erase observed candidate output. +cw 3 12 +check eq kload 1 136 +check eq kc 3 12 +check eq keval 136 28 1 +note Poisoned task policy is reset by compiled catalog, not honored. +tw 21 1 +tw 22 99 +tw 14 3 +tw 16 99 +tw 28 0 +check eq kload 1 136 +cvalues 1 +check eq keval 136 28 0 +same = true +for i ulong 4096 +if ne get saved i get kt i +same = false +end +end +check same +end +fn main to int +ctest +cstable +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/review/catalog-review.stderr b/evidence/LEARN53-L777-CONTINUATION/review/catalog-review.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/catalog-review.stdout b/evidence/LEARN53-L777-CONTINUATION/review/catalog-review.stdout new file mode 100644 index 00000000..93d21bca --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/catalog-review.stdout @@ -0,0 +1,83 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 +PASS 78 +PASS 79 +PASS 80 +PASS 81 +PASS 82 +PASS 83 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/catalog-tasks.sha256 b/evidence/LEARN53-L777-CONTINUATION/review/catalog-tasks.sha256 new file mode 100644 index 00000000..2c03f832 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/catalog-tasks.sha256 @@ -0,0 +1,8 @@ +e38d883e73dfe47d7de09baf2a0c8bc9a65a7c01adc5b1a319e7ac283046b4a2 /home/drakestapleton/handoffs/cuda-learn-L777-review-continuation/task-1.cul +7088309528d45479db25178a48bd09a628ea805ecf086c49b95a242d19845ef4 /home/drakestapleton/handoffs/cuda-learn-L777-review-continuation/task-2.cul +d1777193f2c1329ca3bc50ed79a2d43cc19ada2b90c047d3cb2fe34d9834f074 /home/drakestapleton/handoffs/cuda-learn-L777-review-continuation/task-3.cul +5b6f5a91859c7fc4681a2646a4546005f89c64894426ab2851a5d54fa373fa24 /home/drakestapleton/handoffs/cuda-learn-L777-review-continuation/task-4.cul +ffcfaf45ff4b84e20484491d45a01a47169fc02f0f0dfdf701702fc1e5884f9d /home/drakestapleton/handoffs/cuda-learn-L777-review-continuation/task-5.cul +b550dac61fa80d6db97841dbe1dfaec137e717fbf4c72c74dc9b3302cb771049 /home/drakestapleton/handoffs/cuda-learn-L777-review-continuation/task-6.cul +9cbd2ea428a19b187d122ee0f0ff75902e9580bd2f4edb51ea795a7cc5b7820a /home/drakestapleton/handoffs/cuda-learn-L777-review-continuation/task-7.cul +dec444cdb9ca83979466f079d7b9b2086a99d520a7952ddffd6f998936ee1e89 /home/drakestapleton/handoffs/cuda-learn-L777-review-continuation/task-8.cul diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-1.bin b/evidence/LEARN53-L777-CONTINUATION/review/check-1.bin new file mode 100644 index 00000000..10a5796d Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/review/check-1.bin differ diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-1.exit b/evidence/LEARN53-L777-CONTINUATION/review/check-1.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/check-1.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-1.stderr b/evidence/LEARN53-L777-CONTINUATION/review/check-1.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-1.stdout b/evidence/LEARN53-L777-CONTINUATION/review/check-1.stdout new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-2.bin b/evidence/LEARN53-L777-CONTINUATION/review/check-2.bin new file mode 100644 index 00000000..0e3cf22a Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/review/check-2.bin differ diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-2.exit b/evidence/LEARN53-L777-CONTINUATION/review/check-2.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/check-2.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-2.stderr b/evidence/LEARN53-L777-CONTINUATION/review/check-2.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-2.stdout b/evidence/LEARN53-L777-CONTINUATION/review/check-2.stdout new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-3.bin b/evidence/LEARN53-L777-CONTINUATION/review/check-3.bin new file mode 100644 index 00000000..ac523551 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/review/check-3.bin differ diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-3.exit b/evidence/LEARN53-L777-CONTINUATION/review/check-3.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/check-3.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-3.stderr b/evidence/LEARN53-L777-CONTINUATION/review/check-3.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-3.stdout b/evidence/LEARN53-L777-CONTINUATION/review/check-3.stdout new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-4.bin b/evidence/LEARN53-L777-CONTINUATION/review/check-4.bin new file mode 100644 index 00000000..fcbe6c27 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/review/check-4.bin differ diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-4.exit b/evidence/LEARN53-L777-CONTINUATION/review/check-4.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/check-4.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-4.stderr b/evidence/LEARN53-L777-CONTINUATION/review/check-4.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-4.stdout b/evidence/LEARN53-L777-CONTINUATION/review/check-4.stdout new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-5.bin b/evidence/LEARN53-L777-CONTINUATION/review/check-5.bin new file mode 100644 index 00000000..9815c163 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/review/check-5.bin differ diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-5.exit b/evidence/LEARN53-L777-CONTINUATION/review/check-5.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/check-5.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-5.stderr b/evidence/LEARN53-L777-CONTINUATION/review/check-5.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-5.stdout b/evidence/LEARN53-L777-CONTINUATION/review/check-5.stdout new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-6.bin b/evidence/LEARN53-L777-CONTINUATION/review/check-6.bin new file mode 100644 index 00000000..286567bd Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/review/check-6.bin differ diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-6.exit b/evidence/LEARN53-L777-CONTINUATION/review/check-6.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/check-6.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-6.stderr b/evidence/LEARN53-L777-CONTINUATION/review/check-6.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-6.stdout b/evidence/LEARN53-L777-CONTINUATION/review/check-6.stdout new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-7.bin b/evidence/LEARN53-L777-CONTINUATION/review/check-7.bin new file mode 100644 index 00000000..4653a59d Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/review/check-7.bin differ diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-7.exit b/evidence/LEARN53-L777-CONTINUATION/review/check-7.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/check-7.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-7.stderr b/evidence/LEARN53-L777-CONTINUATION/review/check-7.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-7.stdout b/evidence/LEARN53-L777-CONTINUATION/review/check-7.stdout new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-8.bin b/evidence/LEARN53-L777-CONTINUATION/review/check-8.bin new file mode 100644 index 00000000..c3302b9d Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/review/check-8.bin differ diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-8.exit b/evidence/LEARN53-L777-CONTINUATION/review/check-8.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/check-8.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-8.stderr b/evidence/LEARN53-L777-CONTINUATION/review/check-8.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/check-8.stdout b/evidence/LEARN53-L777-CONTINUATION/review/check-8.stdout new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-1.exit b/evidence/LEARN53-L777-CONTINUATION/review/export-1.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/export-1.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-1.stderr b/evidence/LEARN53-L777-CONTINUATION/review/export-1.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-2.exit b/evidence/LEARN53-L777-CONTINUATION/review/export-2.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/export-2.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-2.stderr b/evidence/LEARN53-L777-CONTINUATION/review/export-2.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-3.exit b/evidence/LEARN53-L777-CONTINUATION/review/export-3.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/export-3.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-3.stderr b/evidence/LEARN53-L777-CONTINUATION/review/export-3.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-4.exit b/evidence/LEARN53-L777-CONTINUATION/review/export-4.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/export-4.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-4.stderr b/evidence/LEARN53-L777-CONTINUATION/review/export-4.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-5.exit b/evidence/LEARN53-L777-CONTINUATION/review/export-5.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/export-5.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-5.stderr b/evidence/LEARN53-L777-CONTINUATION/review/export-5.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-6.exit b/evidence/LEARN53-L777-CONTINUATION/review/export-6.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/export-6.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-6.stderr b/evidence/LEARN53-L777-CONTINUATION/review/export-6.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-7.exit b/evidence/LEARN53-L777-CONTINUATION/review/export-7.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/export-7.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-7.stderr b/evidence/LEARN53-L777-CONTINUATION/review/export-7.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-8.exit b/evidence/LEARN53-L777-CONTINUATION/review/export-8.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/export-8.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-8.stderr b/evidence/LEARN53-L777-CONTINUATION/review/export-8.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-empty.exit b/evidence/LEARN53-L777-CONTINUATION/review/export-empty.exit new file mode 100644 index 00000000..1479e19b --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/export-empty.exit @@ -0,0 +1 @@ +65 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-empty.stderr b/evidence/LEARN53-L777-CONTINUATION/review/export-empty.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-id0.exit b/evidence/LEARN53-L777-CONTINUATION/review/export-id0.exit new file mode 100644 index 00000000..987e7ca9 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/export-id0.exit @@ -0,0 +1 @@ +77 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-id0.stderr b/evidence/LEARN53-L777-CONTINUATION/review/export-id0.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-id9.exit b/evidence/LEARN53-L777-CONTINUATION/review/export-id9.exit new file mode 100644 index 00000000..987e7ca9 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/export-id9.exit @@ -0,0 +1 @@ +77 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-id9.stderr b/evidence/LEARN53-L777-CONTINUATION/review/export-id9.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-max.exit b/evidence/LEARN53-L777-CONTINUATION/review/export-max.exit new file mode 100644 index 00000000..987e7ca9 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/export-max.exit @@ -0,0 +1 @@ +77 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-max.stderr b/evidence/LEARN53-L777-CONTINUATION/review/export-max.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-two.exit b/evidence/LEARN53-L777-CONTINUATION/review/export-two.exit new file mode 100644 index 00000000..1479e19b --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/export-two.exit @@ -0,0 +1 @@ +65 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/export-two.stderr b/evidence/LEARN53-L777-CONTINUATION/review/export-two.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/ignore-length.adapter.om b/evidence/LEARN53-L777-CONTINUATION/review/ignore-length.adapter.om new file mode 100644 index 00000000..ea0aeb3d --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/ignore-length.adapter.om @@ -0,0 +1,86 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Compose with exact omega653.lock core. No fork, runner, signer or cost collector. +note LT/LPin/LC/status/exit are trusted executor inputs, not candidate claims. +fn aword p ulong v ulong to void +for i ulong 4 +put LWant add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn aobserve id ulong status ulong code ulong n ulong to ulong +tn = kload id +if eq tn 0 +ret 10 +end +if ne kvalid tn 0 +ret 10 +end +for i ulong 256 +put LWant i 0 +end +aword 0 2779096485 +for i ulong kw 13 +aword add i 1 kexpect i +end +aword add kw 13 1 2779096485 +want = mul 4 add kw 13 2 +ret lobserve status 0 code want want +end +fn afields to bool +for i ulong 8 +a = mul i 32 +id = add i 1 +n = kload id +if ne get LT a id +ret false +end +if ne get LT add a 1 2 +ret false +end +if ne get LT add a 2 1 +ret false +end +if ne get LT add a 3 kw 2 +ret false +end +if ne get LT add a 4 1 +ret false +end +if ne get LT add a 5 1 +ret false +end +if ne get LT add a 6 53 +ret false +end +if ne get LT add a 7 1 +ret false +end +if ne get LT add a 28 n +ret false +end +if ne get LT add a 29 mul 4 add kw 13 2 +ret false +end +if ne get LT add a 30 1000000 +ret false +end +if ne get LT add a 31 0 +ret false +end +end +ret true +end +fn abegin budget ulong to ulong +note Canonical active-run refusal preserves the existing run. +if eq get LS 0 1 +ret 20 +end +if eq afields false +note Invalid count invokes canonical fresh-run invalidation, including stale scores. +ret lbegin 0 1 budget +end +ret lbegin 8 1 budget +end +fn aattempt idx ulong ordinal ulong status ulong code ulong n ulong to ulong +outcome = aobserve add idx 1 status code n +ret lattempt idx ordinal outcome +end diff --git a/evidence/LEARN53-L777-CONTINUATION/review/ignore-length.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/review/ignore-length.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/ignore-length.elf-header b/evidence/LEARN53-L777-CONTINUATION/review/ignore-length.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/ignore-length.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/ignore-length.elf.sha256 b/evidence/LEARN53-L777-CONTINUATION/review/ignore-length.elf.sha256 new file mode 100644 index 00000000..ecbe1aa4 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/ignore-length.elf.sha256 @@ -0,0 +1 @@ +702251c771cb0383bca693b5b9bf396e19feba436a4a6c095ad2a53c58b3818f /home/drakestapleton/handoffs/cuda-learn-L777-review-continuation/ignore-length.elf diff --git a/evidence/LEARN53-L777-CONTINUATION/review/ignore-length.exit b/evidence/LEARN53-L777-CONTINUATION/review/ignore-length.exit new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/ignore-length.exit @@ -0,0 +1 @@ +1 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/ignore-length.om b/evidence/LEARN53-L777-CONTINUATION/review/ignore-length.om new file mode 100644 index 00000000..98cbcad5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/ignore-length.om @@ -0,0 +1,1401 @@ +note LEARN653 v1 consumer checks. No compiler, judge, signer or process supervisor. +note Task slots are 32 ulongs; see docs/learning/benchmark-v1.md. +global LT ulong 2048 +global LS ulong 24 +global LSeen ulong 64 +global LWon ulong 64 +global LPin ulong 16 +global LWant uchar 256 +global LGot uchar 256 + +fn lequal a ulong b ulong n ulong to bool +for k ulong n +if ne get LT add a k get LT add b k +ret false +end +end +ret true +end + +fn lnonzero a ulong to bool +x = ulong 0 +for k ulong 4 +x = or x get LT add a k +end +ret ne x 0 +end + +fn lrecord a ulong to ulong +split = get LT add a 1 +if or eq get LT a 0 or lt split 1 gt split 4 +ret 2 +end +if or ne get LT add a 5 1 ne get LT add a 4 1 +ret 3 +end +if eq get LT add a 3 0 +ret 4 +end +if eq get LT add a 6 0 +ret 4 +end +if eq get LT add a 7 0 +ret 4 +end +note Only public train/dev records are admissible to this builder-side API. +note Adaptive/final custody stays with the existing independent owner. +if or gt split 2 ne get LT add a 2 1 +ret 5 +end +for h ulong 5 +if eq lnonzero add a add 8 mul h 4 false +ret 6 +end +end +if or eq get LT add a 28 0 gt get LT add a 28 256 +ret 7 +end +if or eq get LT add a 29 0 gt get LT add a 29 256 +ret 7 +end +if or eq get LT add a 30 0 gt get LT add a 30 1000000 +ret 7 +end +if ne get LT add a 31 0 +ret 7 +end +ret 0 +end + +fn lpair a ulong b ulong to ulong +if eq get LT a get LT b +ret 8 +end +if lequal add a 8 add b 8 4 +ret 9 +end +if lequal add a 12 add b 12 4 +ret 10 +end +if ne get LT add a 1 get LT add b 1 +if eq get LT add a 3 get LT add b 3 +ret 15 +end +if eq get LT add a 7 get LT add b 7 +ret 11 +end +if lequal add a 16 add b 16 4 +ret 12 +end +if lequal add a 20 add b 20 4 +ret 13 +end +if lequal add a 24 add b 24 4 +ret 14 +end +end +ret 0 +end + +fn lmanifest n ulong to ulong +if or eq n 0 gt n 64 +ret 1 +end +for i ulong n +a = mul i 32 +code = lrecord a +if ne code 0 +ret code +end +for j ulong i +b = mul j 32 +code = lpair a b +if ne code 0 +ret code +end +end +end +ret 0 +end + +note Caller supplies independent expected bytes and actual executor observations. +note Status 0=completed, 1=syntax,2=type,3=unsupported,4=timeout,5=resource,6=operational. +note Result 0=correct,1..6 as above,7=wrong value,8=trap mismatch,9=empty output,10=malformed. +fn lobserve status ulong wantcode ulong gotcode ulong wantn ulong gotn ulong to ulong +if gt status 6 +ret 10 +end +if ne status 0 +ret status +end +if or gt wantn 256 gt gotn 256 +ret 10 +end +if ne wantcode gotcode +ret 8 +end +if ne wantcode 0 +note Only declared runtime traps 101..107; arbitrary exit failures never pass. +if or lt wantcode 101 or gt wantcode 107 ne wantn 0 +ret 10 +end +if ne gotn 0 +ret 8 +end +ret 0 +end +if eq wantn 0 +ret 10 +end +if eq gotn 0 +ret 9 +end +if ne wantn gotn +ret 7 +end +for i ulong wantn +if ne get LWant i get LGot i +ret 7 +end +end +ret 0 +end + +note Full 256-bit compiler and executable identities, expected then observed. +note LPin[0..3] expected compiler, [4..7] observed, [8..11] expected ELF, [12..15] observed. +fn lpins to bool +ca = ulong 0 +ba = ulong 0 +for i ulong 4 +ca = or ca get LPin i +ba = or ba get LPin add i 8 +if ne get LPin i get LPin add i 4 +ret false +end +if ne get LPin add i 8 get LPin add i 12 +ret false +end +end +ret and ne ca 0 ne ba 0 +end + +note Each begin is one explicit fresh development run; no durable resume API exists. +note LS: active,tasks,maxattempts,attempts,pass1,passbudget,invalid,closed, +note generation_us,compile_us,judge_us,other_us,input_tokens,output_tokens,peak_bytes, +note energy_uj,energy_unknown,budget_us,completed,abstained,reserved... +fn lbegin n ulong maxtries ulong budget ulong to ulong +if eq get LS 0 1 +ret 20 +end +for i ulong 24 +put LS i 0 +end +for i ulong 64 +put LSeen i 0 +put LWon i 0 +end +code = lmanifest n +if ne code 0 +put LS 6 code +ret code +end +if or eq maxtries 0 or gt maxtries 64 or eq budget 0 gt budget 1000000000000 +put LS 6 21 +ret 21 +end +put LS 0 1 +put LS 1 n +put LS 2 maxtries +put LS 17 budget +ret 0 +end + +note Charge before classifying. Costs are exact integer caller measurements, never estimates. +note Missing cost values use all-ones and invalidate the run, never become free. +fn lcost slot ulong value ulong to ulong +if or lt slot 8 gt slot 15 +put LS 6 22 +ret 22 +end +if gt value 1000000000000 +put LS 6 23 +ret 23 +end +if eq slot 14 +if gt value get LS slot +put LS slot value +end +else +if gt get LS slot sub ulong 1000000000000 value +put LS 6 23 +ret 23 +end +put LS slot add get LS slot value +end +ret 0 +end + +note Attempt outcomes come from lobserve or explicit abstention 11, never compiler acceptance. +note Mandatory cost vector is supplied per attempt in LC; energy unknown is explicit. +global LC ulong 9 + +fn lattempt task ulong ordinal ulong outcome ulong to ulong +if ne get LS 0 1 +ret 24 +end +for k ulong 8 +r = lcost add k 8 get LC k +end +if eq get LC 8 0 +put LS 16 add get LS 16 1 +if ne get LC 7 0 +put LS 6 25 +end +else +if ne get LC 8 1 +put LS 6 25 +end +end +put LS 3 add get LS 3 1 +note At most 64 attempts across a public development run, including failed attempts. +if gt get LS 3 64 +put LS 6 31 +ret 31 +end +if eq lpins false +put LS 6 26 +end +note Invalid costs or identities can never add successful tasks. +if ne get LS 6 0 +ret get LS 6 +end +if or ge task get LS 1 gt outcome 11 +put LS 6 27 +ret 27 +end +if or ne ordinal add get LSeen task 1 gt ordinal get LS 2 +put LS 6 28 +ret 28 +end +put LSeen task ordinal +if eq outcome 0 +if eq ordinal 1 +put LS 4 add get LS 4 1 +end +if eq get LWon task 0 +put LWon task 1 +put LS 5 add get LS 5 1 +end +end +if eq outcome 11 +put LS 19 add get LS 19 1 +end +elapsed = add get LS 8 get LS 9 +elapsed = add elapsed get LS 10 +elapsed = add elapsed get LS 11 +if gt elapsed get LS 17 +put LS 6 29 +end +ret get LS 6 +end + +fn lfinish to ulong +if ne get LS 0 1 +ret 24 +end +put LS 0 0 +for i ulong get LS 1 +if eq get LSeen i 0 +if eq get LS 6 0 +put LS 6 30 +end +end +end +if ne get LS 6 0 +ret get LS 6 +end +put LS 18 1 +ret 0 +end + +note GEN-1 genjac rule reused: lowercase ASCII word-triple SET Jaccard strictly above 1/2. +note Input contains two public prompts only; never load final or sealed text here. +global LText uchar 512 +global LStart ulong 128 +global LLength ulong 128 +global LCount ulong 2 + +fn llower c uchar to uchar +if and ge c 65 le c 90 +ret add c 32 +end +ret c +end + +fn lword c uchar to bool +d = llower c +ret or and ge d 97 le d 122 and ge d 48 le d 57 +end + +fn ltokens side ulong size ulong to bool +if or gt side 1 gt size 256 +ret false +end +base = mul side 256 +slots = mul side 64 +count = ulong 0 +pos = ulong 0 +while lt pos size +if gt get LText add base pos 127 +ret false +end +if lword get LText add base pos +start = pos +scanning = true +while and lt pos size scanning +if lword get LText add base pos +pos = add pos 1 +else +scanning = false +end +end +if ge count 64 +ret false +end +put LStart add slots count add base start +put LLength add slots count sub pos start +count = add count 1 +else +pos = add pos 1 +end +end +put LCount side count +ret true +end + +fn lwordeq a ulong b ulong to bool +n = get LLength a +if ne n get LLength b +ret false +end +for k ulong n +if ne llower get LText add get LStart a k llower get LText add get LStart b k +ret false +end +end +ret true +end + +fn ltriple a ulong b ulong to bool +for k ulong 3 +if eq lwordeq add a k add b k false +ret false +end +end +ret true +end + +fn lunique at ulong base ulong to bool +j = base +while lt j at +if ltriple at j +ret false +end +j = add j 1 +end +ret true +end + +note 0=no near match,1=above threshold,2=insufficient words,3=unsupported input. +fn lnear an ulong bn ulong to ulong +if eq ltokens 0 an false +ret 3 +end +if eq ltokens 1 bn false +ret 3 +end +a = get LCount 0 +b = get LCount 1 +if or lt a 3 lt b 3 +ret 2 +end +ua = ulong 0 +ub = ulong 0 +overlap = ulong 0 +for i ulong sub a 2 +if lunique i 0 +ua = add ua 1 +hit = false +for j ulong sub b 2 +if ltriple i add 64 j +hit = true +end +end +if hit +overlap = add overlap 1 +end +end +end +for j ulong sub b 2 +if lunique add 64 j 64 +ub = add ub 1 +end +end +if gt mul overlap 3 add ua ub +ret 1 +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Compose with exact omega653.lock core. No fork, runner, signer or cost collector. +note LT/LPin/LC/status/exit are trusted executor inputs, not candidate claims. +fn aword p ulong v ulong to void +for i ulong 4 +put LWant add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn aobserve id ulong status ulong code ulong n ulong to ulong +tn = kload id +if eq tn 0 +ret 10 +end +if ne kvalid tn 0 +ret 10 +end +for i ulong 256 +put LWant i 0 +end +aword 0 2779096485 +for i ulong kw 13 +aword add i 1 kexpect i +end +aword add kw 13 1 2779096485 +want = mul 4 add kw 13 2 +ret lobserve status 0 code want want +end +fn afields to bool +for i ulong 8 +a = mul i 32 +id = add i 1 +n = kload id +if ne get LT a id +ret false +end +if ne get LT add a 1 2 +ret false +end +if ne get LT add a 2 1 +ret false +end +if ne get LT add a 3 kw 2 +ret false +end +if ne get LT add a 4 1 +ret false +end +if ne get LT add a 5 1 +ret false +end +if ne get LT add a 6 53 +ret false +end +if ne get LT add a 7 1 +ret false +end +if ne get LT add a 28 n +ret false +end +if ne get LT add a 29 mul 4 add kw 13 2 +ret false +end +if ne get LT add a 30 1000000 +ret false +end +if ne get LT add a 31 0 +ret false +end +end +ret true +end +fn abegin budget ulong to ulong +note Canonical active-run refusal preserves the existing run. +if eq get LS 0 1 +ret 20 +end +if eq afields false +note Invalid count invokes canonical fresh-run invalidation, including stale scores. +ret lbegin 0 1 budget +end +ret lbegin 8 1 budget +end +fn aattempt idx ulong ordinal ulong status ulong code ulong n ulong to ulong +outcome = aobserve add idx 1 status code n +ret lattempt idx ordinal outcome +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Literal output oracle only. No kexpect/keval calls construct expected values. +fn csize id ulong to ulong +if eq id 1 +ret 136 +end +if eq id 2 +ret 160 +end +if eq id 3 +ret 232 +end +if eq id 4 +ret 116 +end +if eq id 5 +ret 128 +end +if eq id 6 +ret 164 +end +if eq id 7 +ret 144 +end +if eq id 8 +ret 156 +end +ret 0 +end +fn coutn id ulong to ulong +if eq id 1 +ret 28 +end +if eq id 2 +ret 40 +end +if eq id 3 +ret 76 +end +if and ge id 4 le id 6 +ret 12 +end +if eq id 7 +ret 36 +end +if eq id 8 +ret 32 +end +ret 0 +end +fn cvalues id ulong to void +for i ulong 258 +cw i 2779096485 +end +if eq id 1 +cw 1 0 +cw 3 11 +cw 5 15 +end +if eq id 2 +for i ulong 8 +cw add i 1 16 +end +end +if eq id 3 +for i ulong 17 +cw add i 1 2 +end +end +if eq id 4 +cw 1 4 +end +if eq id 5 +cw 1 4294967288 +end +if eq id 6 +cw 1 4294967279 +end +if eq id 7 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +if eq id 8 +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +end +end +note SPDX-License-Identifier: AGPL-3.0-only +note SYNTHETIC unit metadata, pins and costs, NEVER a real benchmark record. +fn afix to void +for i ulong 2048 +put LT i 0 +end +for i ulong 24 +put LS i 0 +end +for i ulong 8 +id = add i 1 +a = mul i 32 +n = kload id +put LT a id +put LT add a 1 2 +put LT add a 2 1 +put LT add a 3 kw 2 +put LT add a 4 1 +put LT add a 5 1 +put LT add a 6 53 +put LT add a 7 1 +for j ulong 20 +put LT add a add 8 j add add mul i 100 j 1 +end +put LT add a 28 csize id +put LT add a 29 coutn id +put LT add a 30 1000000 +end +for i ulong 4 +put LPin i add i 1 +put LPin add i 4 add i 1 +put LPin add i 8 add i 5 +put LPin add i 12 add i 5 +end +for i ulong 9 +put LC i 0 +end +put LC 0 10 +put LC 1 20 +put LC 2 30 +put LC 3 40 +put LC 4 50 +put LC 5 60 +put LC 6 4096 +end +fn agood id ulong to void +cvalues id +for i ulong 256 +put LGot i get ko i +end +end +fn aobs to void +for i ulong 8 +id = add i 1 +agood id +check eq aobserve id 0 0 coutn id 0 +put LGot sub coutn id 1 0 +check eq aobserve id 0 0 coutn id 7 +end +agood 1 +check eq aobserve 0 0 0 28 10 +check eq aobserve 9 0 0 28 10 +check eq aobserve 18446744073709551615 0 0 28 10 +check eq aobserve 1 0 0 0 9 +check eq aobserve 1 0 0 27 7 +check eq aobserve 1 0 0 257 10 +check eq aobserve 1 0 0 18446744073709551615 10 +check eq aobserve 1 0 101 0 8 +check eq aobserve 1 7 0 28 10 +for i ulong 6 +check eq aobserve 1 add i 1 0 28 add i 1 +end +note A task mutation is discarded; correct output for weakened task is wrong. +n = kload 1 +tw 28 0 +tw 21 1 +tw 22 99 +tw 14 3 +check eq aobserve 1 0 0 28 0 +check eq kw 28 9 +check eq kw 21 0 +check eq kw 22 0 +check eq kw 14 1 +cw 5 6 +for i ulong 28 +put LGot i get ko i +end +check eq aobserve 1 0 0 28 7 +note Wrong logical output, skipped write, dense stride, PASS spoof, wrong task. +for i ulong 4 +agood 1 +if eq i 0 +cw 3 12 +end +if eq i 1 +cw 5 2779096485 +end +if eq i 2 +cw 2 11 +cw 3 15 +cw 5 2779096485 +end +if eq i 3 +cw 1 1397965136 +end +for j ulong 28 +put LGot j get ko j +end +check eq aobserve 1 0 0 28 7 +end +agood 1 +check eq aobserve 2 0 0 28 7 +end +fn aall to void +afix +check eq abegin 1000 0 +check eq abegin 1000 20 +for i ulong 8 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 8 +check eq get LS 5 8 +check eq get LS 3 8 +check eq get LS 16 8 +check eq get LS 14 4096 +note A subsequent invalid begin clears old completed-valid state. +put LT 1 3 +check eq abegin 1000 1 +check eq get LS 18 0 +end +fn amissing to void +afix +check eq abegin 1000 0 +for i ulong 7 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 30 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +agood 1 +check eq aattempt 0 1 0 0 28 0 +check eq aattempt 0 1 0 0 28 28 +check eq lfinish 28 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +check eq aattempt 8 1 0 0 28 27 +check eq lfinish 27 +end +fn abad to void +afix +check eq abegin 1000 0 +for i ulong 8 +id = add i 1 +agood id +if eq id 8 +put LGot 4 0 +end +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 7 +check eq get LS 5 7 +note A valid experiment can report failure, never silently drop that task. +check eq get LS 1 8 +check eq get LS 3 8 +end +fn apins to void +for i ulong 8 +afix +check eq abegin 1000 0 +p = add i 4 +if ge i 4 +p = add i 8 +end +put LPin p 999 +agood 1 +check eq aattempt 0 1 0 0 28 26 +check eq get LS 4 0 +check eq lfinish 26 +end +afix +check eq abegin 1000 0 +put LC 0 18446744073709551615 +agood 1 +check eq aattempt 0 1 0 0 28 23 +check eq get LS 4 0 +check eq lfinish 23 +afix +check eq abegin 1 0 +agood 1 +check eq aattempt 0 1 0 0 28 29 +check eq lfinish 29 +check eq get LS 18 0 +end +fn ameta to void +for i ulong 32 +if or lt i 8 ge i 28 +afix +put LT i 999 +check eq abegin 1000 1 +check eq get LS 18 0 +end +end +afix +for i ulong 4 +put LT add i 8 0 +end +check eq abegin 1000 6 +check eq get LS 18 0 +end +fn main to int +aobs +aall +amissing +abad +apins +ameta +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/review/ignore-length.stderr b/evidence/LEARN53-L777-CONTINUATION/review/ignore-length.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/ignore-length.stdout b/evidence/LEARN53-L777-CONTINUATION/review/ignore-length.stdout new file mode 100644 index 00000000..75aaf774 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/ignore-length.stdout @@ -0,0 +1,160 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +FAIL 20 +FAIL 21 +FAIL 22 +FAIL 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 +PASS 78 +PASS 79 +PASS 80 +PASS 81 +PASS 82 +PASS 83 +PASS 84 +PASS 85 +PASS 86 +PASS 87 +PASS 88 +PASS 89 +PASS 90 +PASS 91 +PASS 92 +PASS 93 +PASS 94 +PASS 95 +PASS 96 +PASS 97 +PASS 98 +PASS 99 +PASS 100 +PASS 101 +PASS 102 +PASS 103 +PASS 104 +PASS 105 +PASS 106 +PASS 107 +PASS 108 +PASS 109 +PASS 110 +PASS 111 +PASS 112 +PASS 113 +PASS 114 +PASS 115 +PASS 116 +PASS 117 +PASS 118 +PASS 119 +PASS 120 +PASS 121 +PASS 122 +PASS 123 +PASS 124 +PASS 125 +PASS 126 +PASS 127 +PASS 128 +PASS 129 +PASS 130 +PASS 131 +PASS 132 +PASS 133 +PASS 134 +PASS 135 +PASS 136 +PASS 137 +PASS 138 +PASS 139 +PASS 140 +PASS 141 +PASS 142 +PASS 143 +PASS 144 +PASS 145 +PASS 146 +PASS 147 +PASS 148 +PASS 149 +PASS 150 +PASS 151 +PASS 152 +PASS 153 +PASS 154 +PASS 155 +PASS 156 +PASS 157 +PASS 158 +PASS 159 +PASS 160 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.adapter.om b/evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.adapter.om new file mode 100644 index 00000000..d7caffef --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.adapter.om @@ -0,0 +1,86 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Compose with exact omega653.lock core. No fork, runner, signer or cost collector. +note LT/LPin/LC/status/exit are trusted executor inputs, not candidate claims. +fn aword p ulong v ulong to void +for i ulong 4 +put LWant add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn aobserve id ulong status ulong code ulong n ulong to ulong +tn = kload id +if eq tn 0 +ret 10 +end +if ne kvalid tn 0 +ret 10 +end +for i ulong 256 +put LWant i 0 +end +aword 0 2779096485 +for i ulong kw 13 +aword add i 1 kexpect i +end +aword add kw 13 1 2779096485 +want = mul 4 add kw 13 2 +ret lobserve status 0 code want n +end +fn afields to bool +for i ulong 8 +a = mul i 32 +id = add i 1 +n = kload id +if ne get LT a id +ret false +end +if ne get LT add a 1 2 +ret false +end +if ne get LT add a 2 1 +ret false +end +if ne get LT add a 3 kw 2 +ret false +end +if ne get LT add a 4 1 +ret false +end +if ne get LT add a 5 1 +ret false +end +if ne get LT add a 6 53 +ret false +end +if ne get LT add a 7 1 +ret false +end +if ne get LT add a 28 n +ret false +end +if ne get LT add a 29 mul 4 add kw 13 2 +ret false +end +if ne get LT add a 30 1000000 +ret false +end +if ne get LT add a 31 0 +ret false +end +end +ret true +end +fn abegin budget ulong to ulong +note Canonical active-run refusal preserves the existing run. +if eq get LS 0 1 +ret 20 +end +if eq afields false +note Invalid count invokes canonical fresh-run invalidation, including stale scores. +ret lbegin 0 1 budget +end +ret lbegin 8 1 budget +end +fn aattempt idx ulong ordinal ulong status ulong code ulong n ulong to ulong +outcome = aobserve add idx 1 status code n +ret lattempt idx ordinal 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.elf-header b/evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.elf.sha256 b/evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.elf.sha256 new file mode 100644 index 00000000..6a9869d1 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.elf.sha256 @@ -0,0 +1 @@ +ea67974ce32faf9f21606a355ab2b8c2de3fa3bc543c326ae2ea219c763573bc /home/drakestapleton/handoffs/cuda-learn-L777-review-continuation/ignore-outcome.elf diff --git a/evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.exit b/evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.exit new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.exit @@ -0,0 +1 @@ +1 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.om b/evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.om new file mode 100644 index 00000000..60ca0379 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.om @@ -0,0 +1,1401 @@ +note LEARN653 v1 consumer checks. No compiler, judge, signer or process supervisor. +note Task slots are 32 ulongs; see docs/learning/benchmark-v1.md. +global LT ulong 2048 +global LS ulong 24 +global LSeen ulong 64 +global LWon ulong 64 +global LPin ulong 16 +global LWant uchar 256 +global LGot uchar 256 + +fn lequal a ulong b ulong n ulong to bool +for k ulong n +if ne get LT add a k get LT add b k +ret false +end +end +ret true +end + +fn lnonzero a ulong to bool +x = ulong 0 +for k ulong 4 +x = or x get LT add a k +end +ret ne x 0 +end + +fn lrecord a ulong to ulong +split = get LT add a 1 +if or eq get LT a 0 or lt split 1 gt split 4 +ret 2 +end +if or ne get LT add a 5 1 ne get LT add a 4 1 +ret 3 +end +if eq get LT add a 3 0 +ret 4 +end +if eq get LT add a 6 0 +ret 4 +end +if eq get LT add a 7 0 +ret 4 +end +note Only public train/dev records are admissible to this builder-side API. +note Adaptive/final custody stays with the existing independent owner. +if or gt split 2 ne get LT add a 2 1 +ret 5 +end +for h ulong 5 +if eq lnonzero add a add 8 mul h 4 false +ret 6 +end +end +if or eq get LT add a 28 0 gt get LT add a 28 256 +ret 7 +end +if or eq get LT add a 29 0 gt get LT add a 29 256 +ret 7 +end +if or eq get LT add a 30 0 gt get LT add a 30 1000000 +ret 7 +end +if ne get LT add a 31 0 +ret 7 +end +ret 0 +end + +fn lpair a ulong b ulong to ulong +if eq get LT a get LT b +ret 8 +end +if lequal add a 8 add b 8 4 +ret 9 +end +if lequal add a 12 add b 12 4 +ret 10 +end +if ne get LT add a 1 get LT add b 1 +if eq get LT add a 3 get LT add b 3 +ret 15 +end +if eq get LT add a 7 get LT add b 7 +ret 11 +end +if lequal add a 16 add b 16 4 +ret 12 +end +if lequal add a 20 add b 20 4 +ret 13 +end +if lequal add a 24 add b 24 4 +ret 14 +end +end +ret 0 +end + +fn lmanifest n ulong to ulong +if or eq n 0 gt n 64 +ret 1 +end +for i ulong n +a = mul i 32 +code = lrecord a +if ne code 0 +ret code +end +for j ulong i +b = mul j 32 +code = lpair a b +if ne code 0 +ret code +end +end +end +ret 0 +end + +note Caller supplies independent expected bytes and actual executor observations. +note Status 0=completed, 1=syntax,2=type,3=unsupported,4=timeout,5=resource,6=operational. +note Result 0=correct,1..6 as above,7=wrong value,8=trap mismatch,9=empty output,10=malformed. +fn lobserve status ulong wantcode ulong gotcode ulong wantn ulong gotn ulong to ulong +if gt status 6 +ret 10 +end +if ne status 0 +ret status +end +if or gt wantn 256 gt gotn 256 +ret 10 +end +if ne wantcode gotcode +ret 8 +end +if ne wantcode 0 +note Only declared runtime traps 101..107; arbitrary exit failures never pass. +if or lt wantcode 101 or gt wantcode 107 ne wantn 0 +ret 10 +end +if ne gotn 0 +ret 8 +end +ret 0 +end +if eq wantn 0 +ret 10 +end +if eq gotn 0 +ret 9 +end +if ne wantn gotn +ret 7 +end +for i ulong wantn +if ne get LWant i get LGot i +ret 7 +end +end +ret 0 +end + +note Full 256-bit compiler and executable identities, expected then observed. +note LPin[0..3] expected compiler, [4..7] observed, [8..11] expected ELF, [12..15] observed. +fn lpins to bool +ca = ulong 0 +ba = ulong 0 +for i ulong 4 +ca = or ca get LPin i +ba = or ba get LPin add i 8 +if ne get LPin i get LPin add i 4 +ret false +end +if ne get LPin add i 8 get LPin add i 12 +ret false +end +end +ret and ne ca 0 ne ba 0 +end + +note Each begin is one explicit fresh development run; no durable resume API exists. +note LS: active,tasks,maxattempts,attempts,pass1,passbudget,invalid,closed, +note generation_us,compile_us,judge_us,other_us,input_tokens,output_tokens,peak_bytes, +note energy_uj,energy_unknown,budget_us,completed,abstained,reserved... +fn lbegin n ulong maxtries ulong budget ulong to ulong +if eq get LS 0 1 +ret 20 +end +for i ulong 24 +put LS i 0 +end +for i ulong 64 +put LSeen i 0 +put LWon i 0 +end +code = lmanifest n +if ne code 0 +put LS 6 code +ret code +end +if or eq maxtries 0 or gt maxtries 64 or eq budget 0 gt budget 1000000000000 +put LS 6 21 +ret 21 +end +put LS 0 1 +put LS 1 n +put LS 2 maxtries +put LS 17 budget +ret 0 +end + +note Charge before classifying. Costs are exact integer caller measurements, never estimates. +note Missing cost values use all-ones and invalidate the run, never become free. +fn lcost slot ulong value ulong to ulong +if or lt slot 8 gt slot 15 +put LS 6 22 +ret 22 +end +if gt value 1000000000000 +put LS 6 23 +ret 23 +end +if eq slot 14 +if gt value get LS slot +put LS slot value +end +else +if gt get LS slot sub ulong 1000000000000 value +put LS 6 23 +ret 23 +end +put LS slot add get LS slot value +end +ret 0 +end + +note Attempt outcomes come from lobserve or explicit abstention 11, never compiler acceptance. +note Mandatory cost vector is supplied per attempt in LC; energy unknown is explicit. +global LC ulong 9 + +fn lattempt task ulong ordinal ulong outcome ulong to ulong +if ne get LS 0 1 +ret 24 +end +for k ulong 8 +r = lcost add k 8 get LC k +end +if eq get LC 8 0 +put LS 16 add get LS 16 1 +if ne get LC 7 0 +put LS 6 25 +end +else +if ne get LC 8 1 +put LS 6 25 +end +end +put LS 3 add get LS 3 1 +note At most 64 attempts across a public development run, including failed attempts. +if gt get LS 3 64 +put LS 6 31 +ret 31 +end +if eq lpins false +put LS 6 26 +end +note Invalid costs or identities can never add successful tasks. +if ne get LS 6 0 +ret get LS 6 +end +if or ge task get LS 1 gt outcome 11 +put LS 6 27 +ret 27 +end +if or ne ordinal add get LSeen task 1 gt ordinal get LS 2 +put LS 6 28 +ret 28 +end +put LSeen task ordinal +if eq outcome 0 +if eq ordinal 1 +put LS 4 add get LS 4 1 +end +if eq get LWon task 0 +put LWon task 1 +put LS 5 add get LS 5 1 +end +end +if eq outcome 11 +put LS 19 add get LS 19 1 +end +elapsed = add get LS 8 get LS 9 +elapsed = add elapsed get LS 10 +elapsed = add elapsed get LS 11 +if gt elapsed get LS 17 +put LS 6 29 +end +ret get LS 6 +end + +fn lfinish to ulong +if ne get LS 0 1 +ret 24 +end +put LS 0 0 +for i ulong get LS 1 +if eq get LSeen i 0 +if eq get LS 6 0 +put LS 6 30 +end +end +end +if ne get LS 6 0 +ret get LS 6 +end +put LS 18 1 +ret 0 +end + +note GEN-1 genjac rule reused: lowercase ASCII word-triple SET Jaccard strictly above 1/2. +note Input contains two public prompts only; never load final or sealed text here. +global LText uchar 512 +global LStart ulong 128 +global LLength ulong 128 +global LCount ulong 2 + +fn llower c uchar to uchar +if and ge c 65 le c 90 +ret add c 32 +end +ret c +end + +fn lword c uchar to bool +d = llower c +ret or and ge d 97 le d 122 and ge d 48 le d 57 +end + +fn ltokens side ulong size ulong to bool +if or gt side 1 gt size 256 +ret false +end +base = mul side 256 +slots = mul side 64 +count = ulong 0 +pos = ulong 0 +while lt pos size +if gt get LText add base pos 127 +ret false +end +if lword get LText add base pos +start = pos +scanning = true +while and lt pos size scanning +if lword get LText add base pos +pos = add pos 1 +else +scanning = false +end +end +if ge count 64 +ret false +end +put LStart add slots count add base start +put LLength add slots count sub pos start +count = add count 1 +else +pos = add pos 1 +end +end +put LCount side count +ret true +end + +fn lwordeq a ulong b ulong to bool +n = get LLength a +if ne n get LLength b +ret false +end +for k ulong n +if ne llower get LText add get LStart a k llower get LText add get LStart b k +ret false +end +end +ret true +end + +fn ltriple a ulong b ulong to bool +for k ulong 3 +if eq lwordeq add a k add b k false +ret false +end +end +ret true +end + +fn lunique at ulong base ulong to bool +j = base +while lt j at +if ltriple at j +ret false +end +j = add j 1 +end +ret true +end + +note 0=no near match,1=above threshold,2=insufficient words,3=unsupported input. +fn lnear an ulong bn ulong to ulong +if eq ltokens 0 an false +ret 3 +end +if eq ltokens 1 bn false +ret 3 +end +a = get LCount 0 +b = get LCount 1 +if or lt a 3 lt b 3 +ret 2 +end +ua = ulong 0 +ub = ulong 0 +overlap = ulong 0 +for i ulong sub a 2 +if lunique i 0 +ua = add ua 1 +hit = false +for j ulong sub b 2 +if ltriple i add 64 j +hit = true +end +end +if hit +overlap = add overlap 1 +end +end +end +for j ulong sub b 2 +if lunique add 64 j 64 +ub = add ub 1 +end +end +if gt mul overlap 3 add ua ub +ret 1 +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Compose with exact omega653.lock core. No fork, runner, signer or cost collector. +note LT/LPin/LC/status/exit are trusted executor inputs, not candidate claims. +fn aword p ulong v ulong to void +for i ulong 4 +put LWant add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn aobserve id ulong status ulong code ulong n ulong to ulong +tn = kload id +if eq tn 0 +ret 10 +end +if ne kvalid tn 0 +ret 10 +end +for i ulong 256 +put LWant i 0 +end +aword 0 2779096485 +for i ulong kw 13 +aword add i 1 kexpect i +end +aword add kw 13 1 2779096485 +want = mul 4 add kw 13 2 +ret lobserve status 0 code want n +end +fn afields to bool +for i ulong 8 +a = mul i 32 +id = add i 1 +n = kload id +if ne get LT a id +ret false +end +if ne get LT add a 1 2 +ret false +end +if ne get LT add a 2 1 +ret false +end +if ne get LT add a 3 kw 2 +ret false +end +if ne get LT add a 4 1 +ret false +end +if ne get LT add a 5 1 +ret false +end +if ne get LT add a 6 53 +ret false +end +if ne get LT add a 7 1 +ret false +end +if ne get LT add a 28 n +ret false +end +if ne get LT add a 29 mul 4 add kw 13 2 +ret false +end +if ne get LT add a 30 1000000 +ret false +end +if ne get LT add a 31 0 +ret false +end +end +ret true +end +fn abegin budget ulong to ulong +note Canonical active-run refusal preserves the existing run. +if eq get LS 0 1 +ret 20 +end +if eq afields false +note Invalid count invokes canonical fresh-run invalidation, including stale scores. +ret lbegin 0 1 budget +end +ret lbegin 8 1 budget +end +fn aattempt idx ulong ordinal ulong status ulong code ulong n ulong to ulong +outcome = aobserve add idx 1 status code n +ret lattempt idx ordinal 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Literal output oracle only. No kexpect/keval calls construct expected values. +fn csize id ulong to ulong +if eq id 1 +ret 136 +end +if eq id 2 +ret 160 +end +if eq id 3 +ret 232 +end +if eq id 4 +ret 116 +end +if eq id 5 +ret 128 +end +if eq id 6 +ret 164 +end +if eq id 7 +ret 144 +end +if eq id 8 +ret 156 +end +ret 0 +end +fn coutn id ulong to ulong +if eq id 1 +ret 28 +end +if eq id 2 +ret 40 +end +if eq id 3 +ret 76 +end +if and ge id 4 le id 6 +ret 12 +end +if eq id 7 +ret 36 +end +if eq id 8 +ret 32 +end +ret 0 +end +fn cvalues id ulong to void +for i ulong 258 +cw i 2779096485 +end +if eq id 1 +cw 1 0 +cw 3 11 +cw 5 15 +end +if eq id 2 +for i ulong 8 +cw add i 1 16 +end +end +if eq id 3 +for i ulong 17 +cw add i 1 2 +end +end +if eq id 4 +cw 1 4 +end +if eq id 5 +cw 1 4294967288 +end +if eq id 6 +cw 1 4294967279 +end +if eq id 7 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +if eq id 8 +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +end +end +note SPDX-License-Identifier: AGPL-3.0-only +note SYNTHETIC unit metadata, pins and costs, NEVER a real benchmark record. +fn afix to void +for i ulong 2048 +put LT i 0 +end +for i ulong 24 +put LS i 0 +end +for i ulong 8 +id = add i 1 +a = mul i 32 +n = kload id +put LT a id +put LT add a 1 2 +put LT add a 2 1 +put LT add a 3 kw 2 +put LT add a 4 1 +put LT add a 5 1 +put LT add a 6 53 +put LT add a 7 1 +for j ulong 20 +put LT add a add 8 j add add mul i 100 j 1 +end +put LT add a 28 csize id +put LT add a 29 coutn id +put LT add a 30 1000000 +end +for i ulong 4 +put LPin i add i 1 +put LPin add i 4 add i 1 +put LPin add i 8 add i 5 +put LPin add i 12 add i 5 +end +for i ulong 9 +put LC i 0 +end +put LC 0 10 +put LC 1 20 +put LC 2 30 +put LC 3 40 +put LC 4 50 +put LC 5 60 +put LC 6 4096 +end +fn agood id ulong to void +cvalues id +for i ulong 256 +put LGot i get ko i +end +end +fn aobs to void +for i ulong 8 +id = add i 1 +agood id +check eq aobserve id 0 0 coutn id 0 +put LGot sub coutn id 1 0 +check eq aobserve id 0 0 coutn id 7 +end +agood 1 +check eq aobserve 0 0 0 28 10 +check eq aobserve 9 0 0 28 10 +check eq aobserve 18446744073709551615 0 0 28 10 +check eq aobserve 1 0 0 0 9 +check eq aobserve 1 0 0 27 7 +check eq aobserve 1 0 0 257 10 +check eq aobserve 1 0 0 18446744073709551615 10 +check eq aobserve 1 0 101 0 8 +check eq aobserve 1 7 0 28 10 +for i ulong 6 +check eq aobserve 1 add i 1 0 28 add i 1 +end +note A task mutation is discarded; correct output for weakened task is wrong. +n = kload 1 +tw 28 0 +tw 21 1 +tw 22 99 +tw 14 3 +check eq aobserve 1 0 0 28 0 +check eq kw 28 9 +check eq kw 21 0 +check eq kw 22 0 +check eq kw 14 1 +cw 5 6 +for i ulong 28 +put LGot i get ko i +end +check eq aobserve 1 0 0 28 7 +note Wrong logical output, skipped write, dense stride, PASS spoof, wrong task. +for i ulong 4 +agood 1 +if eq i 0 +cw 3 12 +end +if eq i 1 +cw 5 2779096485 +end +if eq i 2 +cw 2 11 +cw 3 15 +cw 5 2779096485 +end +if eq i 3 +cw 1 1397965136 +end +for j ulong 28 +put LGot j get ko j +end +check eq aobserve 1 0 0 28 7 +end +agood 1 +check eq aobserve 2 0 0 28 7 +end +fn aall to void +afix +check eq abegin 1000 0 +check eq abegin 1000 20 +for i ulong 8 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 8 +check eq get LS 5 8 +check eq get LS 3 8 +check eq get LS 16 8 +check eq get LS 14 4096 +note A subsequent invalid begin clears old completed-valid state. +put LT 1 3 +check eq abegin 1000 1 +check eq get LS 18 0 +end +fn amissing to void +afix +check eq abegin 1000 0 +for i ulong 7 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 30 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +agood 1 +check eq aattempt 0 1 0 0 28 0 +check eq aattempt 0 1 0 0 28 28 +check eq lfinish 28 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +check eq aattempt 8 1 0 0 28 27 +check eq lfinish 27 +end +fn abad to void +afix +check eq abegin 1000 0 +for i ulong 8 +id = add i 1 +agood id +if eq id 8 +put LGot 4 0 +end +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 7 +check eq get LS 5 7 +note A valid experiment can report failure, never silently drop that task. +check eq get LS 1 8 +check eq get LS 3 8 +end +fn apins to void +for i ulong 8 +afix +check eq abegin 1000 0 +p = add i 4 +if ge i 4 +p = add i 8 +end +put LPin p 999 +agood 1 +check eq aattempt 0 1 0 0 28 26 +check eq get LS 4 0 +check eq lfinish 26 +end +afix +check eq abegin 1000 0 +put LC 0 18446744073709551615 +agood 1 +check eq aattempt 0 1 0 0 28 23 +check eq get LS 4 0 +check eq lfinish 23 +afix +check eq abegin 1 0 +agood 1 +check eq aattempt 0 1 0 0 28 29 +check eq lfinish 29 +check eq get LS 18 0 +end +fn ameta to void +for i ulong 32 +if or lt i 8 ge i 28 +afix +put LT i 999 +check eq abegin 1000 1 +check eq get LS 18 0 +end +end +afix +for i ulong 4 +put LT add i 8 0 +end +check eq abegin 1000 6 +check eq get LS 18 0 +end +fn main to int +aobs +aall +amissing +abad +apins +ameta +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.stderr b/evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.stdout b/evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.stdout new file mode 100644 index 00000000..13a8093b --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/ignore-outcome.stdout @@ -0,0 +1,160 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 +PASS 78 +PASS 79 +PASS 80 +PASS 81 +PASS 82 +PASS 83 +PASS 84 +PASS 85 +PASS 86 +PASS 87 +PASS 88 +PASS 89 +PASS 90 +FAIL 91 +FAIL 92 +PASS 93 +PASS 94 +PASS 95 +PASS 96 +PASS 97 +PASS 98 +PASS 99 +PASS 100 +PASS 101 +PASS 102 +PASS 103 +PASS 104 +PASS 105 +PASS 106 +PASS 107 +PASS 108 +PASS 109 +PASS 110 +PASS 111 +PASS 112 +PASS 113 +PASS 114 +PASS 115 +PASS 116 +PASS 117 +PASS 118 +PASS 119 +PASS 120 +PASS 121 +PASS 122 +PASS 123 +PASS 124 +PASS 125 +PASS 126 +PASS 127 +PASS 128 +PASS 129 +PASS 130 +PASS 131 +PASS 132 +PASS 133 +PASS 134 +PASS 135 +PASS 136 +PASS 137 +PASS 138 +PASS 139 +PASS 140 +PASS 141 +PASS 142 +PASS 143 +PASS 144 +PASS 145 +PASS 146 +PASS 147 +PASS 148 +PASS 149 +PASS 150 +PASS 151 +PASS 152 +PASS 153 +PASS 154 +PASS 155 +PASS 156 +PASS 157 +PASS 158 +PASS 159 +PASS 160 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/input-empty.bin b/evidence/LEARN53-L777-CONTINUATION/review/input-empty.bin new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/input-id0.bin b/evidence/LEARN53-L777-CONTINUATION/review/input-id0.bin new file mode 100644 index 00000000..f76dd238 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/review/input-id0.bin differ diff --git a/evidence/LEARN53-L777-CONTINUATION/review/input-id9.bin b/evidence/LEARN53-L777-CONTINUATION/review/input-id9.bin new file mode 100644 index 00000000..501a6bba --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/input-id9.bin @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/evidence/LEARN53-L777-CONTINUATION/review/input-max.bin b/evidence/LEARN53-L777-CONTINUATION/review/input-max.bin new file mode 100644 index 00000000..ce542efa --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/input-max.bin @@ -0,0 +1 @@ +ÿ \ No newline at end of file diff --git a/evidence/LEARN53-L777-CONTINUATION/review/input-two.bin b/evidence/LEARN53-L777-CONTINUATION/review/input-two.bin new file mode 100644 index 00000000..71bd63e6 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/input-two.bin @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/evidence/LEARN53-L777-CONTINUATION/review/omega-core-test.om b/evidence/LEARN53-L777-CONTINUATION/review/omega-core-test.om new file mode 100644 index 00000000..cb73de7d --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/omega-core-test.om @@ -0,0 +1,325 @@ +note Handwritten component acceptance tests; public task oracle belongs to L776. +global Checks ulong 1 +global Digits uchar 16 +text Good "BENCHMARK_CORE_PASS\n" +text PhraseA "Add the two input numbers and return their sum" +text PhraseB "ADD the TWO input numbers, and return their sum." +text PhraseC "Find a maximum element in a sorted collection" +text HalfA "a b c" +text HalfB "a b c d" +text Repeat "a a a a a a" + +fn check actual ulong expected ulong to void +put Checks 0 add get Checks 0 1 +if ne actual expected +exit int add get Checks 0 40 +end +end + +fn fixture to void +for i ulong 2048 +put LT i 0 +end +for i ulong 4 +a = mul i 32 +put LT a add i 1 +put LT add a 1 add div i 2 1 +put LT add a 2 1 +put LT add a 3 add i 1 +put LT add a 4 1 +put LT add a 5 1 +put LT add a 6 776 +put LT add a 7 add i 1 +for j ulong 20 +put LT add a add j 8 add add mul i 100 j 1 +end +put LT add a 28 16 +put LT add a 29 16 +put LT add a 30 1000 +end +for i ulong 4 +put LPin i add i 1 +put LPin add i 4 add i 1 +put LPin add i 8 add i 5 +put LPin add i 12 add i 5 +end +for i ulong 9 +put LC i 0 +end +put LC 0 10 +put LC 1 20 +put LC 2 30 +put LC 3 40 +put LC 4 50 +put LC 5 60 +put LC 6 4096 +for i ulong 24 +put LS i 0 +end +end + +fn manifesttests to void +fixture +check lmanifest 4 0 +check lmanifest 0 1 +check lmanifest 65 1 +put LT 0 0 +check lmanifest 4 2 +fixture +put LT 5 2 +check lmanifest 4 3 +fixture +put LT 4 0 +check lmanifest 4 3 +fixture +put LT 6 0 +check lmanifest 4 4 +fixture +put LT 1 4 +check lmanifest 4 5 +fixture +put LT 1 3 +check lmanifest 4 5 +fixture +put LT 2 2 +check lmanifest 4 5 +fixture +for j ulong 4 +put LT add 8 j 0 +end +check lmanifest 4 6 +fixture +put LT 29 257 +check lmanifest 4 7 +fixture +put LT 32 1 +check lmanifest 4 8 +fixture +for j ulong 4 +put LT add 40 j get LT add 8 j +end +check lmanifest 4 9 +fixture +for j ulong 4 +put LT add 44 j get LT add 12 j +end +check lmanifest 4 10 +fixture +put LT 71 1 +check lmanifest 4 11 +fixture +for j ulong 4 +put LT add 80 j get LT add 16 j +end +check lmanifest 4 12 +fixture +for j ulong 4 +put LT add 84 j get LT add 20 j +end +check lmanifest 4 13 +fixture +for j ulong 4 +put LT add 88 j get LT add 24 j +end +check lmanifest 4 14 +fixture +put LT 67 1 +check lmanifest 4 15 +fixture +put LT 31 1 +check lmanifest 4 7 +fixture +put LT 28 0 +check lmanifest 4 7 +fixture +put LT 30 1000001 +check lmanifest 4 7 +end + +fn observationtests to void +for i ulong 256 +put LWant i uchar and i 255 +put LGot i uchar and i 255 +end +check lobserve 0 0 0 8 8 0 +put LGot 7 99 +check lobserve 0 0 0 8 8 7 +check lobserve 0 0 0 8 0 9 +check lobserve 0 0 0 8 7 7 +check lobserve 0 0 0 0 0 10 +check lobserve 0 102 102 0 0 0 +check lobserve 0 102 103 0 0 8 +check lobserve 0 102 102 0 1 8 +check lobserve 0 9 9 0 0 10 +check lobserve 0 0 102 8 0 8 +check lobserve 0 0 0 257 257 10 +for i ulong 6 +check lobserve add i 1 0 0 8 8 add i 1 +end +check lobserve 7 0 0 8 8 10 +end + +fn accountingtests to void +fixture +check lbegin 4 2 1000 0 +check lbegin 4 2 1000 20 +check lattempt 0 1 7 0 +check lattempt 0 2 0 0 +check lattempt 1 1 0 0 +check lattempt 2 1 4 0 +check lattempt 3 1 11 0 +check lfinish 0 +check get LS 3 5 +check get LS 4 1 +check get LS 5 2 +check get LS 8 50 +check get LS 9 100 +check get LS 10 150 +check get LS 11 200 +check get LS 12 250 +check get LS 13 300 +check get LS 14 4096 +check get LS 16 5 +check get LS 19 1 +check lattempt 0 3 0 24 +check lfinish 24 +fixture +check lbegin 4 2 1000 0 +check lattempt 0 1 0 0 +check lfinish 30 +check get LS 18 0 +fixture +check lbegin 4 2 1000 0 +check lattempt 0 2 0 28 +check get LS 8 10 +check lfinish 28 +fixture +check lbegin 4 1 1000 0 +check lattempt 0 1 7 0 +check lattempt 0 2 0 28 +check get LS 5 0 +fixture +check lbegin 4 2 99 0 +check lattempt 0 1 0 29 +check get LS 18 0 +fixture +check lbegin 4 2 1000 0 +put LPin 7 999 +check lattempt 0 1 0 26 +check get LS 8 10 +check get LS 5 0 +fixture +check lbegin 4 2 1000 0 +put LPin 15 999 +check lattempt 0 1 0 26 +fixture +check lbegin 4 2 1000 0 +put LC 0 18446744073709551615 +check lattempt 0 1 0 23 +fixture +check lbegin 4 2 1000 0 +put LC 7 1 +check lattempt 0 1 0 25 +fixture +check lbegin 4 2 1000 0 +put LC 7 13 +put LC 8 1 +check lattempt 0 1 0 0 +check get LS 15 13 +check get LS 16 0 +fixture +check lbegin 4 2 1000 0 +check lattempt 64 1 0 27 +check get LS 8 10 +fixture +check lbegin 4 0 1000 21 +fixture +check lbegin 4 65 1000 21 +fixture +check lbegin 4 2 0 21 +fixture +check lbegin 4 2 1000 0 +put LC 8 2 +check lattempt 0 1 0 25 +fixture +check lbegin 4 2 1000 0 +put LS 8 1000000000000 +check lattempt 0 1 0 23 +check get LS 18 0 +fixture +check lbegin 1 64 100000 0 +for i ulong 64 +check lattempt 0 add i 1 7 0 +end +check lattempt 0 65 0 31 +check get LS 3 65 +check get LS 8 650 +check get LS 5 0 +check lfinish 31 +fixture +check lbegin 1 1 1000 0 +put LC 6 8192 +check lattempt 0 1 0 0 +check get LS 14 8192 +check lfinish 0 +end + +fn neartests to void +for i ulong len PhraseA +put LText i get PhraseA i +end +for i ulong len PhraseB +put LText add 256 i get PhraseB i +end +check lnear len PhraseA len PhraseB 1 +for i ulong len PhraseC +put LText add 256 i get PhraseC i +end +check lnear len PhraseA len PhraseC 0 +check lnear 0 0 2 +check lnear 257 1 3 +put LText 0 255 +check lnear len PhraseA len PhraseC 3 +for i ulong len HalfA +put LText i get HalfA i +end +for i ulong len HalfB +put LText add 256 i get HalfB i +end +check lnear len HalfA len HalfB 0 +for i ulong len Repeat +put LText i get Repeat i +put LText add 256 i get Repeat i +end +check lnear len Repeat len Repeat 1 +for i ulong 128 +put LText mul i 2 97 +put LText add mul i 2 1 32 +end +check lnear 256 5 3 +end + +fn countout to void +n = get Checks 0 +put Digits 0 uchar add div n 100 48 +put Digits 1 uchar add rem div n 10 10 48 +put Digits 2 uchar add rem n 10 48 +put Digits 3 10 +w = write 1 Digits 0 4 +if ne w 4 +exit 36 +end +end + +fn main to int +manifesttests +observationtests +accountingtests +neartests +w = write 1 Good 0 len Good +if ne w long len Good +ret 35 +end +countout +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/review/omega-core.om b/evidence/LEARN53-L777-CONTINUATION/review/omega-core.om new file mode 100644 index 00000000..b8d92188 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/omega-core.om @@ -0,0 +1,448 @@ +note LEARN653 v1 consumer checks. No compiler, judge, signer or process supervisor. +note Task slots are 32 ulongs; see docs/learning/benchmark-v1.md. +global LT ulong 2048 +global LS ulong 24 +global LSeen ulong 64 +global LWon ulong 64 +global LPin ulong 16 +global LWant uchar 256 +global LGot uchar 256 + +fn lequal a ulong b ulong n ulong to bool +for k ulong n +if ne get LT add a k get LT add b k +ret false +end +end +ret true +end + +fn lnonzero a ulong to bool +x = ulong 0 +for k ulong 4 +x = or x get LT add a k +end +ret ne x 0 +end + +fn lrecord a ulong to ulong +split = get LT add a 1 +if or eq get LT a 0 or lt split 1 gt split 4 +ret 2 +end +if or ne get LT add a 5 1 ne get LT add a 4 1 +ret 3 +end +if eq get LT add a 3 0 +ret 4 +end +if eq get LT add a 6 0 +ret 4 +end +if eq get LT add a 7 0 +ret 4 +end +note Only public train/dev records are admissible to this builder-side API. +note Adaptive/final custody stays with the existing independent owner. +if or gt split 2 ne get LT add a 2 1 +ret 5 +end +for h ulong 5 +if eq lnonzero add a add 8 mul h 4 false +ret 6 +end +end +if or eq get LT add a 28 0 gt get LT add a 28 256 +ret 7 +end +if or eq get LT add a 29 0 gt get LT add a 29 256 +ret 7 +end +if or eq get LT add a 30 0 gt get LT add a 30 1000000 +ret 7 +end +if ne get LT add a 31 0 +ret 7 +end +ret 0 +end + +fn lpair a ulong b ulong to ulong +if eq get LT a get LT b +ret 8 +end +if lequal add a 8 add b 8 4 +ret 9 +end +if lequal add a 12 add b 12 4 +ret 10 +end +if ne get LT add a 1 get LT add b 1 +if eq get LT add a 3 get LT add b 3 +ret 15 +end +if eq get LT add a 7 get LT add b 7 +ret 11 +end +if lequal add a 16 add b 16 4 +ret 12 +end +if lequal add a 20 add b 20 4 +ret 13 +end +if lequal add a 24 add b 24 4 +ret 14 +end +end +ret 0 +end + +fn lmanifest n ulong to ulong +if or eq n 0 gt n 64 +ret 1 +end +for i ulong n +a = mul i 32 +code = lrecord a +if ne code 0 +ret code +end +for j ulong i +b = mul j 32 +code = lpair a b +if ne code 0 +ret code +end +end +end +ret 0 +end + +note Caller supplies independent expected bytes and actual executor observations. +note Status 0=completed, 1=syntax,2=type,3=unsupported,4=timeout,5=resource,6=operational. +note Result 0=correct,1..6 as above,7=wrong value,8=trap mismatch,9=empty output,10=malformed. +fn lobserve status ulong wantcode ulong gotcode ulong wantn ulong gotn ulong to ulong +if gt status 6 +ret 10 +end +if ne status 0 +ret status +end +if or gt wantn 256 gt gotn 256 +ret 10 +end +if ne wantcode gotcode +ret 8 +end +if ne wantcode 0 +note Only declared runtime traps 101..107; arbitrary exit failures never pass. +if or lt wantcode 101 or gt wantcode 107 ne wantn 0 +ret 10 +end +if ne gotn 0 +ret 8 +end +ret 0 +end +if eq wantn 0 +ret 10 +end +if eq gotn 0 +ret 9 +end +if ne wantn gotn +ret 7 +end +for i ulong wantn +if ne get LWant i get LGot i +ret 7 +end +end +ret 0 +end + +note Full 256-bit compiler and executable identities, expected then observed. +note LPin[0..3] expected compiler, [4..7] observed, [8..11] expected ELF, [12..15] observed. +fn lpins to bool +ca = ulong 0 +ba = ulong 0 +for i ulong 4 +ca = or ca get LPin i +ba = or ba get LPin add i 8 +if ne get LPin i get LPin add i 4 +ret false +end +if ne get LPin add i 8 get LPin add i 12 +ret false +end +end +ret and ne ca 0 ne ba 0 +end + +note Each begin is one explicit fresh development run; no durable resume API exists. +note LS: active,tasks,maxattempts,attempts,pass1,passbudget,invalid,closed, +note generation_us,compile_us,judge_us,other_us,input_tokens,output_tokens,peak_bytes, +note energy_uj,energy_unknown,budget_us,completed,abstained,reserved... +fn lbegin n ulong maxtries ulong budget ulong to ulong +if eq get LS 0 1 +ret 20 +end +for i ulong 24 +put LS i 0 +end +for i ulong 64 +put LSeen i 0 +put LWon i 0 +end +code = lmanifest n +if ne code 0 +put LS 6 code +ret code +end +if or eq maxtries 0 or gt maxtries 64 or eq budget 0 gt budget 1000000000000 +put LS 6 21 +ret 21 +end +put LS 0 1 +put LS 1 n +put LS 2 maxtries +put LS 17 budget +ret 0 +end + +note Charge before classifying. Costs are exact integer caller measurements, never estimates. +note Missing cost values use all-ones and invalidate the run, never become free. +fn lcost slot ulong value ulong to ulong +if or lt slot 8 gt slot 15 +put LS 6 22 +ret 22 +end +if gt value 1000000000000 +put LS 6 23 +ret 23 +end +if eq slot 14 +if gt value get LS slot +put LS slot value +end +else +if gt get LS slot sub ulong 1000000000000 value +put LS 6 23 +ret 23 +end +put LS slot add get LS slot value +end +ret 0 +end + +note Attempt outcomes come from lobserve or explicit abstention 11, never compiler acceptance. +note Mandatory cost vector is supplied per attempt in LC; energy unknown is explicit. +global LC ulong 9 + +fn lattempt task ulong ordinal ulong outcome ulong to ulong +if ne get LS 0 1 +ret 24 +end +for k ulong 8 +r = lcost add k 8 get LC k +end +if eq get LC 8 0 +put LS 16 add get LS 16 1 +if ne get LC 7 0 +put LS 6 25 +end +else +if ne get LC 8 1 +put LS 6 25 +end +end +put LS 3 add get LS 3 1 +note At most 64 attempts across a public development run, including failed attempts. +if gt get LS 3 64 +put LS 6 31 +ret 31 +end +if eq lpins false +put LS 6 26 +end +note Invalid costs or identities can never add successful tasks. +if ne get LS 6 0 +ret get LS 6 +end +if or ge task get LS 1 gt outcome 11 +put LS 6 27 +ret 27 +end +if or ne ordinal add get LSeen task 1 gt ordinal get LS 2 +put LS 6 28 +ret 28 +end +put LSeen task ordinal +if eq outcome 0 +if eq ordinal 1 +put LS 4 add get LS 4 1 +end +if eq get LWon task 0 +put LWon task 1 +put LS 5 add get LS 5 1 +end +end +if eq outcome 11 +put LS 19 add get LS 19 1 +end +elapsed = add get LS 8 get LS 9 +elapsed = add elapsed get LS 10 +elapsed = add elapsed get LS 11 +if gt elapsed get LS 17 +put LS 6 29 +end +ret get LS 6 +end + +fn lfinish to ulong +if ne get LS 0 1 +ret 24 +end +put LS 0 0 +for i ulong get LS 1 +if eq get LSeen i 0 +if eq get LS 6 0 +put LS 6 30 +end +end +end +if ne get LS 6 0 +ret get LS 6 +end +put LS 18 1 +ret 0 +end + +note GEN-1 genjac rule reused: lowercase ASCII word-triple SET Jaccard strictly above 1/2. +note Input contains two public prompts only; never load final or sealed text here. +global LText uchar 512 +global LStart ulong 128 +global LLength ulong 128 +global LCount ulong 2 + +fn llower c uchar to uchar +if and ge c 65 le c 90 +ret add c 32 +end +ret c +end + +fn lword c uchar to bool +d = llower c +ret or and ge d 97 le d 122 and ge d 48 le d 57 +end + +fn ltokens side ulong size ulong to bool +if or gt side 1 gt size 256 +ret false +end +base = mul side 256 +slots = mul side 64 +count = ulong 0 +pos = ulong 0 +while lt pos size +if gt get LText add base pos 127 +ret false +end +if lword get LText add base pos +start = pos +scanning = true +while and lt pos size scanning +if lword get LText add base pos +pos = add pos 1 +else +scanning = false +end +end +if ge count 64 +ret false +end +put LStart add slots count add base start +put LLength add slots count sub pos start +count = add count 1 +else +pos = add pos 1 +end +end +put LCount side count +ret true +end + +fn lwordeq a ulong b ulong to bool +n = get LLength a +if ne n get LLength b +ret false +end +for k ulong n +if ne llower get LText add get LStart a k llower get LText add get LStart b k +ret false +end +end +ret true +end + +fn ltriple a ulong b ulong to bool +for k ulong 3 +if eq lwordeq add a k add b k false +ret false +end +end +ret true +end + +fn lunique at ulong base ulong to bool +j = base +while lt j at +if ltriple at j +ret false +end +j = add j 1 +end +ret true +end + +note 0=no near match,1=above threshold,2=insufficient words,3=unsupported input. +fn lnear an ulong bn ulong to ulong +if eq ltokens 0 an false +ret 3 +end +if eq ltokens 1 bn false +ret 3 +end +a = get LCount 0 +b = get LCount 1 +if or lt a 3 lt b 3 +ret 2 +end +ua = ulong 0 +ub = ulong 0 +overlap = ulong 0 +for i ulong sub a 2 +if lunique i 0 +ua = add ua 1 +hit = false +for j ulong sub b 2 +if ltriple i add 64 j +hit = true +end +end +if hit +overlap = add overlap 1 +end +end +end +for j ulong sub b 2 +if lunique add 64 j 64 +ub = add ub 1 +end +end +if gt mul overlap 3 add ua ub +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/review/omega-review.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/review/omega-review.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/omega-review.elf-header b/evidence/LEARN53-L777-CONTINUATION/review/omega-review.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/omega-review.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/omega-review.elf.sha256 b/evidence/LEARN53-L777-CONTINUATION/review/omega-review.elf.sha256 new file mode 100644 index 00000000..bea184a4 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/omega-review.elf.sha256 @@ -0,0 +1 @@ +11fcf90d6e98543aab604b35fb3f72383af003c12515d050de7dad20d6527069 /home/drakestapleton/handoffs/cuda-learn-L777-review-continuation/omega-review.elf diff --git a/evidence/LEARN53-L777-CONTINUATION/review/omega-review.exit b/evidence/LEARN53-L777-CONTINUATION/review/omega-review.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/omega-review.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/omega-review.om b/evidence/LEARN53-L777-CONTINUATION/review/omega-review.om new file mode 100644 index 00000000..d51f098d --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/omega-review.om @@ -0,0 +1,1401 @@ +note LEARN653 v1 consumer checks. No compiler, judge, signer or process supervisor. +note Task slots are 32 ulongs; see docs/learning/benchmark-v1.md. +global LT ulong 2048 +global LS ulong 24 +global LSeen ulong 64 +global LWon ulong 64 +global LPin ulong 16 +global LWant uchar 256 +global LGot uchar 256 + +fn lequal a ulong b ulong n ulong to bool +for k ulong n +if ne get LT add a k get LT add b k +ret false +end +end +ret true +end + +fn lnonzero a ulong to bool +x = ulong 0 +for k ulong 4 +x = or x get LT add a k +end +ret ne x 0 +end + +fn lrecord a ulong to ulong +split = get LT add a 1 +if or eq get LT a 0 or lt split 1 gt split 4 +ret 2 +end +if or ne get LT add a 5 1 ne get LT add a 4 1 +ret 3 +end +if eq get LT add a 3 0 +ret 4 +end +if eq get LT add a 6 0 +ret 4 +end +if eq get LT add a 7 0 +ret 4 +end +note Only public train/dev records are admissible to this builder-side API. +note Adaptive/final custody stays with the existing independent owner. +if or gt split 2 ne get LT add a 2 1 +ret 5 +end +for h ulong 5 +if eq lnonzero add a add 8 mul h 4 false +ret 6 +end +end +if or eq get LT add a 28 0 gt get LT add a 28 256 +ret 7 +end +if or eq get LT add a 29 0 gt get LT add a 29 256 +ret 7 +end +if or eq get LT add a 30 0 gt get LT add a 30 1000000 +ret 7 +end +if ne get LT add a 31 0 +ret 7 +end +ret 0 +end + +fn lpair a ulong b ulong to ulong +if eq get LT a get LT b +ret 8 +end +if lequal add a 8 add b 8 4 +ret 9 +end +if lequal add a 12 add b 12 4 +ret 10 +end +if ne get LT add a 1 get LT add b 1 +if eq get LT add a 3 get LT add b 3 +ret 15 +end +if eq get LT add a 7 get LT add b 7 +ret 11 +end +if lequal add a 16 add b 16 4 +ret 12 +end +if lequal add a 20 add b 20 4 +ret 13 +end +if lequal add a 24 add b 24 4 +ret 14 +end +end +ret 0 +end + +fn lmanifest n ulong to ulong +if or eq n 0 gt n 64 +ret 1 +end +for i ulong n +a = mul i 32 +code = lrecord a +if ne code 0 +ret code +end +for j ulong i +b = mul j 32 +code = lpair a b +if ne code 0 +ret code +end +end +end +ret 0 +end + +note Caller supplies independent expected bytes and actual executor observations. +note Status 0=completed, 1=syntax,2=type,3=unsupported,4=timeout,5=resource,6=operational. +note Result 0=correct,1..6 as above,7=wrong value,8=trap mismatch,9=empty output,10=malformed. +fn lobserve status ulong wantcode ulong gotcode ulong wantn ulong gotn ulong to ulong +if gt status 6 +ret 10 +end +if ne status 0 +ret status +end +if or gt wantn 256 gt gotn 256 +ret 10 +end +if ne wantcode gotcode +ret 8 +end +if ne wantcode 0 +note Only declared runtime traps 101..107; arbitrary exit failures never pass. +if or lt wantcode 101 or gt wantcode 107 ne wantn 0 +ret 10 +end +if ne gotn 0 +ret 8 +end +ret 0 +end +if eq wantn 0 +ret 10 +end +if eq gotn 0 +ret 9 +end +if ne wantn gotn +ret 7 +end +for i ulong wantn +if ne get LWant i get LGot i +ret 7 +end +end +ret 0 +end + +note Full 256-bit compiler and executable identities, expected then observed. +note LPin[0..3] expected compiler, [4..7] observed, [8..11] expected ELF, [12..15] observed. +fn lpins to bool +ca = ulong 0 +ba = ulong 0 +for i ulong 4 +ca = or ca get LPin i +ba = or ba get LPin add i 8 +if ne get LPin i get LPin add i 4 +ret false +end +if ne get LPin add i 8 get LPin add i 12 +ret false +end +end +ret and ne ca 0 ne ba 0 +end + +note Each begin is one explicit fresh development run; no durable resume API exists. +note LS: active,tasks,maxattempts,attempts,pass1,passbudget,invalid,closed, +note generation_us,compile_us,judge_us,other_us,input_tokens,output_tokens,peak_bytes, +note energy_uj,energy_unknown,budget_us,completed,abstained,reserved... +fn lbegin n ulong maxtries ulong budget ulong to ulong +if eq get LS 0 1 +ret 20 +end +for i ulong 24 +put LS i 0 +end +for i ulong 64 +put LSeen i 0 +put LWon i 0 +end +code = lmanifest n +if ne code 0 +put LS 6 code +ret code +end +if or eq maxtries 0 or gt maxtries 64 or eq budget 0 gt budget 1000000000000 +put LS 6 21 +ret 21 +end +put LS 0 1 +put LS 1 n +put LS 2 maxtries +put LS 17 budget +ret 0 +end + +note Charge before classifying. Costs are exact integer caller measurements, never estimates. +note Missing cost values use all-ones and invalidate the run, never become free. +fn lcost slot ulong value ulong to ulong +if or lt slot 8 gt slot 15 +put LS 6 22 +ret 22 +end +if gt value 1000000000000 +put LS 6 23 +ret 23 +end +if eq slot 14 +if gt value get LS slot +put LS slot value +end +else +if gt get LS slot sub ulong 1000000000000 value +put LS 6 23 +ret 23 +end +put LS slot add get LS slot value +end +ret 0 +end + +note Attempt outcomes come from lobserve or explicit abstention 11, never compiler acceptance. +note Mandatory cost vector is supplied per attempt in LC; energy unknown is explicit. +global LC ulong 9 + +fn lattempt task ulong ordinal ulong outcome ulong to ulong +if ne get LS 0 1 +ret 24 +end +for k ulong 8 +r = lcost add k 8 get LC k +end +if eq get LC 8 0 +put LS 16 add get LS 16 1 +if ne get LC 7 0 +put LS 6 25 +end +else +if ne get LC 8 1 +put LS 6 25 +end +end +put LS 3 add get LS 3 1 +note At most 64 attempts across a public development run, including failed attempts. +if gt get LS 3 64 +put LS 6 31 +ret 31 +end +if eq lpins false +put LS 6 26 +end +note Invalid costs or identities can never add successful tasks. +if ne get LS 6 0 +ret get LS 6 +end +if or ge task get LS 1 gt outcome 11 +put LS 6 27 +ret 27 +end +if or ne ordinal add get LSeen task 1 gt ordinal get LS 2 +put LS 6 28 +ret 28 +end +put LSeen task ordinal +if eq outcome 0 +if eq ordinal 1 +put LS 4 add get LS 4 1 +end +if eq get LWon task 0 +put LWon task 1 +put LS 5 add get LS 5 1 +end +end +if eq outcome 11 +put LS 19 add get LS 19 1 +end +elapsed = add get LS 8 get LS 9 +elapsed = add elapsed get LS 10 +elapsed = add elapsed get LS 11 +if gt elapsed get LS 17 +put LS 6 29 +end +ret get LS 6 +end + +fn lfinish to ulong +if ne get LS 0 1 +ret 24 +end +put LS 0 0 +for i ulong get LS 1 +if eq get LSeen i 0 +if eq get LS 6 0 +put LS 6 30 +end +end +end +if ne get LS 6 0 +ret get LS 6 +end +put LS 18 1 +ret 0 +end + +note GEN-1 genjac rule reused: lowercase ASCII word-triple SET Jaccard strictly above 1/2. +note Input contains two public prompts only; never load final or sealed text here. +global LText uchar 512 +global LStart ulong 128 +global LLength ulong 128 +global LCount ulong 2 + +fn llower c uchar to uchar +if and ge c 65 le c 90 +ret add c 32 +end +ret c +end + +fn lword c uchar to bool +d = llower c +ret or and ge d 97 le d 122 and ge d 48 le d 57 +end + +fn ltokens side ulong size ulong to bool +if or gt side 1 gt size 256 +ret false +end +base = mul side 256 +slots = mul side 64 +count = ulong 0 +pos = ulong 0 +while lt pos size +if gt get LText add base pos 127 +ret false +end +if lword get LText add base pos +start = pos +scanning = true +while and lt pos size scanning +if lword get LText add base pos +pos = add pos 1 +else +scanning = false +end +end +if ge count 64 +ret false +end +put LStart add slots count add base start +put LLength add slots count sub pos start +count = add count 1 +else +pos = add pos 1 +end +end +put LCount side count +ret true +end + +fn lwordeq a ulong b ulong to bool +n = get LLength a +if ne n get LLength b +ret false +end +for k ulong n +if ne llower get LText add get LStart a k llower get LText add get LStart b k +ret false +end +end +ret true +end + +fn ltriple a ulong b ulong to bool +for k ulong 3 +if eq lwordeq add a k add b k false +ret false +end +end +ret true +end + +fn lunique at ulong base ulong to bool +j = base +while lt j at +if ltriple at j +ret false +end +j = add j 1 +end +ret true +end + +note 0=no near match,1=above threshold,2=insufficient words,3=unsupported input. +fn lnear an ulong bn ulong to ulong +if eq ltokens 0 an false +ret 3 +end +if eq ltokens 1 bn false +ret 3 +end +a = get LCount 0 +b = get LCount 1 +if or lt a 3 lt b 3 +ret 2 +end +ua = ulong 0 +ub = ulong 0 +overlap = ulong 0 +for i ulong sub a 2 +if lunique i 0 +ua = add ua 1 +hit = false +for j ulong sub b 2 +if ltriple i add 64 j +hit = true +end +end +if hit +overlap = add overlap 1 +end +end +end +for j ulong sub b 2 +if lunique add 64 j 64 +ub = add ub 1 +end +end +if gt mul overlap 3 add ua ub +ret 1 +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Compose with exact omega653.lock core. No fork, runner, signer or cost collector. +note LT/LPin/LC/status/exit are trusted executor inputs, not candidate claims. +fn aword p ulong v ulong to void +for i ulong 4 +put LWant add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn aobserve id ulong status ulong code ulong n ulong to ulong +tn = kload id +if eq tn 0 +ret 10 +end +if ne kvalid tn 0 +ret 10 +end +for i ulong 256 +put LWant i 0 +end +aword 0 2779096485 +for i ulong kw 13 +aword add i 1 kexpect i +end +aword add kw 13 1 2779096485 +want = mul 4 add kw 13 2 +ret lobserve status 0 code want n +end +fn afields to bool +for i ulong 8 +a = mul i 32 +id = add i 1 +n = kload id +if ne get LT a id +ret false +end +if ne get LT add a 1 2 +ret false +end +if ne get LT add a 2 1 +ret false +end +if ne get LT add a 3 kw 2 +ret false +end +if ne get LT add a 4 1 +ret false +end +if ne get LT add a 5 1 +ret false +end +if ne get LT add a 6 53 +ret false +end +if ne get LT add a 7 1 +ret false +end +if ne get LT add a 28 n +ret false +end +if ne get LT add a 29 mul 4 add kw 13 2 +ret false +end +if ne get LT add a 30 1000000 +ret false +end +if ne get LT add a 31 0 +ret false +end +end +ret true +end +fn abegin budget ulong to ulong +note Canonical active-run refusal preserves the existing run. +if eq get LS 0 1 +ret 20 +end +if eq afields false +note Invalid count invokes canonical fresh-run invalidation, including stale scores. +ret lbegin 0 1 budget +end +ret lbegin 8 1 budget +end +fn aattempt idx ulong ordinal ulong status ulong code ulong n ulong to ulong +outcome = aobserve add idx 1 status code n +ret lattempt idx ordinal outcome +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Literal output oracle only. No kexpect/keval calls construct expected values. +fn csize id ulong to ulong +if eq id 1 +ret 136 +end +if eq id 2 +ret 160 +end +if eq id 3 +ret 232 +end +if eq id 4 +ret 116 +end +if eq id 5 +ret 128 +end +if eq id 6 +ret 164 +end +if eq id 7 +ret 144 +end +if eq id 8 +ret 156 +end +ret 0 +end +fn coutn id ulong to ulong +if eq id 1 +ret 28 +end +if eq id 2 +ret 40 +end +if eq id 3 +ret 76 +end +if and ge id 4 le id 6 +ret 12 +end +if eq id 7 +ret 36 +end +if eq id 8 +ret 32 +end +ret 0 +end +fn cvalues id ulong to void +for i ulong 258 +cw i 2779096485 +end +if eq id 1 +cw 1 0 +cw 3 11 +cw 5 15 +end +if eq id 2 +for i ulong 8 +cw add i 1 16 +end +end +if eq id 3 +for i ulong 17 +cw add i 1 2 +end +end +if eq id 4 +cw 1 4 +end +if eq id 5 +cw 1 4294967288 +end +if eq id 6 +cw 1 4294967279 +end +if eq id 7 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +if eq id 8 +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +end +end +note SPDX-License-Identifier: AGPL-3.0-only +note SYNTHETIC unit metadata, pins and costs, NEVER a real benchmark record. +fn afix to void +for i ulong 2048 +put LT i 0 +end +for i ulong 24 +put LS i 0 +end +for i ulong 8 +id = add i 1 +a = mul i 32 +n = kload id +put LT a id +put LT add a 1 2 +put LT add a 2 1 +put LT add a 3 kw 2 +put LT add a 4 1 +put LT add a 5 1 +put LT add a 6 53 +put LT add a 7 1 +for j ulong 20 +put LT add a add 8 j add add mul i 100 j 1 +end +put LT add a 28 csize id +put LT add a 29 coutn id +put LT add a 30 1000000 +end +for i ulong 4 +put LPin i add i 1 +put LPin add i 4 add i 1 +put LPin add i 8 add i 5 +put LPin add i 12 add i 5 +end +for i ulong 9 +put LC i 0 +end +put LC 0 10 +put LC 1 20 +put LC 2 30 +put LC 3 40 +put LC 4 50 +put LC 5 60 +put LC 6 4096 +end +fn agood id ulong to void +cvalues id +for i ulong 256 +put LGot i get ko i +end +end +fn aobs to void +for i ulong 8 +id = add i 1 +agood id +check eq aobserve id 0 0 coutn id 0 +put LGot sub coutn id 1 0 +check eq aobserve id 0 0 coutn id 7 +end +agood 1 +check eq aobserve 0 0 0 28 10 +check eq aobserve 9 0 0 28 10 +check eq aobserve 18446744073709551615 0 0 28 10 +check eq aobserve 1 0 0 0 9 +check eq aobserve 1 0 0 27 7 +check eq aobserve 1 0 0 257 10 +check eq aobserve 1 0 0 18446744073709551615 10 +check eq aobserve 1 0 101 0 8 +check eq aobserve 1 7 0 28 10 +for i ulong 6 +check eq aobserve 1 add i 1 0 28 add i 1 +end +note A task mutation is discarded; correct output for weakened task is wrong. +n = kload 1 +tw 28 0 +tw 21 1 +tw 22 99 +tw 14 3 +check eq aobserve 1 0 0 28 0 +check eq kw 28 9 +check eq kw 21 0 +check eq kw 22 0 +check eq kw 14 1 +cw 5 6 +for i ulong 28 +put LGot i get ko i +end +check eq aobserve 1 0 0 28 7 +note Wrong logical output, skipped write, dense stride, PASS spoof, wrong task. +for i ulong 4 +agood 1 +if eq i 0 +cw 3 12 +end +if eq i 1 +cw 5 2779096485 +end +if eq i 2 +cw 2 11 +cw 3 15 +cw 5 2779096485 +end +if eq i 3 +cw 1 1397965136 +end +for j ulong 28 +put LGot j get ko j +end +check eq aobserve 1 0 0 28 7 +end +agood 1 +check eq aobserve 2 0 0 28 7 +end +fn aall to void +afix +check eq abegin 1000 0 +check eq abegin 1000 20 +for i ulong 8 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 8 +check eq get LS 5 8 +check eq get LS 3 8 +check eq get LS 16 8 +check eq get LS 14 4096 +note A subsequent invalid begin clears old completed-valid state. +put LT 1 3 +check eq abegin 1000 1 +check eq get LS 18 0 +end +fn amissing to void +afix +check eq abegin 1000 0 +for i ulong 7 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 30 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +agood 1 +check eq aattempt 0 1 0 0 28 0 +check eq aattempt 0 1 0 0 28 28 +check eq lfinish 28 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +check eq aattempt 8 1 0 0 28 27 +check eq lfinish 27 +end +fn abad to void +afix +check eq abegin 1000 0 +for i ulong 8 +id = add i 1 +agood id +if eq id 8 +put LGot 4 0 +end +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 7 +check eq get LS 5 7 +note A valid experiment can report failure, never silently drop that task. +check eq get LS 1 8 +check eq get LS 3 8 +end +fn apins to void +for i ulong 8 +afix +check eq abegin 1000 0 +p = add i 4 +if ge i 4 +p = add i 8 +end +put LPin p 999 +agood 1 +check eq aattempt 0 1 0 0 28 26 +check eq get LS 4 0 +check eq lfinish 26 +end +afix +check eq abegin 1000 0 +put LC 0 18446744073709551615 +agood 1 +check eq aattempt 0 1 0 0 28 23 +check eq get LS 4 0 +check eq lfinish 23 +afix +check eq abegin 1 0 +agood 1 +check eq aattempt 0 1 0 0 28 29 +check eq lfinish 29 +check eq get LS 18 0 +end +fn ameta to void +for i ulong 32 +if or lt i 8 ge i 28 +afix +put LT i 999 +check eq abegin 1000 1 +check eq get LS 18 0 +end +end +afix +for i ulong 4 +put LT add i 8 0 +end +check eq abegin 1000 6 +check eq get LS 18 0 +end +fn main to int +aobs +aall +amissing +abad +apins +ameta +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/review/omega-review.stderr b/evidence/LEARN53-L777-CONTINUATION/review/omega-review.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/omega-review.stdout b/evidence/LEARN53-L777-CONTINUATION/review/omega-review.stdout new file mode 100644 index 00000000..e508e223 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/omega-review.stdout @@ -0,0 +1,160 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 +PASS 78 +PASS 79 +PASS 80 +PASS 81 +PASS 82 +PASS 83 +PASS 84 +PASS 85 +PASS 86 +PASS 87 +PASS 88 +PASS 89 +PASS 90 +PASS 91 +PASS 92 +PASS 93 +PASS 94 +PASS 95 +PASS 96 +PASS 97 +PASS 98 +PASS 99 +PASS 100 +PASS 101 +PASS 102 +PASS 103 +PASS 104 +PASS 105 +PASS 106 +PASS 107 +PASS 108 +PASS 109 +PASS 110 +PASS 111 +PASS 112 +PASS 113 +PASS 114 +PASS 115 +PASS 116 +PASS 117 +PASS 118 +PASS 119 +PASS 120 +PASS 121 +PASS 122 +PASS 123 +PASS 124 +PASS 125 +PASS 126 +PASS 127 +PASS 128 +PASS 129 +PASS 130 +PASS 131 +PASS 132 +PASS 133 +PASS 134 +PASS 135 +PASS 136 +PASS 137 +PASS 138 +PASS 139 +PASS 140 +PASS 141 +PASS 142 +PASS 143 +PASS 144 +PASS 145 +PASS 146 +PASS 147 +PASS 148 +PASS 149 +PASS 150 +PASS 151 +PASS 152 +PASS 153 +PASS 154 +PASS 155 +PASS 156 +PASS 157 +PASS 158 +PASS 159 +PASS 160 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/omit-task.adapter.om b/evidence/LEARN53-L777-CONTINUATION/review/omit-task.adapter.om new file mode 100644 index 00000000..1a45185e --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/omit-task.adapter.om @@ -0,0 +1,86 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Compose with exact omega653.lock core. No fork, runner, signer or cost collector. +note LT/LPin/LC/status/exit are trusted executor inputs, not candidate claims. +fn aword p ulong v ulong to void +for i ulong 4 +put LWant add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn aobserve id ulong status ulong code ulong n ulong to ulong +tn = kload id +if eq tn 0 +ret 10 +end +if ne kvalid tn 0 +ret 10 +end +for i ulong 256 +put LWant i 0 +end +aword 0 2779096485 +for i ulong kw 13 +aword add i 1 kexpect i +end +aword add kw 13 1 2779096485 +want = mul 4 add kw 13 2 +ret lobserve status 0 code want n +end +fn afields to bool +for i ulong 8 +a = mul i 32 +id = add i 1 +n = kload id +if ne get LT a id +ret false +end +if ne get LT add a 1 2 +ret false +end +if ne get LT add a 2 1 +ret false +end +if ne get LT add a 3 kw 2 +ret false +end +if ne get LT add a 4 1 +ret false +end +if ne get LT add a 5 1 +ret false +end +if ne get LT add a 6 53 +ret false +end +if ne get LT add a 7 1 +ret false +end +if ne get LT add a 28 n +ret false +end +if ne get LT add a 29 mul 4 add kw 13 2 +ret false +end +if ne get LT add a 30 1000000 +ret false +end +if ne get LT add a 31 0 +ret false +end +end +ret true +end +fn abegin budget ulong to ulong +note Canonical active-run refusal preserves the existing run. +if eq get LS 0 1 +ret 20 +end +if eq afields false +note Invalid count invokes canonical fresh-run invalidation, including stale scores. +ret lbegin 0 1 budget +end +ret lbegin 7 1 budget +end +fn aattempt idx ulong ordinal ulong status ulong code ulong n ulong to ulong +outcome = aobserve add idx 1 status code n +ret lattempt idx ordinal outcome +end diff --git a/evidence/LEARN53-L777-CONTINUATION/review/omit-task.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/review/omit-task.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/omit-task.elf-header b/evidence/LEARN53-L777-CONTINUATION/review/omit-task.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/omit-task.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/omit-task.elf.sha256 b/evidence/LEARN53-L777-CONTINUATION/review/omit-task.elf.sha256 new file mode 100644 index 00000000..cc025ee4 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/omit-task.elf.sha256 @@ -0,0 +1 @@ +57f27e435c9ca79a6b3ec0d000a03276aabf5866ac5a24214668a42d25b09d52 /home/drakestapleton/handoffs/cuda-learn-L777-review-continuation/omit-task.elf diff --git a/evidence/LEARN53-L777-CONTINUATION/review/omit-task.exit b/evidence/LEARN53-L777-CONTINUATION/review/omit-task.exit new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/omit-task.exit @@ -0,0 +1 @@ +1 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/omit-task.om b/evidence/LEARN53-L777-CONTINUATION/review/omit-task.om new file mode 100644 index 00000000..56c38187 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/omit-task.om @@ -0,0 +1,1401 @@ +note LEARN653 v1 consumer checks. No compiler, judge, signer or process supervisor. +note Task slots are 32 ulongs; see docs/learning/benchmark-v1.md. +global LT ulong 2048 +global LS ulong 24 +global LSeen ulong 64 +global LWon ulong 64 +global LPin ulong 16 +global LWant uchar 256 +global LGot uchar 256 + +fn lequal a ulong b ulong n ulong to bool +for k ulong n +if ne get LT add a k get LT add b k +ret false +end +end +ret true +end + +fn lnonzero a ulong to bool +x = ulong 0 +for k ulong 4 +x = or x get LT add a k +end +ret ne x 0 +end + +fn lrecord a ulong to ulong +split = get LT add a 1 +if or eq get LT a 0 or lt split 1 gt split 4 +ret 2 +end +if or ne get LT add a 5 1 ne get LT add a 4 1 +ret 3 +end +if eq get LT add a 3 0 +ret 4 +end +if eq get LT add a 6 0 +ret 4 +end +if eq get LT add a 7 0 +ret 4 +end +note Only public train/dev records are admissible to this builder-side API. +note Adaptive/final custody stays with the existing independent owner. +if or gt split 2 ne get LT add a 2 1 +ret 5 +end +for h ulong 5 +if eq lnonzero add a add 8 mul h 4 false +ret 6 +end +end +if or eq get LT add a 28 0 gt get LT add a 28 256 +ret 7 +end +if or eq get LT add a 29 0 gt get LT add a 29 256 +ret 7 +end +if or eq get LT add a 30 0 gt get LT add a 30 1000000 +ret 7 +end +if ne get LT add a 31 0 +ret 7 +end +ret 0 +end + +fn lpair a ulong b ulong to ulong +if eq get LT a get LT b +ret 8 +end +if lequal add a 8 add b 8 4 +ret 9 +end +if lequal add a 12 add b 12 4 +ret 10 +end +if ne get LT add a 1 get LT add b 1 +if eq get LT add a 3 get LT add b 3 +ret 15 +end +if eq get LT add a 7 get LT add b 7 +ret 11 +end +if lequal add a 16 add b 16 4 +ret 12 +end +if lequal add a 20 add b 20 4 +ret 13 +end +if lequal add a 24 add b 24 4 +ret 14 +end +end +ret 0 +end + +fn lmanifest n ulong to ulong +if or eq n 0 gt n 64 +ret 1 +end +for i ulong n +a = mul i 32 +code = lrecord a +if ne code 0 +ret code +end +for j ulong i +b = mul j 32 +code = lpair a b +if ne code 0 +ret code +end +end +end +ret 0 +end + +note Caller supplies independent expected bytes and actual executor observations. +note Status 0=completed, 1=syntax,2=type,3=unsupported,4=timeout,5=resource,6=operational. +note Result 0=correct,1..6 as above,7=wrong value,8=trap mismatch,9=empty output,10=malformed. +fn lobserve status ulong wantcode ulong gotcode ulong wantn ulong gotn ulong to ulong +if gt status 6 +ret 10 +end +if ne status 0 +ret status +end +if or gt wantn 256 gt gotn 256 +ret 10 +end +if ne wantcode gotcode +ret 8 +end +if ne wantcode 0 +note Only declared runtime traps 101..107; arbitrary exit failures never pass. +if or lt wantcode 101 or gt wantcode 107 ne wantn 0 +ret 10 +end +if ne gotn 0 +ret 8 +end +ret 0 +end +if eq wantn 0 +ret 10 +end +if eq gotn 0 +ret 9 +end +if ne wantn gotn +ret 7 +end +for i ulong wantn +if ne get LWant i get LGot i +ret 7 +end +end +ret 0 +end + +note Full 256-bit compiler and executable identities, expected then observed. +note LPin[0..3] expected compiler, [4..7] observed, [8..11] expected ELF, [12..15] observed. +fn lpins to bool +ca = ulong 0 +ba = ulong 0 +for i ulong 4 +ca = or ca get LPin i +ba = or ba get LPin add i 8 +if ne get LPin i get LPin add i 4 +ret false +end +if ne get LPin add i 8 get LPin add i 12 +ret false +end +end +ret and ne ca 0 ne ba 0 +end + +note Each begin is one explicit fresh development run; no durable resume API exists. +note LS: active,tasks,maxattempts,attempts,pass1,passbudget,invalid,closed, +note generation_us,compile_us,judge_us,other_us,input_tokens,output_tokens,peak_bytes, +note energy_uj,energy_unknown,budget_us,completed,abstained,reserved... +fn lbegin n ulong maxtries ulong budget ulong to ulong +if eq get LS 0 1 +ret 20 +end +for i ulong 24 +put LS i 0 +end +for i ulong 64 +put LSeen i 0 +put LWon i 0 +end +code = lmanifest n +if ne code 0 +put LS 6 code +ret code +end +if or eq maxtries 0 or gt maxtries 64 or eq budget 0 gt budget 1000000000000 +put LS 6 21 +ret 21 +end +put LS 0 1 +put LS 1 n +put LS 2 maxtries +put LS 17 budget +ret 0 +end + +note Charge before classifying. Costs are exact integer caller measurements, never estimates. +note Missing cost values use all-ones and invalidate the run, never become free. +fn lcost slot ulong value ulong to ulong +if or lt slot 8 gt slot 15 +put LS 6 22 +ret 22 +end +if gt value 1000000000000 +put LS 6 23 +ret 23 +end +if eq slot 14 +if gt value get LS slot +put LS slot value +end +else +if gt get LS slot sub ulong 1000000000000 value +put LS 6 23 +ret 23 +end +put LS slot add get LS slot value +end +ret 0 +end + +note Attempt outcomes come from lobserve or explicit abstention 11, never compiler acceptance. +note Mandatory cost vector is supplied per attempt in LC; energy unknown is explicit. +global LC ulong 9 + +fn lattempt task ulong ordinal ulong outcome ulong to ulong +if ne get LS 0 1 +ret 24 +end +for k ulong 8 +r = lcost add k 8 get LC k +end +if eq get LC 8 0 +put LS 16 add get LS 16 1 +if ne get LC 7 0 +put LS 6 25 +end +else +if ne get LC 8 1 +put LS 6 25 +end +end +put LS 3 add get LS 3 1 +note At most 64 attempts across a public development run, including failed attempts. +if gt get LS 3 64 +put LS 6 31 +ret 31 +end +if eq lpins false +put LS 6 26 +end +note Invalid costs or identities can never add successful tasks. +if ne get LS 6 0 +ret get LS 6 +end +if or ge task get LS 1 gt outcome 11 +put LS 6 27 +ret 27 +end +if or ne ordinal add get LSeen task 1 gt ordinal get LS 2 +put LS 6 28 +ret 28 +end +put LSeen task ordinal +if eq outcome 0 +if eq ordinal 1 +put LS 4 add get LS 4 1 +end +if eq get LWon task 0 +put LWon task 1 +put LS 5 add get LS 5 1 +end +end +if eq outcome 11 +put LS 19 add get LS 19 1 +end +elapsed = add get LS 8 get LS 9 +elapsed = add elapsed get LS 10 +elapsed = add elapsed get LS 11 +if gt elapsed get LS 17 +put LS 6 29 +end +ret get LS 6 +end + +fn lfinish to ulong +if ne get LS 0 1 +ret 24 +end +put LS 0 0 +for i ulong get LS 1 +if eq get LSeen i 0 +if eq get LS 6 0 +put LS 6 30 +end +end +end +if ne get LS 6 0 +ret get LS 6 +end +put LS 18 1 +ret 0 +end + +note GEN-1 genjac rule reused: lowercase ASCII word-triple SET Jaccard strictly above 1/2. +note Input contains two public prompts only; never load final or sealed text here. +global LText uchar 512 +global LStart ulong 128 +global LLength ulong 128 +global LCount ulong 2 + +fn llower c uchar to uchar +if and ge c 65 le c 90 +ret add c 32 +end +ret c +end + +fn lword c uchar to bool +d = llower c +ret or and ge d 97 le d 122 and ge d 48 le d 57 +end + +fn ltokens side ulong size ulong to bool +if or gt side 1 gt size 256 +ret false +end +base = mul side 256 +slots = mul side 64 +count = ulong 0 +pos = ulong 0 +while lt pos size +if gt get LText add base pos 127 +ret false +end +if lword get LText add base pos +start = pos +scanning = true +while and lt pos size scanning +if lword get LText add base pos +pos = add pos 1 +else +scanning = false +end +end +if ge count 64 +ret false +end +put LStart add slots count add base start +put LLength add slots count sub pos start +count = add count 1 +else +pos = add pos 1 +end +end +put LCount side count +ret true +end + +fn lwordeq a ulong b ulong to bool +n = get LLength a +if ne n get LLength b +ret false +end +for k ulong n +if ne llower get LText add get LStart a k llower get LText add get LStart b k +ret false +end +end +ret true +end + +fn ltriple a ulong b ulong to bool +for k ulong 3 +if eq lwordeq add a k add b k false +ret false +end +end +ret true +end + +fn lunique at ulong base ulong to bool +j = base +while lt j at +if ltriple at j +ret false +end +j = add j 1 +end +ret true +end + +note 0=no near match,1=above threshold,2=insufficient words,3=unsupported input. +fn lnear an ulong bn ulong to ulong +if eq ltokens 0 an false +ret 3 +end +if eq ltokens 1 bn false +ret 3 +end +a = get LCount 0 +b = get LCount 1 +if or lt a 3 lt b 3 +ret 2 +end +ua = ulong 0 +ub = ulong 0 +overlap = ulong 0 +for i ulong sub a 2 +if lunique i 0 +ua = add ua 1 +hit = false +for j ulong sub b 2 +if ltriple i add 64 j +hit = true +end +end +if hit +overlap = add overlap 1 +end +end +end +for j ulong sub b 2 +if lunique add 64 j 64 +ub = add ub 1 +end +end +if gt mul overlap 3 add ua ub +ret 1 +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Compose with exact omega653.lock core. No fork, runner, signer or cost collector. +note LT/LPin/LC/status/exit are trusted executor inputs, not candidate claims. +fn aword p ulong v ulong to void +for i ulong 4 +put LWant add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn aobserve id ulong status ulong code ulong n ulong to ulong +tn = kload id +if eq tn 0 +ret 10 +end +if ne kvalid tn 0 +ret 10 +end +for i ulong 256 +put LWant i 0 +end +aword 0 2779096485 +for i ulong kw 13 +aword add i 1 kexpect i +end +aword add kw 13 1 2779096485 +want = mul 4 add kw 13 2 +ret lobserve status 0 code want n +end +fn afields to bool +for i ulong 8 +a = mul i 32 +id = add i 1 +n = kload id +if ne get LT a id +ret false +end +if ne get LT add a 1 2 +ret false +end +if ne get LT add a 2 1 +ret false +end +if ne get LT add a 3 kw 2 +ret false +end +if ne get LT add a 4 1 +ret false +end +if ne get LT add a 5 1 +ret false +end +if ne get LT add a 6 53 +ret false +end +if ne get LT add a 7 1 +ret false +end +if ne get LT add a 28 n +ret false +end +if ne get LT add a 29 mul 4 add kw 13 2 +ret false +end +if ne get LT add a 30 1000000 +ret false +end +if ne get LT add a 31 0 +ret false +end +end +ret true +end +fn abegin budget ulong to ulong +note Canonical active-run refusal preserves the existing run. +if eq get LS 0 1 +ret 20 +end +if eq afields false +note Invalid count invokes canonical fresh-run invalidation, including stale scores. +ret lbegin 0 1 budget +end +ret lbegin 7 1 budget +end +fn aattempt idx ulong ordinal ulong status ulong code ulong n ulong to ulong +outcome = aobserve add idx 1 status code n +ret lattempt idx ordinal outcome +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Literal output oracle only. No kexpect/keval calls construct expected values. +fn csize id ulong to ulong +if eq id 1 +ret 136 +end +if eq id 2 +ret 160 +end +if eq id 3 +ret 232 +end +if eq id 4 +ret 116 +end +if eq id 5 +ret 128 +end +if eq id 6 +ret 164 +end +if eq id 7 +ret 144 +end +if eq id 8 +ret 156 +end +ret 0 +end +fn coutn id ulong to ulong +if eq id 1 +ret 28 +end +if eq id 2 +ret 40 +end +if eq id 3 +ret 76 +end +if and ge id 4 le id 6 +ret 12 +end +if eq id 7 +ret 36 +end +if eq id 8 +ret 32 +end +ret 0 +end +fn cvalues id ulong to void +for i ulong 258 +cw i 2779096485 +end +if eq id 1 +cw 1 0 +cw 3 11 +cw 5 15 +end +if eq id 2 +for i ulong 8 +cw add i 1 16 +end +end +if eq id 3 +for i ulong 17 +cw add i 1 2 +end +end +if eq id 4 +cw 1 4 +end +if eq id 5 +cw 1 4294967288 +end +if eq id 6 +cw 1 4294967279 +end +if eq id 7 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +if eq id 8 +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +end +end +note SPDX-License-Identifier: AGPL-3.0-only +note SYNTHETIC unit metadata, pins and costs, NEVER a real benchmark record. +fn afix to void +for i ulong 2048 +put LT i 0 +end +for i ulong 24 +put LS i 0 +end +for i ulong 8 +id = add i 1 +a = mul i 32 +n = kload id +put LT a id +put LT add a 1 2 +put LT add a 2 1 +put LT add a 3 kw 2 +put LT add a 4 1 +put LT add a 5 1 +put LT add a 6 53 +put LT add a 7 1 +for j ulong 20 +put LT add a add 8 j add add mul i 100 j 1 +end +put LT add a 28 csize id +put LT add a 29 coutn id +put LT add a 30 1000000 +end +for i ulong 4 +put LPin i add i 1 +put LPin add i 4 add i 1 +put LPin add i 8 add i 5 +put LPin add i 12 add i 5 +end +for i ulong 9 +put LC i 0 +end +put LC 0 10 +put LC 1 20 +put LC 2 30 +put LC 3 40 +put LC 4 50 +put LC 5 60 +put LC 6 4096 +end +fn agood id ulong to void +cvalues id +for i ulong 256 +put LGot i get ko i +end +end +fn aobs to void +for i ulong 8 +id = add i 1 +agood id +check eq aobserve id 0 0 coutn id 0 +put LGot sub coutn id 1 0 +check eq aobserve id 0 0 coutn id 7 +end +agood 1 +check eq aobserve 0 0 0 28 10 +check eq aobserve 9 0 0 28 10 +check eq aobserve 18446744073709551615 0 0 28 10 +check eq aobserve 1 0 0 0 9 +check eq aobserve 1 0 0 27 7 +check eq aobserve 1 0 0 257 10 +check eq aobserve 1 0 0 18446744073709551615 10 +check eq aobserve 1 0 101 0 8 +check eq aobserve 1 7 0 28 10 +for i ulong 6 +check eq aobserve 1 add i 1 0 28 add i 1 +end +note A task mutation is discarded; correct output for weakened task is wrong. +n = kload 1 +tw 28 0 +tw 21 1 +tw 22 99 +tw 14 3 +check eq aobserve 1 0 0 28 0 +check eq kw 28 9 +check eq kw 21 0 +check eq kw 22 0 +check eq kw 14 1 +cw 5 6 +for i ulong 28 +put LGot i get ko i +end +check eq aobserve 1 0 0 28 7 +note Wrong logical output, skipped write, dense stride, PASS spoof, wrong task. +for i ulong 4 +agood 1 +if eq i 0 +cw 3 12 +end +if eq i 1 +cw 5 2779096485 +end +if eq i 2 +cw 2 11 +cw 3 15 +cw 5 2779096485 +end +if eq i 3 +cw 1 1397965136 +end +for j ulong 28 +put LGot j get ko j +end +check eq aobserve 1 0 0 28 7 +end +agood 1 +check eq aobserve 2 0 0 28 7 +end +fn aall to void +afix +check eq abegin 1000 0 +check eq abegin 1000 20 +for i ulong 8 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 8 +check eq get LS 5 8 +check eq get LS 3 8 +check eq get LS 16 8 +check eq get LS 14 4096 +note A subsequent invalid begin clears old completed-valid state. +put LT 1 3 +check eq abegin 1000 1 +check eq get LS 18 0 +end +fn amissing to void +afix +check eq abegin 1000 0 +for i ulong 7 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 30 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +agood 1 +check eq aattempt 0 1 0 0 28 0 +check eq aattempt 0 1 0 0 28 28 +check eq lfinish 28 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +check eq aattempt 8 1 0 0 28 27 +check eq lfinish 27 +end +fn abad to void +afix +check eq abegin 1000 0 +for i ulong 8 +id = add i 1 +agood id +if eq id 8 +put LGot 4 0 +end +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 7 +check eq get LS 5 7 +note A valid experiment can report failure, never silently drop that task. +check eq get LS 1 8 +check eq get LS 3 8 +end +fn apins to void +for i ulong 8 +afix +check eq abegin 1000 0 +p = add i 4 +if ge i 4 +p = add i 8 +end +put LPin p 999 +agood 1 +check eq aattempt 0 1 0 0 28 26 +check eq get LS 4 0 +check eq lfinish 26 +end +afix +check eq abegin 1000 0 +put LC 0 18446744073709551615 +agood 1 +check eq aattempt 0 1 0 0 28 23 +check eq get LS 4 0 +check eq lfinish 23 +afix +check eq abegin 1 0 +agood 1 +check eq aattempt 0 1 0 0 28 29 +check eq lfinish 29 +check eq get LS 18 0 +end +fn ameta to void +for i ulong 32 +if or lt i 8 ge i 28 +afix +put LT i 999 +check eq abegin 1000 1 +check eq get LS 18 0 +end +end +afix +for i ulong 4 +put LT add i 8 0 +end +check eq abegin 1000 6 +check eq get LS 18 0 +end +fn main to int +aobs +aall +amissing +abad +apins +ameta +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/review/omit-task.stderr b/evidence/LEARN53-L777-CONTINUATION/review/omit-task.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/omit-task.stdout b/evidence/LEARN53-L777-CONTINUATION/review/omit-task.stdout new file mode 100644 index 00000000..b6cdee25 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/omit-task.stdout @@ -0,0 +1,160 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +FAIL 52 +FAIL 53 +FAIL 54 +FAIL 55 +FAIL 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +FAIL 70 +FAIL 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 +PASS 78 +PASS 79 +PASS 80 +PASS 81 +PASS 82 +PASS 83 +PASS 84 +PASS 85 +PASS 86 +PASS 87 +FAIL 88 +FAIL 89 +FAIL 90 +PASS 91 +PASS 92 +FAIL 93 +PASS 94 +PASS 95 +PASS 96 +PASS 97 +PASS 98 +PASS 99 +PASS 100 +PASS 101 +PASS 102 +PASS 103 +PASS 104 +PASS 105 +PASS 106 +PASS 107 +PASS 108 +PASS 109 +PASS 110 +PASS 111 +PASS 112 +PASS 113 +PASS 114 +PASS 115 +PASS 116 +PASS 117 +PASS 118 +PASS 119 +PASS 120 +PASS 121 +PASS 122 +PASS 123 +PASS 124 +PASS 125 +PASS 126 +PASS 127 +PASS 128 +PASS 129 +PASS 130 +PASS 131 +PASS 132 +PASS 133 +PASS 134 +PASS 135 +PASS 136 +PASS 137 +PASS 138 +PASS 139 +PASS 140 +PASS 141 +PASS 142 +PASS 143 +PASS 144 +PASS 145 +PASS 146 +PASS 147 +PASS 148 +PASS 149 +PASS 150 +PASS 151 +PASS 152 +PASS 153 +PASS 154 +PASS 155 +PASS 156 +PASS 157 +PASS 158 +PASS 159 +PASS 160 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/original-core-review.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/review/original-core-review.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/original-core-review.elf-header b/evidence/LEARN53-L777-CONTINUATION/review/original-core-review.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/original-core-review.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/original-core-review.elf.sha256 b/evidence/LEARN53-L777-CONTINUATION/review/original-core-review.elf.sha256 new file mode 100644 index 00000000..f1ff8f5a --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/original-core-review.elf.sha256 @@ -0,0 +1 @@ +f88637fad13bb395297ee6fc96b96427ce8a31a5ab62719e72ee9ba262ec29dd /home/drakestapleton/handoffs/cuda-learn-L777-review-continuation/original-core-review.elf diff --git a/evidence/LEARN53-L777-CONTINUATION/review/original-core-review.exit b/evidence/LEARN53-L777-CONTINUATION/review/original-core-review.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/original-core-review.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/original-core-review.om b/evidence/LEARN53-L777-CONTINUATION/review/original-core-review.om new file mode 100644 index 00000000..633c9f5d --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/original-core-review.om @@ -0,0 +1,753 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public data-only frame decoder. Not a sandbox or task-custody service. +global packet uchar 5137 +fn kp p ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get packet add p j mul j 8 +end +ret v +end +fn kframe n ulong to int +if lt n 8 +ret 65 +end +if gt n 5136 +ret 65 +end +t = kp 0 +if lt t 96 +ret 65 +end +if gt t 4096 +ret 65 +end +if gt t sub n 8 +ret 65 +end +c = kp add t 4 +if gt c 1032 +ret 65 +end +if ne n add add t c 8 +ret 65 +end +for i ulong t +put kt i get packet add i 4 +end +for i ulong c +put ko i get packet add add t 8 i +end +ret keval t c +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +fn valid to void +vec +check eq kvalid 136 0 +check eq keval 136 28 0 +red +check eq kvalid 116 0 +check eq keval 116 12 0 +mat +check eq kvalid 144 0 +check eq keval 144 36 0 +note Wraparound multiply, independently derived answers, not signed/FP comparison. +tw 24 4294967295 +cw 1 11 +cw 2 12 +cw 3 13 +check eq keval 144 36 0 +end +fn invalid to void +vec +check eq kvalid 0 65 +check eq kvalid 95 65 +check eq kvalid 4097 65 +check eq kvalid 18446744073709551615 65 +check eq kvalid 135 65 +check eq kvalid 137 65 +tw 0 0 +check eq kvalid 136 65 +vec +tw 1 2 +check eq kvalid 136 69 +vec +tw 11 4294967295 +check eq kvalid 136 65 +vec +tw 12 257 +check eq kvalid 136 65 +vec +tw 13 0 +check eq kvalid 136 65 +vec +tw 13 257 +check eq kvalid 136 65 +vec +tw 23 1 +check eq kvalid 136 65 +vec +tw 16 0 +check eq kvalid 136 65 +vec +tw 17 0 +check eq kvalid 136 69 +vec +tw 11 4 +check eq kvalid 132 65 +vec +tw 9 3 +check eq kvalid 136 65 +vec +tw 10 3 +check eq kvalid 136 65 +end +fn policy to void +vec +tw 2 4 +check eq kvalid 136 69 +vec +tw 3 2 +check eq kvalid 136 69 +vec +tw 4 1 +check eq kvalid 136 69 +vec +tw 21 1 +check eq kvalid 136 65 +vec +tw 22 1 +check eq kvalid 136 65 +vec +tw 14 2 +check eq kvalid 136 77 +vec +tw 14 3 +check eq kvalid 136 77 +vec +tw 14 0 +check eq kvalid 136 65 +vec +tw 14 4 +check eq kvalid 136 65 +vec +tw 15 201 +check eq kvalid 136 65 +vec +tw 18 1 +check eq kvalid 136 69 +vec +tw 19 0 +check eq kvalid 136 69 +vec +tw 20 121 +check eq kvalid 136 69 +vec +tw 5 4 +check eq kvalid 136 69 +vec +tw 5 4294967295 +check eq kvalid 136 69 +vec +tw 8 0 +check eq kvalid 136 65 +vec +tw 8 4294967295 +check eq kvalid 136 65 +vec +tw 6 2 +check eq kvalid 136 69 +mat +tw 8 1 +check eq kvalid 144 65 +mat +tw 9 2 +check eq kvalid 144 65 +mat +tw 10 2 +check eq kvalid 144 65 +end +fn wrong to void +vec +cw 3 12 +check eq keval 136 28 1 +note Skipped writes retain initialization poison. +vec +cw 1 2779096485 +check eq keval 136 28 1 +vec +cw 5 2779096485 +check eq keval 136 28 1 +note Dense writer ignores declared output stride; both logical/padding fail. +vec +cw 2 11 +cw 3 15 +cw 5 2779096485 +check eq keval 136 28 1 +vec +cw 0 0 +check eq keval 136 28 1 +vec +cw 6 0 +check eq keval 136 28 1 +vec +cw 2 0 +check eq keval 136 28 1 +note A memorized old answer fails a changed input, no candidate judge flags. +vec +tw 28 10 +check eq keval 136 28 1 +cw 5 16 +check eq keval 136 28 0 +vec +check eq keval 136 0 65 +check eq keval 136 24 65 +check eq keval 136 29 65 +check eq keval 136 1033 65 +check eq keval 136 18446744073709551615 65 +note A claimed PASS is just wrong bytes, never parsed as a result. +vec +cw 1 1397965136 +check eq keval 136 28 1 +red +cw 1 3 +check eq keval 116 12 1 +mat +cw 7 60 +check eq keval 144 36 1 +end +fn repeat to void +vec +for i ulong 4096 +put saved i get kt i +end +check eq keval 136 28 0 +same = true +for i ulong 4096 +if ne get saved i get kt i +same = false +end +end +check same +note No cached success after refusal, then recover. +tw 21 1 +check eq keval 136 28 65 +vec +cw 3 7 +check eq keval 136 28 1 +vec +check eq keval 136 28 0 +end +fn shapes to void +note Nonzero odd-tail shape17, different inputs, fixed literal each output. +header 1 +tw 5 17 +tw 8 1 +tw 9 1 +tw 10 1 +tw 11 17 +tw 12 17 +tw 13 17 +tw 15 103 +for i ulong 17 +tw add 24 i 4294967295 +tw add 41 i 3 +cw add 1 i 2 +end +check eq keval 232 76 0 +cw 17 0 +check eq keval 232 76 1 +note Registered length8 reduction with explicit wraparound answer. +header 2 +tw 5 8 +tw 8 1 +tw 9 0 +tw 10 1 +tw 11 8 +tw 12 0 +tw 13 1 +tw 15 202 +for i ulong 8 +tw add 24 i 4294967295 +end +cw 1 4294967288 +check eq keval 128 12 0 +end +fn more to void +note Other registered families and largest admitted vector footprint. +header 1 +tw 5 8 +tw 8 1 +tw 9 1 +tw 10 1 +tw 11 8 +tw 12 8 +tw 13 8 +tw 15 102 +for i ulong 8 +tw add 24 i 7 +tw add 32 i 9 +cw add 1 i 16 +end +check eq keval 160 40 0 +header 2 +tw 5 17 +tw 8 1 +tw 9 0 +tw 10 1 +tw 11 17 +tw 12 0 +tw 13 1 +tw 15 203 +for i ulong 17 +tw add 24 i 4294967295 +end +cw 1 4294967279 +check eq keval 164 12 0 +header 3 +tw 5 3 +tw 6 2 +tw 7 3 +tw 8 3 +tw 9 2 +tw 10 2 +tw 11 9 +tw 12 6 +tw 13 6 +tw 15 302 +for i ulong 9 +tw add 24 i add i 1 +end +for i ulong 6 +tw add 33 i add i 1 +end +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +check eq keval 156 32 0 +header 1 +tw 5 17 +tw 8 15 +tw 9 15 +tw 10 15 +tw 11 241 +tw 12 241 +tw 13 241 +tw 15 103 +for i ulong 17 +tw add 24 mul i 15 4294967295 +tw add 265 mul i 15 3 +cw add 1 mul i 15 2 +end +check eq keval 2024 972 0 +cw 241 0 +check eq keval 2024 972 1 +tw 8 16 +tw 11 257 +check eq kvalid 2088 65 +end +fn main to int +valid +more +invalid +policy +wrong +repeat +shapes +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/review/original-core-review.stderr b/evidence/LEARN53-L777-CONTINUATION/review/original-core-review.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/original-core-review.stdout b/evidence/LEARN53-L777-CONTINUATION/review/original-core-review.stdout new file mode 100644 index 00000000..4b615435 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/original-core-review.stdout @@ -0,0 +1,77 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.elf-header b/evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.elf.sha256 b/evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.elf.sha256 new file mode 100644 index 00000000..b66c04a2 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.elf.sha256 @@ -0,0 +1 @@ +e34796a6b14823e321d1f6b92fb0be22ba8aec705daa3835979eb5a39c2877c7 /home/drakestapleton/handoffs/cuda-learn-L777-review-continuation/original-stream-review.elf diff --git a/evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.exit b/evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.om b/evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.om new file mode 100644 index 00000000..f281e5a1 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.om @@ -0,0 +1,492 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public data-only frame decoder. Not a sandbox or task-custody service. +global packet uchar 5137 +fn kp p ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get packet add p j mul j 8 +end +ret v +end +fn kframe n ulong to int +if lt n 8 +ret 65 +end +if gt n 5136 +ret 65 +end +t = kp 0 +if lt t 96 +ret 65 +end +if gt t 4096 +ret 65 +end +if gt t sub n 8 +ret 65 +end +c = kp add t 4 +if gt c 1032 +ret 65 +end +if ne n add add t c 8 +ret 65 +end +for i ulong t +put kt i get packet add i 4 +end +for i ulong c +put ko i get packet add add t 8 i +end +ret keval t c +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Native data-frame tests. No generated program is compiled or executed here. +fn pw p ulong v ulong to void +for i ulong 4 +put packet add p i uchar and shr v mul i 8 255 +end +end +fn frame to void +vec +pw 0 136 +for i ulong 136 +put packet add 4 i get kt i +end +pw 140 28 +for i ulong 28 +put packet add 144 i get ko i +end +end +fn main to int +frame +check eq kframe 172 0 +check eq kframe 0 65 +check eq kframe 7 65 +check eq kframe 5137 65 +check eq kframe 18446744073709551615 65 +check eq kframe 171 65 +check eq kframe 173 65 +pw 0 4294967295 +check eq kframe 172 65 +frame +pw 0 4097 +check eq kframe 172 65 +frame +pw 0 95 +check eq kframe 172 65 +frame +pw 140 4294967295 +check eq kframe 172 65 +frame +pw 140 1033 +check eq kframe 172 65 +frame +pw 140 0 +check eq kframe 144 65 +frame +pw 148 9 +check eq kframe 172 1 +frame +pw 88 1 +check eq kframe 172 65 +frame +pw 60 3 +check eq kframe 172 77 +frame +check eq kframe 172 0 +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.stderr b/evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.stdout b/evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.stdout new file mode 100644 index 00000000..82c72349 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/original-stream-review.stdout @@ -0,0 +1,17 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/output-empty.bin b/evidence/LEARN53-L777-CONTINUATION/review/output-empty.bin new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/output-id0.bin b/evidence/LEARN53-L777-CONTINUATION/review/output-id0.bin new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/output-id9.bin b/evidence/LEARN53-L777-CONTINUATION/review/output-id9.bin new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/output-max.bin b/evidence/LEARN53-L777-CONTINUATION/review/output-max.bin new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/output-two.bin b/evidence/LEARN53-L777-CONTINUATION/review/output-two.bin new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.elf-header b/evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.om b/evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.om new file mode 100644 index 00000000..633c9f5d --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.om @@ -0,0 +1,753 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public data-only frame decoder. Not a sandbox or task-custody service. +global packet uchar 5137 +fn kp p ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get packet add p j mul j 8 +end +ret v +end +fn kframe n ulong to int +if lt n 8 +ret 65 +end +if gt n 5136 +ret 65 +end +t = kp 0 +if lt t 96 +ret 65 +end +if gt t 4096 +ret 65 +end +if gt t sub n 8 +ret 65 +end +c = kp add t 4 +if gt c 1032 +ret 65 +end +if ne n add add t c 8 +ret 65 +end +for i ulong t +put kt i get packet add i 4 +end +for i ulong c +put ko i get packet add add t 8 i +end +ret keval t c +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +fn valid to void +vec +check eq kvalid 136 0 +check eq keval 136 28 0 +red +check eq kvalid 116 0 +check eq keval 116 12 0 +mat +check eq kvalid 144 0 +check eq keval 144 36 0 +note Wraparound multiply, independently derived answers, not signed/FP comparison. +tw 24 4294967295 +cw 1 11 +cw 2 12 +cw 3 13 +check eq keval 144 36 0 +end +fn invalid to void +vec +check eq kvalid 0 65 +check eq kvalid 95 65 +check eq kvalid 4097 65 +check eq kvalid 18446744073709551615 65 +check eq kvalid 135 65 +check eq kvalid 137 65 +tw 0 0 +check eq kvalid 136 65 +vec +tw 1 2 +check eq kvalid 136 69 +vec +tw 11 4294967295 +check eq kvalid 136 65 +vec +tw 12 257 +check eq kvalid 136 65 +vec +tw 13 0 +check eq kvalid 136 65 +vec +tw 13 257 +check eq kvalid 136 65 +vec +tw 23 1 +check eq kvalid 136 65 +vec +tw 16 0 +check eq kvalid 136 65 +vec +tw 17 0 +check eq kvalid 136 69 +vec +tw 11 4 +check eq kvalid 132 65 +vec +tw 9 3 +check eq kvalid 136 65 +vec +tw 10 3 +check eq kvalid 136 65 +end +fn policy to void +vec +tw 2 4 +check eq kvalid 136 69 +vec +tw 3 2 +check eq kvalid 136 69 +vec +tw 4 1 +check eq kvalid 136 69 +vec +tw 21 1 +check eq kvalid 136 65 +vec +tw 22 1 +check eq kvalid 136 65 +vec +tw 14 2 +check eq kvalid 136 77 +vec +tw 14 3 +check eq kvalid 136 77 +vec +tw 14 0 +check eq kvalid 136 65 +vec +tw 14 4 +check eq kvalid 136 65 +vec +tw 15 201 +check eq kvalid 136 65 +vec +tw 18 1 +check eq kvalid 136 69 +vec +tw 19 0 +check eq kvalid 136 69 +vec +tw 20 121 +check eq kvalid 136 69 +vec +tw 5 4 +check eq kvalid 136 69 +vec +tw 5 4294967295 +check eq kvalid 136 69 +vec +tw 8 0 +check eq kvalid 136 65 +vec +tw 8 4294967295 +check eq kvalid 136 65 +vec +tw 6 2 +check eq kvalid 136 69 +mat +tw 8 1 +check eq kvalid 144 65 +mat +tw 9 2 +check eq kvalid 144 65 +mat +tw 10 2 +check eq kvalid 144 65 +end +fn wrong to void +vec +cw 3 12 +check eq keval 136 28 1 +note Skipped writes retain initialization poison. +vec +cw 1 2779096485 +check eq keval 136 28 1 +vec +cw 5 2779096485 +check eq keval 136 28 1 +note Dense writer ignores declared output stride; both logical/padding fail. +vec +cw 2 11 +cw 3 15 +cw 5 2779096485 +check eq keval 136 28 1 +vec +cw 0 0 +check eq keval 136 28 1 +vec +cw 6 0 +check eq keval 136 28 1 +vec +cw 2 0 +check eq keval 136 28 1 +note A memorized old answer fails a changed input, no candidate judge flags. +vec +tw 28 10 +check eq keval 136 28 1 +cw 5 16 +check eq keval 136 28 0 +vec +check eq keval 136 0 65 +check eq keval 136 24 65 +check eq keval 136 29 65 +check eq keval 136 1033 65 +check eq keval 136 18446744073709551615 65 +note A claimed PASS is just wrong bytes, never parsed as a result. +vec +cw 1 1397965136 +check eq keval 136 28 1 +red +cw 1 3 +check eq keval 116 12 1 +mat +cw 7 60 +check eq keval 144 36 1 +end +fn repeat to void +vec +for i ulong 4096 +put saved i get kt i +end +check eq keval 136 28 0 +same = true +for i ulong 4096 +if ne get saved i get kt i +same = false +end +end +check same +note No cached success after refusal, then recover. +tw 21 1 +check eq keval 136 28 65 +vec +cw 3 7 +check eq keval 136 28 1 +vec +check eq keval 136 28 0 +end +fn shapes to void +note Nonzero odd-tail shape17, different inputs, fixed literal each output. +header 1 +tw 5 17 +tw 8 1 +tw 9 1 +tw 10 1 +tw 11 17 +tw 12 17 +tw 13 17 +tw 15 103 +for i ulong 17 +tw add 24 i 4294967295 +tw add 41 i 3 +cw add 1 i 2 +end +check eq keval 232 76 0 +cw 17 0 +check eq keval 232 76 1 +note Registered length8 reduction with explicit wraparound answer. +header 2 +tw 5 8 +tw 8 1 +tw 9 0 +tw 10 1 +tw 11 8 +tw 12 0 +tw 13 1 +tw 15 202 +for i ulong 8 +tw add 24 i 4294967295 +end +cw 1 4294967288 +check eq keval 128 12 0 +end +fn more to void +note Other registered families and largest admitted vector footprint. +header 1 +tw 5 8 +tw 8 1 +tw 9 1 +tw 10 1 +tw 11 8 +tw 12 8 +tw 13 8 +tw 15 102 +for i ulong 8 +tw add 24 i 7 +tw add 32 i 9 +cw add 1 i 16 +end +check eq keval 160 40 0 +header 2 +tw 5 17 +tw 8 1 +tw 9 0 +tw 10 1 +tw 11 17 +tw 12 0 +tw 13 1 +tw 15 203 +for i ulong 17 +tw add 24 i 4294967295 +end +cw 1 4294967279 +check eq keval 164 12 0 +header 3 +tw 5 3 +tw 6 2 +tw 7 3 +tw 8 3 +tw 9 2 +tw 10 2 +tw 11 9 +tw 12 6 +tw 13 6 +tw 15 302 +for i ulong 9 +tw add 24 i add i 1 +end +for i ulong 6 +tw add 33 i add i 1 +end +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +check eq keval 156 32 0 +header 1 +tw 5 17 +tw 8 15 +tw 9 15 +tw 10 15 +tw 11 241 +tw 12 241 +tw 13 241 +tw 15 103 +for i ulong 17 +tw add 24 mul i 15 4294967295 +tw add 265 mul i 15 3 +cw add 1 mul i 15 2 +end +check eq keval 2024 972 0 +cw 241 0 +check eq keval 2024 972 1 +tw 8 16 +tw 11 257 +check eq kvalid 2088 65 +end +fn main to int +valid +more +invalid +policy +wrong +repeat +shapes +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.run.exit b/evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.run.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.run.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.run.stderr b/evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.run.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.run.stdout b/evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.run.stdout new file mode 100644 index 00000000..4b615435 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/parent-reviewer-core-composition.run.stdout @@ -0,0 +1,77 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/review-artifacts.sha256 b/evidence/LEARN53-L777-CONTINUATION/review/review-artifacts.sha256 new file mode 100644 index 00000000..7f549cb1 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/review-artifacts.sha256 @@ -0,0 +1,9 @@ +4cfcb3d0b73f8f0a1b764005a7a0cebe188e46830dedc085d5b91fedbc075a95 native/learn53/catalog.om +f42dc4673a9317487bc54226cda2f47c9817a057b179c742b64cea416079988b native/learn53/omega-adapter.om +98fb92c1dde4d2984d143528a09dfc56d9c90d42f11b6b86df576efdd95d9d57 tests/learn53/catalog-unit.om +dd1a1f29049412efb2ec60b5b190b2da06d50936e6ae5939406c5c134d32ddb5 tests/learn53/omega-unit.om +8b0492ed620f8e5b6f920192bc4d9ed7e06135504b7f8639df7cb4f1fd9f33c2 catalog-review.elf +11fcf90d6e98543aab604b35fb3f72383af003c12515d050de7dad20d6527069 omega-review.elf +e9f0335f45ee5e7644da795b07cd1e71a595cc918e8fb6ad11a13aa3aa48bf09 upstream185-review.elf +f88637fad13bb395297ee6fc96b96427ce8a31a5ab62719e72ee9ba262ec29dd original-core-review.elf +e34796a6b14823e321d1f6b92fb0be22ba8aec705daa3835979eb5a39c2877c7 original-stream-review.elf diff --git a/evidence/LEARN53-L777-CONTINUATION/review/selector-1.bin b/evidence/LEARN53-L777-CONTINUATION/review/selector-1.bin new file mode 100644 index 00000000..6b2aaa76 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/selector-1.bin @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/evidence/LEARN53-L777-CONTINUATION/review/selector-2.bin b/evidence/LEARN53-L777-CONTINUATION/review/selector-2.bin new file mode 100644 index 00000000..25cb955b --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/selector-2.bin @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/evidence/LEARN53-L777-CONTINUATION/review/selector-3.bin b/evidence/LEARN53-L777-CONTINUATION/review/selector-3.bin new file mode 100644 index 00000000..fc2b5693 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/selector-3.bin @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/evidence/LEARN53-L777-CONTINUATION/review/selector-4.bin b/evidence/LEARN53-L777-CONTINUATION/review/selector-4.bin new file mode 100644 index 00000000..45a8ca02 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/selector-4.bin @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/evidence/LEARN53-L777-CONTINUATION/review/selector-5.bin b/evidence/LEARN53-L777-CONTINUATION/review/selector-5.bin new file mode 100644 index 00000000..b0b2b1c8 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/selector-5.bin @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/evidence/LEARN53-L777-CONTINUATION/review/selector-6.bin b/evidence/LEARN53-L777-CONTINUATION/review/selector-6.bin new file mode 100644 index 00000000..f8fa5a23 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/selector-6.bin @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/evidence/LEARN53-L777-CONTINUATION/review/selector-7.bin b/evidence/LEARN53-L777-CONTINUATION/review/selector-7.bin new file mode 100644 index 00000000..303e398c --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/selector-7.bin @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/evidence/LEARN53-L777-CONTINUATION/review/selector-8.bin b/evidence/LEARN53-L777-CONTINUATION/review/selector-8.bin new file mode 100644 index 00000000..5a77f058 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/selector-8.bin @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/evidence/LEARN53-L777-CONTINUATION/review/task-1.cul b/evidence/LEARN53-L777-CONTINUATION/review/task-1.cul new file mode 100644 index 00000000..e5a49b3e Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/review/task-1.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/review/task-2.cul b/evidence/LEARN53-L777-CONTINUATION/review/task-2.cul new file mode 100644 index 00000000..ba2c2db7 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/review/task-2.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/review/task-3.cul b/evidence/LEARN53-L777-CONTINUATION/review/task-3.cul new file mode 100644 index 00000000..10ee17c7 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/review/task-3.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/review/task-4.cul b/evidence/LEARN53-L777-CONTINUATION/review/task-4.cul new file mode 100644 index 00000000..ecf8321a Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/review/task-4.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/review/task-5.cul b/evidence/LEARN53-L777-CONTINUATION/review/task-5.cul new file mode 100644 index 00000000..ca261820 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/review/task-5.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/review/task-6.cul b/evidence/LEARN53-L777-CONTINUATION/review/task-6.cul new file mode 100644 index 00000000..3b5c9001 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/review/task-6.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/review/task-7.cul b/evidence/LEARN53-L777-CONTINUATION/review/task-7.cul new file mode 100644 index 00000000..adbedea9 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/review/task-7.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/review/task-8.cul b/evidence/LEARN53-L777-CONTINUATION/review/task-8.cul new file mode 100644 index 00000000..b55708c5 Binary files /dev/null and b/evidence/LEARN53-L777-CONTINUATION/review/task-8.cul differ diff --git a/evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.compile.stderr b/evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.compile.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.elf-header b/evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.elf-header new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.elf-header @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.elf.sha256 b/evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.elf.sha256 new file mode 100644 index 00000000..eeb274fe --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.elf.sha256 @@ -0,0 +1 @@ +e9f0335f45ee5e7644da795b07cd1e71a595cc918e8fb6ad11a13aa3aa48bf09 /home/drakestapleton/handoffs/cuda-learn-L777-review-continuation/upstream185-review.elf diff --git a/evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.exit b/evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.exit new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.exit @@ -0,0 +1 @@ +0 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.om b/evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.om new file mode 100644 index 00000000..59b283a5 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.om @@ -0,0 +1,773 @@ +note LEARN653 v1 consumer checks. No compiler, judge, signer or process supervisor. +note Task slots are 32 ulongs; see docs/learning/benchmark-v1.md. +global LT ulong 2048 +global LS ulong 24 +global LSeen ulong 64 +global LWon ulong 64 +global LPin ulong 16 +global LWant uchar 256 +global LGot uchar 256 + +fn lequal a ulong b ulong n ulong to bool +for k ulong n +if ne get LT add a k get LT add b k +ret false +end +end +ret true +end + +fn lnonzero a ulong to bool +x = ulong 0 +for k ulong 4 +x = or x get LT add a k +end +ret ne x 0 +end + +fn lrecord a ulong to ulong +split = get LT add a 1 +if or eq get LT a 0 or lt split 1 gt split 4 +ret 2 +end +if or ne get LT add a 5 1 ne get LT add a 4 1 +ret 3 +end +if eq get LT add a 3 0 +ret 4 +end +if eq get LT add a 6 0 +ret 4 +end +if eq get LT add a 7 0 +ret 4 +end +note Only public train/dev records are admissible to this builder-side API. +note Adaptive/final custody stays with the existing independent owner. +if or gt split 2 ne get LT add a 2 1 +ret 5 +end +for h ulong 5 +if eq lnonzero add a add 8 mul h 4 false +ret 6 +end +end +if or eq get LT add a 28 0 gt get LT add a 28 256 +ret 7 +end +if or eq get LT add a 29 0 gt get LT add a 29 256 +ret 7 +end +if or eq get LT add a 30 0 gt get LT add a 30 1000000 +ret 7 +end +if ne get LT add a 31 0 +ret 7 +end +ret 0 +end + +fn lpair a ulong b ulong to ulong +if eq get LT a get LT b +ret 8 +end +if lequal add a 8 add b 8 4 +ret 9 +end +if lequal add a 12 add b 12 4 +ret 10 +end +if ne get LT add a 1 get LT add b 1 +if eq get LT add a 3 get LT add b 3 +ret 15 +end +if eq get LT add a 7 get LT add b 7 +ret 11 +end +if lequal add a 16 add b 16 4 +ret 12 +end +if lequal add a 20 add b 20 4 +ret 13 +end +if lequal add a 24 add b 24 4 +ret 14 +end +end +ret 0 +end + +fn lmanifest n ulong to ulong +if or eq n 0 gt n 64 +ret 1 +end +for i ulong n +a = mul i 32 +code = lrecord a +if ne code 0 +ret code +end +for j ulong i +b = mul j 32 +code = lpair a b +if ne code 0 +ret code +end +end +end +ret 0 +end + +note Caller supplies independent expected bytes and actual executor observations. +note Status 0=completed, 1=syntax,2=type,3=unsupported,4=timeout,5=resource,6=operational. +note Result 0=correct,1..6 as above,7=wrong value,8=trap mismatch,9=empty output,10=malformed. +fn lobserve status ulong wantcode ulong gotcode ulong wantn ulong gotn ulong to ulong +if gt status 6 +ret 10 +end +if ne status 0 +ret status +end +if or gt wantn 256 gt gotn 256 +ret 10 +end +if ne wantcode gotcode +ret 8 +end +if ne wantcode 0 +note Only declared runtime traps 101..107; arbitrary exit failures never pass. +if or lt wantcode 101 or gt wantcode 107 ne wantn 0 +ret 10 +end +if ne gotn 0 +ret 8 +end +ret 0 +end +if eq wantn 0 +ret 10 +end +if eq gotn 0 +ret 9 +end +if ne wantn gotn +ret 7 +end +for i ulong wantn +if ne get LWant i get LGot i +ret 7 +end +end +ret 0 +end + +note Full 256-bit compiler and executable identities, expected then observed. +note LPin[0..3] expected compiler, [4..7] observed, [8..11] expected ELF, [12..15] observed. +fn lpins to bool +ca = ulong 0 +ba = ulong 0 +for i ulong 4 +ca = or ca get LPin i +ba = or ba get LPin add i 8 +if ne get LPin i get LPin add i 4 +ret false +end +if ne get LPin add i 8 get LPin add i 12 +ret false +end +end +ret and ne ca 0 ne ba 0 +end + +note Each begin is one explicit fresh development run; no durable resume API exists. +note LS: active,tasks,maxattempts,attempts,pass1,passbudget,invalid,closed, +note generation_us,compile_us,judge_us,other_us,input_tokens,output_tokens,peak_bytes, +note energy_uj,energy_unknown,budget_us,completed,abstained,reserved... +fn lbegin n ulong maxtries ulong budget ulong to ulong +if eq get LS 0 1 +ret 20 +end +for i ulong 24 +put LS i 0 +end +for i ulong 64 +put LSeen i 0 +put LWon i 0 +end +code = lmanifest n +if ne code 0 +put LS 6 code +ret code +end +if or eq maxtries 0 or gt maxtries 64 or eq budget 0 gt budget 1000000000000 +put LS 6 21 +ret 21 +end +put LS 0 1 +put LS 1 n +put LS 2 maxtries +put LS 17 budget +ret 0 +end + +note Charge before classifying. Costs are exact integer caller measurements, never estimates. +note Missing cost values use all-ones and invalidate the run, never become free. +fn lcost slot ulong value ulong to ulong +if or lt slot 8 gt slot 15 +put LS 6 22 +ret 22 +end +if gt value 1000000000000 +put LS 6 23 +ret 23 +end +if eq slot 14 +if gt value get LS slot +put LS slot value +end +else +if gt get LS slot sub ulong 1000000000000 value +put LS 6 23 +ret 23 +end +put LS slot add get LS slot value +end +ret 0 +end + +note Attempt outcomes come from lobserve or explicit abstention 11, never compiler acceptance. +note Mandatory cost vector is supplied per attempt in LC; energy unknown is explicit. +global LC ulong 9 + +fn lattempt task ulong ordinal ulong outcome ulong to ulong +if ne get LS 0 1 +ret 24 +end +for k ulong 8 +r = lcost add k 8 get LC k +end +if eq get LC 8 0 +put LS 16 add get LS 16 1 +if ne get LC 7 0 +put LS 6 25 +end +else +if ne get LC 8 1 +put LS 6 25 +end +end +put LS 3 add get LS 3 1 +note At most 64 attempts across a public development run, including failed attempts. +if gt get LS 3 64 +put LS 6 31 +ret 31 +end +if eq lpins false +put LS 6 26 +end +note Invalid costs or identities can never add successful tasks. +if ne get LS 6 0 +ret get LS 6 +end +if or ge task get LS 1 gt outcome 11 +put LS 6 27 +ret 27 +end +if or ne ordinal add get LSeen task 1 gt ordinal get LS 2 +put LS 6 28 +ret 28 +end +put LSeen task ordinal +if eq outcome 0 +if eq ordinal 1 +put LS 4 add get LS 4 1 +end +if eq get LWon task 0 +put LWon task 1 +put LS 5 add get LS 5 1 +end +end +if eq outcome 11 +put LS 19 add get LS 19 1 +end +elapsed = add get LS 8 get LS 9 +elapsed = add elapsed get LS 10 +elapsed = add elapsed get LS 11 +if gt elapsed get LS 17 +put LS 6 29 +end +ret get LS 6 +end + +fn lfinish to ulong +if ne get LS 0 1 +ret 24 +end +put LS 0 0 +for i ulong get LS 1 +if eq get LSeen i 0 +if eq get LS 6 0 +put LS 6 30 +end +end +end +if ne get LS 6 0 +ret get LS 6 +end +put LS 18 1 +ret 0 +end + +note GEN-1 genjac rule reused: lowercase ASCII word-triple SET Jaccard strictly above 1/2. +note Input contains two public prompts only; never load final or sealed text here. +global LText uchar 512 +global LStart ulong 128 +global LLength ulong 128 +global LCount ulong 2 + +fn llower c uchar to uchar +if and ge c 65 le c 90 +ret add c 32 +end +ret c +end + +fn lword c uchar to bool +d = llower c +ret or and ge d 97 le d 122 and ge d 48 le d 57 +end + +fn ltokens side ulong size ulong to bool +if or gt side 1 gt size 256 +ret false +end +base = mul side 256 +slots = mul side 64 +count = ulong 0 +pos = ulong 0 +while lt pos size +if gt get LText add base pos 127 +ret false +end +if lword get LText add base pos +start = pos +scanning = true +while and lt pos size scanning +if lword get LText add base pos +pos = add pos 1 +else +scanning = false +end +end +if ge count 64 +ret false +end +put LStart add slots count add base start +put LLength add slots count sub pos start +count = add count 1 +else +pos = add pos 1 +end +end +put LCount side count +ret true +end + +fn lwordeq a ulong b ulong to bool +n = get LLength a +if ne n get LLength b +ret false +end +for k ulong n +if ne llower get LText add get LStart a k llower get LText add get LStart b k +ret false +end +end +ret true +end + +fn ltriple a ulong b ulong to bool +for k ulong 3 +if eq lwordeq add a k add b k false +ret false +end +end +ret true +end + +fn lunique at ulong base ulong to bool +j = base +while lt j at +if ltriple at j +ret false +end +j = add j 1 +end +ret true +end + +note 0=no near match,1=above threshold,2=insufficient words,3=unsupported input. +fn lnear an ulong bn ulong to ulong +if eq ltokens 0 an false +ret 3 +end +if eq ltokens 1 bn false +ret 3 +end +a = get LCount 0 +b = get LCount 1 +if or lt a 3 lt b 3 +ret 2 +end +ua = ulong 0 +ub = ulong 0 +overlap = ulong 0 +for i ulong sub a 2 +if lunique i 0 +ua = add ua 1 +hit = false +for j ulong sub b 2 +if ltriple i add 64 j +hit = true +end +end +if hit +overlap = add overlap 1 +end +end +end +for j ulong sub b 2 +if lunique add 64 j 64 +ub = add ub 1 +end +end +if gt mul overlap 3 add ua ub +ret 1 +end +ret 0 +end +note Handwritten component acceptance tests; public task oracle belongs to L776. +global Checks ulong 1 +global Digits uchar 16 +text Good "BENCHMARK_CORE_PASS\n" +text PhraseA "Add the two input numbers and return their sum" +text PhraseB "ADD the TWO input numbers, and return their sum." +text PhraseC "Find a maximum element in a sorted collection" +text HalfA "a b c" +text HalfB "a b c d" +text Repeat "a a a a a a" + +fn check actual ulong expected ulong to void +put Checks 0 add get Checks 0 1 +if ne actual expected +exit int add get Checks 0 40 +end +end + +fn fixture to void +for i ulong 2048 +put LT i 0 +end +for i ulong 4 +a = mul i 32 +put LT a add i 1 +put LT add a 1 add div i 2 1 +put LT add a 2 1 +put LT add a 3 add i 1 +put LT add a 4 1 +put LT add a 5 1 +put LT add a 6 776 +put LT add a 7 add i 1 +for j ulong 20 +put LT add a add j 8 add add mul i 100 j 1 +end +put LT add a 28 16 +put LT add a 29 16 +put LT add a 30 1000 +end +for i ulong 4 +put LPin i add i 1 +put LPin add i 4 add i 1 +put LPin add i 8 add i 5 +put LPin add i 12 add i 5 +end +for i ulong 9 +put LC i 0 +end +put LC 0 10 +put LC 1 20 +put LC 2 30 +put LC 3 40 +put LC 4 50 +put LC 5 60 +put LC 6 4096 +for i ulong 24 +put LS i 0 +end +end + +fn manifesttests to void +fixture +check lmanifest 4 0 +check lmanifest 0 1 +check lmanifest 65 1 +put LT 0 0 +check lmanifest 4 2 +fixture +put LT 5 2 +check lmanifest 4 3 +fixture +put LT 4 0 +check lmanifest 4 3 +fixture +put LT 6 0 +check lmanifest 4 4 +fixture +put LT 1 4 +check lmanifest 4 5 +fixture +put LT 1 3 +check lmanifest 4 5 +fixture +put LT 2 2 +check lmanifest 4 5 +fixture +for j ulong 4 +put LT add 8 j 0 +end +check lmanifest 4 6 +fixture +put LT 29 257 +check lmanifest 4 7 +fixture +put LT 32 1 +check lmanifest 4 8 +fixture +for j ulong 4 +put LT add 40 j get LT add 8 j +end +check lmanifest 4 9 +fixture +for j ulong 4 +put LT add 44 j get LT add 12 j +end +check lmanifest 4 10 +fixture +put LT 71 1 +check lmanifest 4 11 +fixture +for j ulong 4 +put LT add 80 j get LT add 16 j +end +check lmanifest 4 12 +fixture +for j ulong 4 +put LT add 84 j get LT add 20 j +end +check lmanifest 4 13 +fixture +for j ulong 4 +put LT add 88 j get LT add 24 j +end +check lmanifest 4 14 +fixture +put LT 67 1 +check lmanifest 4 15 +fixture +put LT 31 1 +check lmanifest 4 7 +fixture +put LT 28 0 +check lmanifest 4 7 +fixture +put LT 30 1000001 +check lmanifest 4 7 +end + +fn observationtests to void +for i ulong 256 +put LWant i uchar and i 255 +put LGot i uchar and i 255 +end +check lobserve 0 0 0 8 8 0 +put LGot 7 99 +check lobserve 0 0 0 8 8 7 +check lobserve 0 0 0 8 0 9 +check lobserve 0 0 0 8 7 7 +check lobserve 0 0 0 0 0 10 +check lobserve 0 102 102 0 0 0 +check lobserve 0 102 103 0 0 8 +check lobserve 0 102 102 0 1 8 +check lobserve 0 9 9 0 0 10 +check lobserve 0 0 102 8 0 8 +check lobserve 0 0 0 257 257 10 +for i ulong 6 +check lobserve add i 1 0 0 8 8 add i 1 +end +check lobserve 7 0 0 8 8 10 +end + +fn accountingtests to void +fixture +check lbegin 4 2 1000 0 +check lbegin 4 2 1000 20 +check lattempt 0 1 7 0 +check lattempt 0 2 0 0 +check lattempt 1 1 0 0 +check lattempt 2 1 4 0 +check lattempt 3 1 11 0 +check lfinish 0 +check get LS 3 5 +check get LS 4 1 +check get LS 5 2 +check get LS 8 50 +check get LS 9 100 +check get LS 10 150 +check get LS 11 200 +check get LS 12 250 +check get LS 13 300 +check get LS 14 4096 +check get LS 16 5 +check get LS 19 1 +check lattempt 0 3 0 24 +check lfinish 24 +fixture +check lbegin 4 2 1000 0 +check lattempt 0 1 0 0 +check lfinish 30 +check get LS 18 0 +fixture +check lbegin 4 2 1000 0 +check lattempt 0 2 0 28 +check get LS 8 10 +check lfinish 28 +fixture +check lbegin 4 1 1000 0 +check lattempt 0 1 7 0 +check lattempt 0 2 0 28 +check get LS 5 0 +fixture +check lbegin 4 2 99 0 +check lattempt 0 1 0 29 +check get LS 18 0 +fixture +check lbegin 4 2 1000 0 +put LPin 7 999 +check lattempt 0 1 0 26 +check get LS 8 10 +check get LS 5 0 +fixture +check lbegin 4 2 1000 0 +put LPin 15 999 +check lattempt 0 1 0 26 +fixture +check lbegin 4 2 1000 0 +put LC 0 18446744073709551615 +check lattempt 0 1 0 23 +fixture +check lbegin 4 2 1000 0 +put LC 7 1 +check lattempt 0 1 0 25 +fixture +check lbegin 4 2 1000 0 +put LC 7 13 +put LC 8 1 +check lattempt 0 1 0 0 +check get LS 15 13 +check get LS 16 0 +fixture +check lbegin 4 2 1000 0 +check lattempt 64 1 0 27 +check get LS 8 10 +fixture +check lbegin 4 0 1000 21 +fixture +check lbegin 4 65 1000 21 +fixture +check lbegin 4 2 0 21 +fixture +check lbegin 4 2 1000 0 +put LC 8 2 +check lattempt 0 1 0 25 +fixture +check lbegin 4 2 1000 0 +put LS 8 1000000000000 +check lattempt 0 1 0 23 +check get LS 18 0 +fixture +check lbegin 1 64 100000 0 +for i ulong 64 +check lattempt 0 add i 1 7 0 +end +check lattempt 0 65 0 31 +check get LS 3 65 +check get LS 8 650 +check get LS 5 0 +check lfinish 31 +fixture +check lbegin 1 1 1000 0 +put LC 6 8192 +check lattempt 0 1 0 0 +check get LS 14 8192 +check lfinish 0 +end + +fn neartests to void +for i ulong len PhraseA +put LText i get PhraseA i +end +for i ulong len PhraseB +put LText add 256 i get PhraseB i +end +check lnear len PhraseA len PhraseB 1 +for i ulong len PhraseC +put LText add 256 i get PhraseC i +end +check lnear len PhraseA len PhraseC 0 +check lnear 0 0 2 +check lnear 257 1 3 +put LText 0 255 +check lnear len PhraseA len PhraseC 3 +for i ulong len HalfA +put LText i get HalfA i +end +for i ulong len HalfB +put LText add 256 i get HalfB i +end +check lnear len HalfA len HalfB 0 +for i ulong len Repeat +put LText i get Repeat i +put LText add 256 i get Repeat i +end +check lnear len Repeat len Repeat 1 +for i ulong 128 +put LText mul i 2 97 +put LText add mul i 2 1 32 +end +check lnear 256 5 3 +end + +fn countout to void +n = get Checks 0 +put Digits 0 uchar add div n 100 48 +put Digits 1 uchar add rem div n 10 10 48 +put Digits 2 uchar add rem n 10 48 +put Digits 3 10 +w = write 1 Digits 0 4 +if ne w 4 +exit 36 +end +end + +fn main to int +manifesttests +observationtests +accountingtests +neartests +w = write 1 Good 0 len Good +if ne w long len Good +ret 35 +end +countout +ret 0 +end diff --git a/evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.stderr b/evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.stderr new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.stdout b/evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.stdout new file mode 100644 index 00000000..bd3413e4 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/upstream185-review.stdout @@ -0,0 +1,2 @@ +BENCHMARK_CORE_PASS +185 diff --git a/evidence/LEARN53-L777-CONTINUATION/review/worktree-status.txt b/evidence/LEARN53-L777-CONTINUATION/review/worktree-status.txt new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/review/worktree-status.txt @@ -0,0 +1 @@ + diff --git a/evidence/LEARN53-L777-CONTINUATION/source-inventory.json b/evidence/LEARN53-L777-CONTINUATION/source-inventory.json new file mode 100644 index 00000000..6ae57cc9 --- /dev/null +++ b/evidence/LEARN53-L777-CONTINUATION/source-inventory.json @@ -0,0 +1,108 @@ +{ + "source": "94ada80cd8acf2c31441ab1dcee98f896ce884c4", + "count": 17, + "files": [ + { + "path": "native/learn53/catalog.om", + "sha256": "4cfcb3d0b73f8f0a1b764005a7a0cebe188e46830dedc085d5b91fedbc075a95", + "bytes": 1855, + "worktree_equal": true + }, + { + "path": "native/learn53/omega-adapter.om", + "sha256": "f42dc4673a9317487bc54226cda2f47c9817a057b179c742b64cea416079988b", + "bytes": 1629, + "worktree_equal": true + }, + { + "path": "native/learn53/omega653.lock", + "sha256": "7e2dc1cb6fdba685f6f5b8ff9cef1f94a543d6c4e57814bb3f9af3a240f158d7", + "bytes": 625, + "worktree_equal": true + }, + { + "path": "native/learn53/stream.om", + "sha256": "c0577085ecf43f1217f808f6dd9d2c8a23369f89b3d61b8535feec0689885944", + "bytes": 632, + "worktree_equal": true + }, + { + "path": "native/learn53/task.om", + "sha256": "5cb929e58af85d82d83a449c8d50d6be94e6377d2f7b9e888258148e746f605a", + "bytes": 3304, + "worktree_equal": true + }, + { + "path": "native/learn53/wire.om", + "sha256": "0982af7c252ce6234689310f1251e125d80830c6b66b9f5fc10b5b1fc869d9b1", + "bytes": 594, + "worktree_equal": true + }, + { + "path": "tests/learn53/catalog-check.om", + "sha256": "c05d50d0695ba212a3875bb25d97d7a9837653c8708b408a762c292f595e7590", + "bytes": 516, + "worktree_equal": true + }, + { + "path": "tests/learn53/catalog-export.om", + "sha256": "a591528dffad2817af5d24b2a2ba6372dc5444cef20d8c080ebca84fccaf3e78", + "bytes": 533, + "worktree_equal": true + }, + { + "path": "tests/learn53/catalog-fixtures.om", + "sha256": "a3f5d40add782fc7c9a0552fc95157a1dddbdb6462663cb61d7b08a0004bcb29", + "bytes": 940, + "worktree_equal": true + }, + { + "path": "tests/learn53/catalog-unit.om", + "sha256": "98fb92c1dde4d2984d143528a09dfc56d9c90d42f11b6b86df576efdd95d9d57", + "bytes": 1085, + "worktree_equal": true + }, + { + "path": "tests/learn53/fixtures.om", + "sha256": "e354fbecbf719fd28fb736c1a685a72ef14dd2137d947bc8b085f787f87e73c1", + "bytes": 1563, + "worktree_equal": true + }, + { + "path": "tests/learn53/omega-unit.om", + "sha256": "dd1a1f29049412efb2ec60b5b190b2da06d50936e6ae5939406c5c134d32ddb5", + "bytes": 3903, + "worktree_equal": true + }, + { + "path": "tests/learn53/stream-check.om", + "sha256": "00af4dbadd66334269bd93f6a323bdfc8a729d192f62dd4722b3e4b9a84e79a9", + "bytes": 349, + "worktree_equal": true + }, + { + "path": "tests/learn53/stream-fixtures.om", + "sha256": "97dfb3d8dd523b167c4813fdca8ea8022771f77630df646046bd9623815cf74f", + "bytes": 365, + "worktree_equal": true + }, + { + "path": "tests/learn53/stream-input.om", + "sha256": "e78761593851f5030ac3c98ff8e611a4176549905c3431426f8cd4cfcb27b294", + "bytes": 410, + "worktree_equal": true + }, + { + "path": "tests/learn53/stream-unit.om", + "sha256": "019de5f335b6bf9c765e82ca6a308290233c677c37dac61fdbae66aeec8fe79f", + "bytes": 615, + "worktree_equal": true + }, + { + "path": "tests/learn53/unit.om", + "sha256": "70ba454d3ae1c52c02af8668f271d352269141e35ad17246bfcdf86d602deb8a", + "bytes": 4468, + "worktree_equal": true + } + ] +} \ No newline at end of file diff --git a/evidence/LEARN53-L777-review.sha256 b/evidence/LEARN53-L777-review.sha256 new file mode 100644 index 00000000..0824d1eb --- /dev/null +++ b/evidence/LEARN53-L777-review.sha256 @@ -0,0 +1,9 @@ +e61d2297e9a634250657db09392cb82156b00f4641eef458624e918f88f7fa60 evidence/LEARN53-L777/review-core.out +10dfb981309eabf6a63471aef30d5609b1452da56e944fedc05489280fa255f9 evidence/LEARN53-L777/review-frame.out +217610d4ebb610989d882efdd16aecb550fd9a874ea510a1e02364296c4d4626 evidence/LEARN53-L777/review-L778.md +276ac140320e82de87f01f9f687e35820f9ca1792722dc289e54e328bf247844 evidence/LEARN53-L777/review-parent-status.txt +881c9e02b04fbe8f40abc844bf230de69d19e8822a0d49c99f0fc8ad92a3a4de evidence/LEARN53-L777/review-parent-verification.txt +9ccd5dc198d54d679c39455ee376c6fdbadc8ee389e502311dfa2527ab1eadb5 evidence/LEARN53-L777/review-probe-full.om +85b10a884754c7cb813d50743541b4b305adb58386f2df0be79646327d345e78 evidence/LEARN53-L777/review-probe.om +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777/review-probe.out +b7f293c2be298489721014dec0d6cf9c90588c8df7291a05e3c7f572b074376a evidence/LEARN53-L777/REVIEW-DISPOSITION.md diff --git a/evidence/LEARN53-L777.sha256 b/evidence/LEARN53-L777.sha256 new file mode 100644 index 00000000..7d34bd82 --- /dev/null +++ b/evidence/LEARN53-L777.sha256 @@ -0,0 +1,74 @@ +cf8229d1a1d2ed09b7c810e7b7ba37dff1fb4e184b160230487bc003a3032a5d evidence/LEARN53-L777/COMMANDS.md +ef56a89ab0ebc8de045329cc757299a8b8d46b91f988a5d32848d51a75b519ea evidence/LEARN53-L777/README.md +aed3d8ad8baeea7574235bf5a3ff8b7186ee61884c9708e1c9c2654179f8a888 evidence/LEARN53-L777/additional-status.txt +a2e44fe4ce77b529c767f2724bebd5f318a56bbbd699e946196bea7485d06107 evidence/LEARN53-L777/artifact-probe.txt +e7a9a1afa045835db907a0c9424a0e3e8442f61f75fee27d9c39fb618a2c9837 evidence/LEARN53-L777/baseline-host.log +c049ff4b3377a32f006001446f84f1a5fb05c8ce9d706d7b3805743943c31710 evidence/LEARN53-L777/binaries.sha256 +d2bf998e2ad964ecf02327ae887a51daaee7d7691314b307153ca664d368dc73 evidence/LEARN53-L777/bootstrap.log +71b627f2e67de1f307af5b685bc2a07d36622b5088dc32d5be48dae8b47de493 evidence/LEARN53-L777/cli-0.out +648db243ca8dd0ba967f2225877c16c8a65913f96e320a05c6a3fbf6035e01d6 evidence/LEARN53-L777/cli-0.status +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777/cli-1.out +8aa31d38aa870635ef3021f092e67f954d0af1bf0537f25b01ef834ed88b3e8b evidence/LEARN53-L777/cli-1.status +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777/cli-2.out +c091d3aa0bc8861f90b7c4114948ae207213d831c4918d1406445b5c5472095f evidence/LEARN53-L777/cli-2.status +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777/cli-3.out +fcc08518de162574a88dd651ba52c6910dab214848b5026be9148d27239e0b3f evidence/LEARN53-L777/cli-3.status +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777/cli-4.out +7d6c7223aaa0a66f73ea3b7f0bfafc7627f64eade488c08a28dba6ea70cfc92c evidence/LEARN53-L777/cli-4.status +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777/cli-5.out +cbfae054adecb72260384c945d9ccd26a83fa64bc219263c18d2debe7f81db83 evidence/LEARN53-L777/cli-5.status +8f03a355c1cb924acf9477c1ee97457eb45a8a843e989e98bbcb636580a40ffd evidence/LEARN53-L777/cli-red-status.txt +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777/cli-red.out +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777/green-compile.log +db62847be4ca9d121785d33621994df28e811d212ee9f29c44970624efbe7c1c evidence/LEARN53-L777/green.log +6270e3408edb407f1c3ddd44219c94f635fe605f4038d4ccacb7e13febb55d5c evidence/LEARN53-L777/host.txt +d5e1872d0ae75ce0d4181d2861d03845542d30ee58b3845d8b1dc7061932b0f8 evidence/LEARN53-L777/independent-arithmetic.json +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777/mutant-stride-compile.log +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777/mutant-stride-elf.txt +cf595b5a4e3edafce606e2eaeedd797c28fb3ae0edd1a02290b04aec733897f1 evidence/LEARN53-L777/mutant-stride.diff +8bcec4064cadfa5f09ec230e4206e50647b3a71a88710910fa9df8e3d2660df1 evidence/LEARN53-L777/mutant-stride.log +6423e98a183f9ebd4b2dc186962ea0fa3d97a4002fbc8fade8d1fed346658716 evidence/LEARN53-L777/mutant-stride.status +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777/mutant-tail-compile.log +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777/mutant-tail-elf.txt +8c16b0e4923911e55da27d89ee1f5e339dd1e167d3ea92bf3590f78215fecf95 evidence/LEARN53-L777/mutant-tail.diff +2e3922f21848a8efa82739f047f8ac9c1ce0524eb10b2a464bca8044957718aa evidence/LEARN53-L777/mutant-tail.log +a36042ddf151c39b965ec4c2214b2f8c23eb0c71c406b7c16567eee1439f5eac evidence/LEARN53-L777/mutant-tail.status +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777/mutant-tolerance-compile.log +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777/mutant-tolerance-elf.txt +238390689f16df99e2f27f89583b0e94a46f88fda6fe06177f1523d6aa2260ea evidence/LEARN53-L777/mutant-tolerance.diff +8ab38391ea6fe2319e98d1556d8a24b3f89467c12d25b9f78771a45422c9dee1 evidence/LEARN53-L777/mutant-tolerance.log +d5a6a0c7ab75debd9a70d30bf16afc72f508a80c862fb7ea725b476d5033422c evidence/LEARN53-L777/mutant-tolerance.status +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777/mutant-wrong-op-compile.log +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777/mutant-wrong-op-elf.txt +258d48f506efcb850e7761dbac8673ba8451945c4dcb9a3111c7d20172dad3f1 evidence/LEARN53-L777/mutant-wrong-op.diff +a47f3ed6cfd51cd5fd0a4120d24632eea4f68d1d9e0e524559f10d0d44d5db32 evidence/LEARN53-L777/mutant-wrong-op.log +0addd97d02e01932f1967b4c633da1098d8d03617e6ace2697a57de0ca899838 evidence/LEARN53-L777/mutant-wrong-op.status +f04527112871cbe655d51d60aef5bb0b778d5a7a285dd7c3d27096801c19cef3 evidence/LEARN53-L777/public-frame.bin +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777/red-compile.log +79b3fd9cdde65543ccd40612abe2dfc619074942975d577e72778ba704bbc3c1 evidence/LEARN53-L777/red.log +c59865e1ba1b7e846ec05612eac106b5738c9061da2b3b5e0565131b081dea2d evidence/LEARN53-L777/replay-results.json +6b496d8107a1fb1c276128ef72a187c7d8ba1b71fd76c5c9f24d8b60f7c2f681 evidence/LEARN53-L777/replay-static-elf.txt +8c82f12eb09c41e7b373dc315150767d1f0ccefb96e58f2454a6d24ef49798f4 evidence/LEARN53-L777/replay-stream-syscalls.log +10dfb981309eabf6a63471aef30d5609b1452da56e944fedc05489280fa255f9 evidence/LEARN53-L777/replay-stream-unit.log +e61d2297e9a634250657db09392cb82156b00f4641eef458624e918f88f7fa60 evidence/LEARN53-L777/replay-unit.log +dbb39ca1780fc4c2d6d282c8f3005de97f4830a42b02c6d4fd43c264e07a1ef3 evidence/LEARN53-L777/source.sha256 +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777/stream-check-compile.log +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777/stream-check-elf.txt +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777/stream-compile.log +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777/stream-elf.txt +10dfb981309eabf6a63471aef30d5609b1452da56e944fedc05489280fa255f9 evidence/LEARN53-L777/stream-green.log +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777/stream-input-compile.log +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777/stream-input-elf.txt +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777/stream-red-compile.log +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777/stream-red-elf.txt +e3c2e8613320658e0a84e2f7dc69abfd1674d95620b5e98ffc548adc15f54aff evidence/LEARN53-L777/stream-red.log +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777/stream-unit-compile.log +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777/stream-unit-elf.txt +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777/stream-unit-final-compile.log +10dfb981309eabf6a63471aef30d5609b1452da56e944fedc05489280fa255f9 evidence/LEARN53-L777/stream-unit-final.log +f67c689e274aaaecc8f041606246888bca39f9ca8b44a1b95b99fdbb60b87f62 evidence/LEARN53-L777/stream-unit-final.status +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777/unit-compile.log +b4fd00fc2c70a1622b537710b4e0de65cd1397b5216344ae97aa35fb62c0e013 evidence/LEARN53-L777/unit-elf.txt +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evidence/LEARN53-L777/unit-final-compile.log +e61d2297e9a634250657db09392cb82156b00f4641eef458624e918f88f7fa60 evidence/LEARN53-L777/unit-final.log +2a43112e90b49a65a520391f7dafbd1086c3a1ab92067ead5cabbe0947576a1f evidence/LEARN53-L777/unit-final.status diff --git a/evidence/LEARN53-L777/COMMANDS.md b/evidence/LEARN53-L777/COMMANDS.md new file mode 100644 index 00000000..36cae762 --- /dev/null +++ b/evidence/LEARN53-L777/COMMANDS.md @@ -0,0 +1,76 @@ +# Reproducible commands (source11ad6a0) + +Actual qualification host: Spark, Linux AArch64. Development commands below use existing host tools; they are documentation, not a newly shipped build/qualification wrapper. Do not run on main/shared output. No GPU invocation. + +Source-only toolchain export/reconstruction actually run: + +```sh +git -C /home/drakestapleton/workspace/omega-bridge archive 0fc7d8662cb799e7c206b17c18ea4c3ec2b8fea9 | tar -x -C /home/drakestapleton/handoffs/cuda-learn-L777/toolchain +cd /home/drakestapleton/handoffs/cuda-learn-L777/toolchain +quiet-build timeout 120 tools/bootstrap.sh --offline +sha256sum build/bootstrap/omc +``` + +Bootstrap exit0 and compiler191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9. No executable compiler fallback. Set `OMC` to the resulting compiler only after that comparison. Caller creates a fresh private `$OUT` directory; this is not a safety-qualified installer. + +Source export actually run: + +```sh +git -C /home/drakestapleton/workspace/hermes-desk/cudapp-learn-L777 archive 11ad6a0a7783f5d221de79111d6abba4ee1ae52f native/learn53 tests/learn53 docs/learn53 | tar -x -C /home/drakestapleton/handoffs/cuda-learn-L777/replay-11ad6a0 +``` + +In that fresh source export, construct the following units: + +```sh +cat native/learn53/task.om tests/learn53/fixtures.om tests/learn53/unit.om > "$OUT/unit.om" +cat native/learn53/task.om native/learn53/wire.om tests/learn53/fixtures.om tests/learn53/stream-fixtures.om tests/learn53/stream-unit.om > "$OUT/stream-unit.om" +cat native/learn53/task.om native/learn53/wire.om native/learn53/stream.om > "$OUT/stream.om" +cat native/learn53/task.om native/learn53/wire.om tests/learn53/fixtures.om tests/learn53/stream-fixtures.om tests/learn53/stream-input.om > "$OUT/stream-input.om" +cat tests/learn53/stream-check.om > "$OUT/stream-check.om" +``` + +For each named unit, actual command pattern (`name` was expanded individually, not a delivered script): + +```sh +quiet-build timeout 30 "$OMC" < "$OUT/name.om" > "$OUT/name.elf" 2> "$OUT/name-compile.log" +# Require exit0. An empty or failed compile is NOT an executable or a killed mutant. +test -s "$OUT/name.elf" +readelf -h "$OUT/name.elf" +chmod 700 "$OUT/name.elf" +sha256sum "$OUT/name.elf" +``` + +All5 compiled and matched the worktree-built binaries byte-for-byte (`cmp`). Execute `timeout 10 "$OUT/unit.elf"` and `timeout 10 "$OUT/stream-unit.elf"`; actual rc0,77 and17 PASS lines respectively. Both test mains return fixed1 on any assertion failure, not a potentially truncated failure index. + +For real CLI data tests, emitter input modes are single bytes0..5. Commands actually run for valid0 and wrong1 (analogous2..5 retained in cli status files): + +```sh +printf '\000' | "$OUT/stream-input.elf" > "$OUT/frame0.bin" +timeout 10 "$OUT/stream.elf" < "$OUT/frame0.bin" > "$OUT/cli-0.out" +"$OUT/stream-check.elf" < "$OUT/cli-0.out" +printf '\001' | "$OUT/stream-input.elf" > "$OUT/frame1.bin" +timeout 10 "$OUT/stream.elf" < "$OUT/frame1.bin" > "$OUT/cli-1.out" +timeout 10 "$OUT/stream.elf" < /dev/null +``` + +Statuses0/1/65/65/65/77 for modes0..5; empty stdin65. Success diagnostic exactly12 bytes; failure stdout empty. `stream-check` rc0 on real valid output and rc1 on the old empty-output stub given the same valid frame. + +Each `mutant-*.diff` was applied to a private copy of task.om, concatenated with the **unchanged** final fixture/unit files and compiled through the same compiler/ELF checks. Then `timeout 10 mutant-N.elf`; actual rc1 and nonzero FAIL assertions, not compiler failure or timeout. Original binaries remain unchanged. Compiler logs, ELF headers, patches, binary identities and complete77-line outputs are retained. + +Runtime dependency observation actually run from fresh export: + +```sh +strace -f -e trace=execve,openat,read,write,ioctl -o out/stream-syscalls.log timeout 10 out/stream.elf < out/public-frame.bin > out/stream.out +out/stream-check.elf < out/stream.out +readelf -l -d out/stream.elf +``` + +Both execution/check exit0. The timeout parent uses host libraries; after exec of the evaluated native ELF, observed calls are stdin reads and the fixed stdout write. No dynamic section. These trace/log files are new observations, not copied historical receipts from the toolchain export. + +Unchanged legacy regression command, worktree rooted at public main80f3a24: + +```sh +quiet-build timeout 600 make -j2 OUT_DIR=build/baseline test +``` + +Actual exit0 and33 host targets. No legacy source, Makefile, gate or dependency was modified. This is regression evidence only; native migration, seeded host automation and integrated consuming-graph gates remain open. diff --git a/evidence/LEARN53-L777/README.md b/evidence/LEARN53-L777/README.md new file mode 100644 index 00000000..60670979 --- /dev/null +++ b/evidence/LEARN53-L777/README.md @@ -0,0 +1,58 @@ +# L777 native-host evidence, source11ad6a0 + +**Implemented and exercised: a public task-contract/reference-output slice of CUDApp #53. Full #53 and #52 remain OPEN.** This is not GPU, whole-model, protected-evaluation or performance qualification. + +## Immutable identities + +- CUDApp source/test commit: `11ad6a0a7783f5d221de79111d6abba4ee1ae52f`. +- Public main/base: `80f3a2492eef315106feebfdffcb32de39be7d95`. +- Compiler source package: omega-bridge `0fc7d8662cb799e7c206b17c18ea4c3ec2b8fea9`; imported seed origin omega-mv `29b12760f4c962606411d6bf25032aedef063301`. +- Rebuilt compiler SHA256: `191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9`. `bootstrap.log` records actual source-only reconstruction and stage1/stage2 equality. Fixpoint is lineage evidence, not a general semantic proof. +- Target: actual Spark Linux AArch64 host, exact unsigned32 modular profile, schemaCUL1/reference revision1. No model, tokenizer, policy checkpoint, GPU binary/launch or driver is consumed; these are NOT_APPLICABLE to this slice. GB10/actual-consumer qualification is NOT_RUN. +- Complete consumed product/test files: `source.sha256`; executable identities: `binaries.sha256` and `replay-results.json`. + +## Executed results + +| Run | Actual result | Raw evidence | +|---|---|---| +| Compilable unconditional-success RED scaffold | rc1;58 of71 assertions fail | red.log, red ELF hash | +| Core final suite | rc0;77 of77 assertions pass | unit-final.log/status | +| Data-frame RED scaffold | rc1;15 of17 assertions fail | stream-red.log, ELF hash | +| Data-frame final suite | rc0;17 of17 assertions pass | stream-unit-final.log/status | +| Valid CLI against empty-output stub | independent native stdout checker rc1 | cli-red-status.txt, cli-red.out | +| Real data-only CLI, valid frame | rc0,12 output bytes; native checker rc0 | cli-0.out/status, artifact-probe.txt | +| CLI wrong output | rc1,zero stdout | cli-1.out/status | +| CLI truncated / trailing / forged length | rc65 each,zero stdout | cli-2..4.out/status | +| CLI final-pool access attempt | rc77,zero stdout | cli-5.out/status | +| Empty stdin | rc65 | commands/receipt statement; no PASS emitted | +| Fresh Git-source export reconstruction | all5 binaries identical;77/77 core and17/17 frame replay pass | replay-results.json, replay-unit.log, replay-stream-unit.log | +| Unchanged repository legacy host suite | rc0,33 targets | baseline-host.log; source80f3a24 | + +The legacy suite includes expected simulator-refusal and mutation diagnostics. Its overall recorded exit is0 and it prints `CUDA++ HOST TESTS PASS (33 targets)`. It is historical-path regression evidence, not a seeded migration or proof that the root Makefile consumes this new module. New native .om tests are separate. + +Four source mutants compiled successfully to nonempty AArch64 ELF before execution. Each exits1 because assertions fail, not because construction or startup failed: + +| Mutation | Failed assertions out of77 | Evidence | +|---|---:|---| +| Ignore absolute tolerance change | 2 | mutant-tolerance.* | +| Omit last physical output word | 6 | mutant-tail.* | +| Ignore A's element stride | 5 | mutant-stride.* | +| Substitute constant zero for add result | 7 | mutant-wrong-op.* | + +Original failures and all mutation patches are preserved. No cases, tolerances or acceptance policies were weakened. The independent arithmetic inputs/results are in `independent-arithmetic.json`; Wolfram is an external qualification oracle, not linked or shipped as runtime logic. Fixtures are public developer data only. + +## Closure and bounds + +The native data-only executable is9108 bytes. ELF headers show static AArch64 EXEC, no interpreter/dynamic section. Its traced process only reads stdin and writes the fixed diagnostic for the tested valid frame; no file, GPU, ioctl, network or model operation occurs. The trace also includes the separately identified host `timeout` utility's startup. This is a tested syscall observation, not exhaustive proof of all executions. `replay-static-elf.txt`, `replay-stream-syscalls.log` and `artifact-probe.txt` preserve the actual output. + +Manifest capacity4096 bytes; each input/output physical footprint <=256 u32 words; candidate buffer1032 bytes; stream reader5137 bytes including an extra-byte refusal margin. Supported shape families are explicit in the contract. This is not measured system-wide memory admission. The compiler reserves an8MiB stack as part of its host ABI; file size is not RSS. + +No optimization candidate generated, no GPU timing, no parameter training or learned/controller change. Complete baseline/search/teacher/compiler/judge lifecycle costs and uncertainty are NOT_RUN. Host test durations printed by old tools are not performance evidence. Current native tests validate values, refusal and bounds; they do not qualify scheduling, sealed custody, wall-clock enforcement or production activation. + +## Reproduction and upstream boundaries + +See [CONTRACT](../../docs/learn53/CONTRACT.md), [dependency matrix](../../docs/learn53/DEPENDENCIES.md), and `COMMANDS.md` for source concatenation and exact executed commands. Existing external Linux tools orchestrate construction, source export, ELF checks, timeout and hashes. No new foreign-language executable build/test wrapper was added; the inherited host automation is still an outstanding .om replacement owned by Omega635/636 and CUDA++15. The public CLI is not an authenticated judge: its caller must bind task and evaluator identities; synthetic candidate PASS bytes are refused, but recorder/executable substitution protection belongs to Omega653. + +No replaced production implementation/dependency was deleted: this is a new bounded domain module and none of the legacy owners' consumers were cut over. Existing native weightpack and host/numeric/collector/reservation source and receipts are preserved, not requalified by this work. All #54-60 experiments retain their explicit prerequisite gates. + +Independent review is tracked as L778 on exact source11ad6a0; its report and disposition must be added before any review-approved statement. No issue closure, merge, default change or release is authorized by this receipt. diff --git a/evidence/LEARN53-L777/REVIEW-DISPOSITION.md b/evidence/LEARN53-L777/REVIEW-DISPOSITION.md new file mode 100644 index 00000000..1711f673 --- /dev/null +++ b/evidence/LEARN53-L777/REVIEW-DISPOSITION.md @@ -0,0 +1,30 @@ +# Independent review disposition, L778 + +Review target: executable/test source `11ad6a0a7783f5d221de79111d6abba4ee1ae52f`. Evidence-only published child before review ingestion: `2a89cd300de152cb0d66d290567658a2e1497bb8`. + +Original report is preserved unchanged in `review-L778.md`. Actual returned worker metadata identifies **gpt-6-luna**, delegation `deleg_f850226c`, reviewer `sa-0-d7978e31`. The dispatch brief/ledger initially described the expected inherited Astra model; that expectation was wrong. This record and the ledger correction use the observed worker model, not the requested/assumed one. + +The reviewer reported no Critical, Important or Minor defect in the bounded public native-host slice. Parent independently verified: +- all9 consumed product/test source files byte-equal the Git objects at the reviewed commit; +- raw core output77/77 PASS and frame output17/17 PASS; +- all reported core/frame/stream/emitter/probe executable hashes and combined probe source hash match the returned artifacts; +- the independently authored probe actually returns0 when re-executed by the parent. + +Evidence: `review-parent-verification.txt`, `review-parent-status.txt`, `review-probe.om`, `review-probe-full.om`, `review-core.out`, `review-frame.out`, and native probe output. No executable input changed to resolve review findings because there were no findings. This clears **independent source/native-host review for this slice only**, not full issue acceptance, merge policy, hardware or release. + +## Rulings on the review's declined scopes + +Every category below remains an unmet upstream/integration gate; it is not waived. + +| Declined behavior | Disposition and owner | Risk if mistaken | +|---|---|---| +| Task/compiler/evaluator/candidate/launch authentication and trusted output acquisition | Keep out of the public data adapter; Omega653 and #10/#35/#5 must bind actual artifacts before acceptance | Caller-supplied or substituted bytes could masquerade as an evaluated candidate | +| Custody, deduplication, split secrecy, attempts/budgets, sealing, recorder substitution resistance | Omega653/L775-L776 and RSI67 own these; this entry refuses non-public pools, which is refusal evidence, not a custody implementation | Leakage or an incomplete denominator could yield false learning claims | +| Sandboxing and pipe-stall deadlines | Native host process facilities/#15/#635/#636 remain required; this program executes no candidate source and external timeout bounds developer probes only | Untrusted execution or indefinitely open input could escape claimed limits | +| Floating-point modes/order/nonfinite/signed-zero/subnormal semantics | Unsupported here; #16 remains numerical authority. Modular-integer tests cannot establish these obligations | A valid integer result could be falsely presented as an FP/model-quality result | +| Generated candidate execution, device-memory/input immutability and GB10 effects | NOT_RUN pending canonical native runtime/decoder/lowering/reservations, #5/#10/#24/#35 | Output fixtures alone do not prove a real launched kernel or protected input state | +| Performance, learned search/training and full lifecycle benefit | NOT_RUN pending #17 and the ordered #54-60 prerequisites; no reward/default changes | Kernel timing or changed search budget could be misrepresented as complete-workload improvement | +| Omega653 attachment; #15/#16/#17 migration; full graph, judge and release | Remain explicit dependency work; no independent replacement subsystem, no premature legacy deletion | Public standalone code could be mistaken for integrated first-party .om delivery | +| Broad legacy suite and complete source-closure audit | Parent separately ran unchanged33-target legacy suite and checked the9-file consumed closure plus all5 reproducible native artifacts. Does not qualify the entire repository or remove its legacy dependencies | Evidence from a different executable closure could incorrectly be promoted | + +No deferred minor findings. No source correction or gate relaxation was required. #52/#53 stay OPEN, and #54-60 remain dependency-gated. The original receipt's review-pending wording is historical; this additive disposition records the now-completed bounded review without rewriting it. diff --git a/evidence/LEARN53-L777/additional-status.txt b/evidence/LEARN53-L777/additional-status.txt new file mode 100644 index 00000000..7fa71fa9 --- /dev/null +++ b/evidence/LEARN53-L777/additional-status.txt @@ -0,0 +1,5 @@ +Observed tool output after actual execution: +valid_output_check_rc=0 +empty_rc=65 +baseline_rc=0 +bootstrap_rc=0 diff --git a/evidence/LEARN53-L777/artifact-probe.txt b/evidence/LEARN53-L777/artifact-probe.txt new file mode 100644 index 00000000..937f8392 --- /dev/null +++ b/evidence/LEARN53-L777/artifact-probe.txt @@ -0,0 +1,10 @@ +strace_run_rc=0 +native_stdout_check_rc=0 +f04527112871cbe655d51d60aef5bb0b778d5a7a285dd7c3d27096801c19cef3 out/public-frame.bin +474c6d7d2200aad721d744106f430bed8ded85dba8a34a931829165d4cf73466 out/stream.elf + 584 out/stream-check.elf + 9108 out/stream.elf +13560 out/stream-input.elf +14980 out/stream-unit.elf +25636 out/unit.elf +63868 total \ No newline at end of file diff --git a/evidence/LEARN53-L777/baseline-host.log b/evidence/LEARN53-L777/baseline-host.log new file mode 100644 index 00000000..8f137e96 --- /dev/null +++ b/evidence/LEARN53-L777/baseline-host.log @@ -0,0 +1,1591 @@ +mkdir -p build/baseline +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -Isrc -o build/test_omega_gpu_code_alloc tests/test_omega_gpu_code_alloc.c +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -Isrc -DOMEGA_NUMERIC_CPU_ONLY -o build/test_omega_gpu_engine_compile tests/test_omega_gpu_engine_compile.c src/omega_gpu_engine.c +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -Isrc -DOMEGA_NUMERIC_CPU_ONLY -o build/test_omega_gpu_engine tests/test_omega_gpu_engine.c src/omega_gpu_engine.c +sh tools/gpu_engine_mutations.sh +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -D_GNU_SOURCE -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c -o build/omega_blackwell_engine_syntax.o src/omega_blackwell_engine.c +make build/baseline/libomega_gpu.a +make[1]: Entering directory '/home/drakestapleton/workspace/hermes-desk/cudapp-learn-L777' +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen.c -o build/baseline/omega_blackwell_codegen.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_attn.c -o build/baseline/omega_blackwell_codegen_attn.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_bf16.c -o build/baseline/omega_blackwell_codegen_bf16.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_dec.c -o build/baseline/omega_blackwell_codegen_dec.o +VALIDATE_SKIPPED KILLED MUT:VALIDATE_SKIPPED (harness exit 139 (crash or abort)) +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_gemm.c -o build/baseline/omega_blackwell_codegen_gemm.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_moe.c -o build/baseline/omega_blackwell_codegen_moe.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_moe2.c -o build/baseline/omega_blackwell_codegen_moe2.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_pattn.c -o build/baseline/omega_blackwell_codegen_pattn.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_pf.c -o build/baseline/omega_blackwell_codegen_pf.o +VALID_PROGRAM KILLED MUT:VALID_PROGRAM (harness exit 139 (crash or abort)) +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_pfhost.c -o build/baseline/omega_blackwell_codegen_pfhost.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_qg.c -o build/baseline/omega_blackwell_codegen_qg.o +VALID_LAYOUT KILLED MUT:VALID_LAYOUT (1 failing case(s), first: VALID_ARGS_LAYOUT) +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_qmma.c -o build/baseline/omega_blackwell_codegen_qmma.o +VALID_COUNT_ZERO KILLED MUT:VALID_COUNT_ZERO (1 failing case(s), first: VALID_ARGS_ZERO_ELEMENTS) +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_router.c -o build/baseline/omega_blackwell_codegen_router.o +VALID_ALIGN KILLED MUT:VALID_ALIGN (1 failing case(s), first: VALID_ARGS_OUTPUT_ALIGNMENT) +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_tc.c -o build/baseline/omega_blackwell_codegen_tc.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_tc2.c -o build/baseline/omega_blackwell_codegen_tc2.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_tern.c -o build/baseline/omega_blackwell_codegen_tern.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_encoder.c -o build/baseline/omega_blackwell_encoder.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_engine.c -o build/baseline/omega_blackwell_engine.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_matmul.c -o build/baseline/omega_blackwell_matmul.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_qmd.c -o build/baseline/omega_blackwell_qmd.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_realize.c -o build/baseline/omega_blackwell_realize.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_submit.c -o build/baseline/omega_blackwell_submit.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_attention_api.c -o build/baseline/omega_gpu_attention_api.o +VALID_POISON_COUNT KILLED MUT:VALID_POISON_COUNT (harness exit 139 (crash or abort)) +VALID_FLAGS KILLED MUT:VALID_FLAGS (1 failing case(s), first: VALID_ARGS_UNKNOWN_FLAG) +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_bf16_gemv_api.c -o build/baseline/omega_gpu_bf16_gemv_api.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_chip.c -o build/baseline/omega_gpu_chip.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_cmdlist.c -o build/baseline/omega_gpu_cmdlist.o +VALID_TIMEOUT_MARKER1 KILLED MUT:VALID_TIMEOUT_MARKER1 (1 failing case(s), first: VALID_ARGS_ZERO_MARKER_TIMEOUT) +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_decode_attn_api.c -o build/baseline/omega_gpu_decode_attn_api.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_decode_graph.c -o build/baseline/omega_gpu_decode_graph.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_elementwise_api.c -o build/baseline/omega_gpu_elementwise_api.o +VALID_TIMEOUT_MARKER2 KILLED MUT:VALID_TIMEOUT_MARKER2 (1 failing case(s), first: VALID_ARGS_ZERO_MARKER2_TIMEOUT_WITH_C3) +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_engine.c -o build/baseline/omega_gpu_engine.o +BLOCK_CHECK_SKIPPED KILLED MUT:BLOCK_CHECK_SKIPPED (2 failing case(s), first: CERTAIN_BLOCKS_NEXT_JOB_NO_BACKEND_CALL) +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_fmt.c -o build/baseline/omega_gpu_fmt.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_fp8_api.c -o build/baseline/omega_gpu_fp8_api.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_fp8_pack.c -o build/baseline/omega_gpu_fp8_pack.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_fp8gemm_api.c -o build/baseline/omega_gpu_fp8gemm_api.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_hostmath.c -o build/baseline/omega_gpu_hostmath.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_matmul_api.c -o build/baseline/omega_gpu_matmul_api.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_mem_cached.c -o build/baseline/omega_gpu_mem_cached.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_moe_api.c -o build/baseline/omega_gpu_moe_api.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_pfgemm.c -o build/baseline/omega_gpu_pfgemm.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_pfhost.c -o build/baseline/omega_gpu_pfhost.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_platform.c -o build/baseline/omega_gpu_platform.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_platform_linux.c -o build/baseline/omega_gpu_platform_linux.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_prefill.c -o build/baseline/omega_gpu_prefill.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_prefill_attn_api.c -o build/baseline/omega_gpu_prefill_attn_api.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_router_api.c -o build/baseline/omega_gpu_router_api.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_serving.c -o build/baseline/omega_gpu_serving.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_session.c -o build/baseline/omega_gpu_session.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_tcgemm_api.c -o build/baseline/omega_gpu_tcgemm_api.o +BACKEND_CHECK_SKIPPED KILLED MUT:BACKEND_CHECK_SKIPPED (harness exit 139 (crash or abort)) +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_tern_api.c -o build/baseline/omega_gpu_tern_api.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_wait.c -o build/baseline/omega_gpu_wait.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/sha256.c -o build/baseline/sha256.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_canonical.c -o build/baseline/omega_canonical.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_core.c -o build/baseline/omega_core.o +OPEN_NOT_TRACKED KILLED MUT:OPEN_NOT_TRACKED (20 failing case(s), first: CCESS_FULL_RUN) +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_vector.c -o build/baseline/omega_vector.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c ./m16/m16_native.c -o build/baseline/m16_native.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c ./nvrm/nvrm.c -o build/baseline/nvrm.o +ALLOC_NOT_TRACKED KILLED MUT:ALLOC_NOT_TRACKED (20 failing case(s), first: CCESS_FULL_RUN) +ar rcs build/baseline/libomega_gpu.a build/baseline/omega_blackwell_codegen.o build/baseline/omega_blackwell_codegen_attn.o build/baseline/omega_blackwell_codegen_bf16.o build/baseline/omega_blackwell_codegen_dec.o build/baseline/omega_blackwell_codegen_gemm.o build/baseline/omega_blackwell_codegen_moe.o build/baseline/omega_blackwell_codegen_moe2.o build/baseline/omega_blackwell_codegen_pattn.o build/baseline/omega_blackwell_codegen_pf.o build/baseline/omega_blackwell_codegen_pfhost.o build/baseline/omega_blackwell_codegen_qg.o build/baseline/omega_blackwell_codegen_qmma.o build/baseline/omega_blackwell_codegen_router.o build/baseline/omega_blackwell_codegen_tc.o build/baseline/omega_blackwell_codegen_tc2.o build/baseline/omega_blackwell_codegen_tern.o build/baseline/omega_blackwell_encoder.o build/baseline/omega_blackwell_engine.o build/baseline/omega_blackwell_matmul.o build/baseline/omega_blackwell_qmd.o build/baseline/omega_blackwell_realize.o build/baseline/omega_blackwell_submit.o build/baseline/omega_gpu_attention_api.o build/baseline/omega_gpu_bf16_gemv_api.o build/baseline/omega_gpu_chip.o build/baseline/omega_gpu_cmdlist.o build/baseline/omega_gpu_decode_attn_api.o build/baseline/omega_gpu_decode_graph.o build/baseline/omega_gpu_elementwise_api.o build/baseline/omega_gpu_engine.o build/baseline/omega_gpu_fmt.o build/baseline/omega_gpu_fp8_api.o build/baseline/omega_gpu_fp8_pack.o build/baseline/omega_gpu_fp8gemm_api.o build/baseline/omega_gpu_hostmath.o build/baseline/omega_gpu_matmul_api.o build/baseline/omega_gpu_mem_cached.o build/baseline/omega_gpu_moe_api.o build/baseline/omega_gpu_pfgemm.o build/baseline/omega_gpu_pfhost.o build/baseline/omega_gpu_platform.o build/baseline/omega_gpu_platform_linux.o build/baseline/omega_gpu_prefill.o build/baseline/omega_gpu_prefill_attn_api.o build/baseline/omega_gpu_router_api.o build/baseline/omega_gpu_serving.o build/baseline/omega_gpu_session.o build/baseline/omega_gpu_tcgemm_api.o build/baseline/omega_gpu_tern_api.o build/baseline/omega_gpu_wait.o build/baseline/sha256.o build/baseline/omega_canonical.o build/baseline/omega_core.o build/baseline/omega_vector.o build/baseline/m16_native.o build/baseline/nvrm.o +make[1]: Leaving directory '/home/drakestapleton/workspace/hermes-desk/cudapp-learn-L777' +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -D_GNU_SOURCE -pthread -ffunction-sections -fdata-sections \ + -Isrc -Itests -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -o build/test_omega_blackwell_engine tests/test_omega_blackwell_engine.c tests/fake_m16_native.c \ + src/omega_blackwell_submit.c src/omega_blackwell_engine.c src/omega_gpu_engine.c src/omega_blackwell_matmul.c src/omega_blackwell_codegen.c src/omega_blackwell_encoder.c src/omega_blackwell_qmd.c src/omega_blackwell_realize.c src/omega_vector.c src/omega_core.c src/omega_canonical.c src/sha256.c -Wl,--gc-sections -lm +CLEANUP_SKIPPED_CHANNEL KILLED MUT:CLEANUP_SKIPPED_CHANNEL (1 failing case(s), first: IL_CHANNEL_CREATE) +CLEANUP_SKIPPED_ALLOC KILLED MUT:CLEANUP_SKIPPED_ALLOC (1 failing case(s), first: IL_ALLOC) +CLEANUP_SKIPPED_COPY_IN KILLED MUT:CLEANUP_SKIPPED_COPY_IN (1 failing case(s), first: IL_PREPARE_COPY_IN) +CLEANUP_SKIPPED_SUBMIT KILLED MUT:CLEANUP_SKIPPED_SUBMIT (2 failing case(s), first: IL_SUBMIT_IS_NOT_UNCERTAIN) +FREE_UNALLOCATED KILLED MUT:FREE_UNALLOCATED (3 failing case(s), first: IL_DEVICE_OPEN) +PHYSICS_DIR="." sh tools/gpu_engine_backend_mutations.sh +FREE_SKIPPED KILLED MUT:FREE_SKIPPED (20 failing case(s), first: CCESS_FULL_RUN) +CLOSE_SKIPPED KILLED MUT:CLOSE_SKIPPED (20 failing case(s), first: CCESS_FULL_RUN) +CLEANUP_OVERWRITES_FIRST KILLED MUT:CLEANUP_OVERWRITES_FIRST (3 failing case(s), first: EANUP_FIRST_CLEANUP_FAULT_KEPT) +CLEANUP_FLAG_NOT_SET KILLED MUT:CLEANUP_FLAG_NOT_SET (5 failing case(s), first: EANUP_FREE_FAILS_AFTER_GOOD_RUN) +POISON_FILL_SKIPPED KILLED MUT:POISON_FILL_SKIPPED (18 failing case(s), first: LL_ORDER_FULL_RUN) +STATE_PREPARED_SKIPPED KILLED MUT:STATE_PREPARED_SKIPPED (3 failing case(s), first: ATE_ADVANCES_STEP_BY_STEP) +STATE_SUBMITTED_SKIPPED KILLED MUT:STATE_SUBMITTED_SKIPPED (4 failing case(s), first: ATE_ADVANCES_STEP_BY_STEP) +STATE_GPU_COMPLETE_SKIPPED KILLED MUT:STATE_GPU_COMPLETE_SKIPPED (3 failing case(s), first: ATE_ADVANCES_STEP_BY_STEP) +STATE_OUTPUT_VISIBLE_SKIPPED KILLED MUT:STATE_OUTPUT_VISIBLE_SKIPPED (5 failing case(s), first: CHANGED_NOTHING_WRITTEN) +STATE_OUTPUT_PRODUCED_SKIPPED KILLED MUT:STATE_OUTPUT_PRODUCED_SKIPPED (4 failing case(s), first: ATE_ADVANCES_STEP_BY_STEP) +STATE_SUCCESS_SKIPPED KILLED MUT:STATE_SUCCESS_SKIPPED (4 failing case(s), first: CCESS_FULL_RUN) +BE_ALLOC_CHECK_CPU KILLED a buffer without a CPU mapping is refused (ALLOC) (8 failing case(s), first: m_nocpu_marker_refused_as_alloc) +SUCCESS_AFTER_CLEANUP_FAIL KILLED MUT:SUCCESS_AFTER_CLEANUP_FAIL (3 failing case(s), first: EANUP_FREE_FAILS_AFTER_GOOD_RUN) +MARKER1_WAIT_SKIPPED KILLED MUT:MARKER1_WAIT_SKIPPED (10 failing case(s), first: LL_ORDER_FULL_RUN) +MARKER1_TIMEOUT_WRONG KILLED MUT:MARKER1_TIMEOUT_WRONG (1 failing case(s), first: R_STEP_TIMEOUTS_FROM_JOB) +MARKER1_RESULT_IGNORED KILLED MUT:MARKER1_RESULT_IGNORED (2 failing case(s), first: CERTAIN_MARKER_TIMEOUT) +UNCERTAIN_FREES_MARKER1 KILLED MUT:UNCERTAIN_FREES_MARKER1 (1 failing case(s), first: CERTAIN_MARKER_TIMEOUT) +BE_ALLOC_CHECK_SIZE KILLED a buffer smaller than asked is refused (ALLOC) (6 failing case(s), first: m_short_pb_refused_as_alloc) +MARKER2_WAIT_SKIPPED KILLED MUT:MARKER2_WAIT_SKIPPED (7 failing case(s), first: LL_ORDER_FULL_RUN) +C3_FLAG_IGNORED KILLED MUT:C3_FLAG_IGNORED (1 failing case(s), first: _C3_SKIPS_MARKER2_ONLY) +MARKER2_RESULT_IGNORED KILLED MUT:MARKER2_RESULT_IGNORED (1 failing case(s), first: CERTAIN_MARKER2_UNKNOWN_STATE) +UNCERTAIN_FREES_MARKER2 KILLED MUT:UNCERTAIN_FREES_MARKER2 (1 failing case(s), first: CERTAIN_MARKER2_UNKNOWN_STATE) +RELEASE_WAIT_SKIPPED KILLED MUT:RELEASE_WAIT_SKIPPED (7 failing case(s), first: LL_ORDER_FULL_RUN) +BE_ALLOC_CHECK_ALIGN KILLED a GPU address that is not 256-byte aligned is refused (ALLOC) (29 failing case(s), first: m_misaligned_qmd_refused_as_alloc) +RELEASE_RESULT_IGNORED KILLED MUT:RELEASE_RESULT_IGNORED (1 failing case(s), first: CERTAIN_RELEASE_DRIVER_FAULT) +UNCERTAIN_FREES_RELEASE KILLED MUT:UNCERTAIN_FREES_RELEASE (1 failing case(s), first: CERTAIN_RELEASE_DRIVER_FAULT) +BARRIER_SKIPPED KILLED MUT:BARRIER_SKIPPED (6 failing case(s), first: LL_ORDER_FULL_RUN) +BARRIER_RESULT_IGNORED KILLED MUT:BARRIER_RESULT_IGNORED (1 failing case(s), first: IL_VISIBILITY_BARRIER) +RETAINED_FLAG_NOT_SET KILLED MUT:RETAINED_FLAG_NOT_SET (3 failing case(s), first: CERTAIN_MARKER_TIMEOUT) +NO_BLOCK KILLED MUT:NO_BLOCK (4 failing case(s), first: CERTAIN_MARKER_TIMEOUT) +BE_ALLOC_OWN_CHECK_NOTE KILLED the backend's own refusal text reaches the result (7 failing case(s), first: m_short_pb_own_check_text) +WAITED_NOT_A_DIFFERENCE KILLED MUT:WAITED_NOT_A_DIFFERENCE (3 failing case(s), first: CERTAIN_MARKER_TIMEOUT) +POISON_INDEX_FIXED KILLED MUT:POISON_INDEX_FIXED (4 failing case(s), first: CHANGED_NOTHING_WRITTEN) +UNCHANGED_COUNT_SATURATES KILLED MUT:UNCHANGED_COUNT_SATURATES (3 failing case(s), first: CHANGED_NOTHING_WRITTEN) +UNCHANGED_CHECK_SKIPPED KILLED MUT:UNCHANGED_CHECK_SKIPPED (6 failing case(s), first: CHANGED_NOTHING_WRITTEN) +mutants: 49 total, 49 killed, 0 survived as redundant, 0 survived as test gaps (receipt /tmp/mutrun.zyBwWs/out.json) +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -ffp-contract=off -fno-fast-math -pthread -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c -o build/test_omega_gpu_engine_gb10.o tests/test_omega_gpu_engine_gb10.c +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -D_GNU_SOURCE -pthread -ffp-contract=off -Isrc -Itests -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include \ + -o build/gpu_serving_alloc_count_test tests/gpu_serving_alloc_count_test.c tests/fake_m16_native.c src/omega_gpu_session.c src/omega_gpu_platform.c src/omega_gpu_platform_linux.c src/omega_gpu_fmt.c src/omega_gpu_matmul_api.c src/omega_gpu_attention_api.c src/omega_gpu_serving.c src/omega_gpu_wait.c src/omega_blackwell_codegen.c src/omega_blackwell_encoder.c src/omega_blackwell_qmd.c src/omega_blackwell_matmul.c src/sha256.c -lm +BE_ALLOC_OWN_CHECK_FREE KILLED a buffer that fails its own checks is freed, not leaked (7 failing case(s), first: m_short_pb_balanced) +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -ffreestanding -fno-builtin -fno-stack-protector -U_FORTIFY_SOURCE -DOMEGA_GPU_NO_POSIX -DOMEGA_NUMERIC_CPU_ONLY -Isrc -c -o build/gpu_fs/omega_gpu_engine.o src/omega_gpu_engine.c +BE_ROLE_FREE_SKIPPED KILLED free_buf really frees a program, input or output buffer (28 failing case(s), first: m_success_balanced) +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -ffreestanding -fno-builtin -fno-stack-protector -U_FORTIFY_SOURCE -DOMEGA_GPU_NO_POSIX -DOMEGA_NUMERIC_CPU_ONLY -Isrc -c -o build/gpu_fs/omega_gpu_platform.o src/omega_gpu_platform.c +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -ffreestanding -fno-builtin -fno-stack-protector -U_FORTIFY_SOURCE -DOMEGA_GPU_NO_POSIX -DOMEGA_NUMERIC_CPU_ONLY -Isrc -c -o build/gpu_fs/omega_blackwell_encoder.o src/omega_blackwell_encoder.c +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -ffreestanding -fno-builtin -fno-stack-protector -U_FORTIFY_SOURCE -DOMEGA_GPU_NO_POSIX -DOMEGA_NUMERIC_CPU_ONLY -Isrc -c -o build/gpu_fs/omega_blackwell_codegen.o src/omega_blackwell_codegen.c +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -ffreestanding -fno-builtin -fno-stack-protector -U_FORTIFY_SOURCE -DOMEGA_GPU_NO_POSIX -DOMEGA_NUMERIC_CPU_ONLY -Isrc -c -o build/gpu_fs/omega_blackwell_matmul.o src/omega_blackwell_matmul.c +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -ffreestanding -fno-builtin -fno-stack-protector -U_FORTIFY_SOURCE -DOMEGA_GPU_NO_POSIX -DOMEGA_NUMERIC_CPU_ONLY -Isrc -c -o build/gpu_fs/omega_blackwell_qmd.o src/omega_blackwell_qmd.c +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -ffreestanding -fno-builtin -fno-stack-protector -U_FORTIFY_SOURCE -DOMEGA_GPU_NO_POSIX -DOMEGA_NUMERIC_CPU_ONLY -Isrc -c -o build/gpu_fs/omega_blackwell_realize.o src/omega_blackwell_realize.c +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -ffreestanding -fno-builtin -fno-stack-protector -U_FORTIFY_SOURCE -DOMEGA_GPU_NO_POSIX -DOMEGA_NUMERIC_CPU_ONLY -Isrc -c -o build/gpu_fs/sha256.o src/sha256.c +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -ffreestanding -fno-builtin -fno-stack-protector -U_FORTIFY_SOURCE -DOMEGA_GPU_NO_POSIX -DOMEGA_NUMERIC_CPU_ONLY -Isrc -c -o build/gpu_fs/omega_gpu_session.o src/omega_gpu_session.c +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -ffreestanding -fno-builtin -fno-stack-protector -U_FORTIFY_SOURCE -DOMEGA_GPU_NO_POSIX -DOMEGA_NUMERIC_CPU_ONLY -Isrc -c -o build/gpu_fs/omega_gpu_fmt.o src/omega_gpu_fmt.c +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -ffreestanding -fno-builtin -fno-stack-protector -U_FORTIFY_SOURCE -DOMEGA_GPU_NO_POSIX -DOMEGA_NUMERIC_CPU_ONLY -Isrc -c -o build/gpu_fs/omega_gpu_matmul_api.o src/omega_gpu_matmul_api.c +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -ffreestanding -fno-builtin -fno-stack-protector -U_FORTIFY_SOURCE -DOMEGA_GPU_NO_POSIX -DOMEGA_NUMERIC_CPU_ONLY -Isrc -c -o build/gpu_fs/omega_gpu_attention_api.o src/omega_gpu_attention_api.c +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -ffreestanding -fno-builtin -fno-stack-protector -U_FORTIFY_SOURCE -DOMEGA_GPU_NO_POSIX -DOMEGA_NUMERIC_CPU_ONLY -Isrc -c -o build/gpu_fs/omega_gpu_serving.o src/omega_gpu_serving.c +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -ffreestanding -fno-builtin -fno-stack-protector -U_FORTIFY_SOURCE -DOMEGA_GPU_NO_POSIX -DOMEGA_NUMERIC_CPU_ONLY -Isrc -c -o build/gpu_fs/omega_gpu_wait.o src/omega_gpu_wait.c +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -Isrc -DOMEGA_NUMERIC_CPU_ONLY -DOMEGA_GPU_NO_POSIX \ + -o build/test_omega_gpu_engine_freestanding tests/test_omega_gpu_engine.c build/gpu_fs/omega_gpu_engine.o +BE_SCRATCH_FREE_SKIPPED KILLED release_scratch really frees all four SCRATCH parts (32 failing case(s), first: m_success_balanced) +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -Isrc -o build/test_omega_gpu_platform tests/test_omega_gpu_platform.c build/gpu_fs/omega_gpu_platform.o +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -Isrc -o build/test_codegen_hosted tests/test_omega_codegen_freestanding.c \ + src/omega_blackwell_codegen.c src/omega_blackwell_matmul.c src/sha256.c +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -D_GNU_SOURCE -pthread -Isrc -Itests -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include \ + -o build/test_omega_gpu_platform_linux tests/test_omega_gpu_platform_linux.c tests/fake_m16_native.c src/omega_gpu_session.c src/omega_gpu_platform.c src/omega_gpu_platform_linux.c src/omega_gpu_fmt.c src/omega_blackwell_qmd.c src/omega_gpu_mem_cached.c src/omega_gpu_cmdlist.c src/omega_blackwell_codegen.c src/omega_blackwell_encoder.c src/omega_blackwell_matmul.c src/omega_blackwell_realize.c src/sha256.c -lm +BE_SCRATCH_FREE_ERROR_DROPPED KILLED a failed SCRATCH part free is reported (2 failing case(s), first: m_cleanup_free_scratch_name_step_state) +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -D_GNU_SOURCE -Isrc -o build/test_omega_gpu_wait tests/test_omega_gpu_wait.c src/omega_gpu_wait.c +cc -O2 -Wall -Wextra -Werror -I m16 tests/test_m16_gpu_wait.c m16/m16_gpu_wait.c -o build/m16_gpu_wait/test_real +MUTANT STALL_NEVER_RESETS killed by progress_resets_idle +MUTANT PROGRESS_EXTENDS_HARD killed by hard_deadline_with_progress +MUTANT NO_BARRIER killed by barrier_before_read +M16_GPU_WAIT_MUTANTS PASS (3/3 killed) +CC="cc" tools/runtime_api_check.sh docs/runtime/omega_runtime_api.manifest . build/baseline/runtime-api/real docs/runtime/API.md +BE_SCRATCH_FREE_STOPS_AT_ERROR KILLED one failed SCRATCH part free does not leave the other parts allocated (1 failing case(s), first: m_cleanup_free_scratch_all_four_parts_attempted) +RESULT: PASS (runtime API 0.1: 91 functions, 28 structs, 236 fields, 159 constants match the headers) +CC="cc" tools/runtime_api_negative.sh docs/runtime/omega_runtime_api.manifest . build/baseline/runtime-api docs/runtime/API.md +BE_SCRATCH_ALLOC_FAIL_NO_RELEASE KILLED a failed SCRATCH allocation frees the parts that did succeed (the core does not) (5 failing case(s), first: m_alloc2_balanced) +BE_ERRNO_NOT_RESTORED KILLED the frees after a failed SCRATCH allocation do not clobber the errno the core reads (3 failing case(s), first: m_alloc2_errno_code_text) +BE_ALLOC_FAIL_TEXT_RESTORE SURVIVED_REDUNDANT the failure text survives the cleanup frees (redundant: release_scratch writes neither c->text nor the driver text on a successful free, in the simulated driver and in nvrm_free (physics nvrm.h: free only zeroes the NvrmMem); the restore is a safety net for a driver that writes text on success, which no model here does) +NEGATIVE CONTROL removed-function: FAILED as it must (header disagrees with manifest: fn omega_gpu_session_alloc_code) +NEGATIVE CONTROL missing-version: FAILED as it must (version macro missing: OMEGA_RUNTIME_API_VERSION_MAJOR) +BE_SCRATCH_PB_NOT_INSTALLED KILLED the large pushbuffer ring replaces the channel's 4 KiB buffer (1 failing case(s), first: m_success_large_pushbuffer_ring) +BE_PB_REPLACED_RESET SURVIVED_REDUNDANT the flag that records the replaced ring is cleared after SCRATCH is freed (redundant: the zeroing of m.pb_mem stays (it is a separate line); a stale flag only repeats that harmless zeroing, and open memsets the whole context each run. physics m16_native_close is only nvrm_close(&ctx->rm) and never reads pb_mem) +BE_BUSY_CHECK_DROPPED KILLED a second open while a run is retained is refused (14 failing case(s), first: m_unc_marker_hang_second_open_refused_by_backend) +BE_OPEN_FAIL_KEEPS_BUSY KILLED a failed open releases the busy flag (72 failing case(s), first: m_open_fail_then_next_run_ok) +NEGATIVE CONTROL changed-signature: FAILED as it must (header disagrees with manifest: fn omega_gpu_session_free) +NEGATIVE CONTROL changed-struct: FAILED as it must (manifest says `struct OmegaGpuLaunch ) +NEGATIVE CONTROL changed-constant: FAILED as it must (manifest says `const OMEGA_GPU_SESSION_MAX_ARGS ) +NEGATIVE CONTROL version-doc-mismatch: FAILED as it must (must contain the line "Omega Runtime API version:) +NEGATIVE CONTROL stable-without-doc: FAILED as it must (STABLE entry omega_gpu_session_launch has no) +NEGATIVE CONTROL wrong-quoted-signature: FAILED as it must (signature quoted in) +BE_CLOSE_BUSY_CLEAR_DROPPED KILLED close releases the busy flag so the next run can open (171 failing case(s), first: m_noc3_returns_ok) +NEGATIVE CONTROL signature-inside-another: FAILED as it must (signature quoted in) +RESULT: PASS (every negative control was caught) +sh tools/runtime_portability_check.sh . docs/runtime/portability_table.tsv mk/omega-gpu-engine.mk +PASS: 102 rows, every omega_gpu_* / omega_blackwell_* / omega_bw_* file in src/ has one and the rows agree with the includes +sh tools/runtime_portability_controls.sh build/runtime_r3_controls docs/runtime/portability_table.tsv mk/omega-gpu-engine.mk +BE_OPEN_MEMSET_DROPPED KILLED open resets the whole context, including the previous run's snapshot (4 failing case(s), first: m_noc3_run_info_marker2_not_reported) +CONTROL unchanged: PASS as required (scratch copy of the real tree and table) +BE_OPEN_NATIVE_FLAG_DROPPED KILLED a failed open still reports the driver's own text (14 failing case(s), first: m_open_fail_driver_text_reported) +CONTROL new-file-no-row: FAIL as required (a new omega_gpu_ file with no row) + FAIL: no row in the table for src/omega_gpu_zz_dummy.c +CONTROL row-missing-file: FAIL as required (a row for a file that does not exist) + FAIL: row names a missing file: src/omega_gpu_zz_ghost.c +BE_OPEN_ERROR_IGNORED KILLED a failed driver open is reported (DEVICE_OPEN) (5 failing case(s), first: m_open_fail_name_step_state) +CONTROL portable-includes-nvrm: FAIL as required (a PORTABLE file that includes nvrm.h) + FAIL: src/omega_gpu_wait.c: PORTABLE but includes a Linux/NVRM header: nvrm.h +BE_OPEN_LAST_RC_DROPPED KILLED the failed open's driver code reaches the result (1 failing case(s), first: m_open_fail_errno_and_driver_code) +CONTROL portable-row-on-linux-file: FAIL as required (the real Linux backend relabelled PORTABLE) + FAIL: src/omega_gpu_platform_linux.c: PORTABLE but includes a Linux/NVRM header: omega_gpu_platform_linux.h m16_native.h nvrm.h pthread.h +BE_CHANNEL_ERROR_IGNORED KILLED a failed channel create is reported (CHANNEL_CREATE) (2 failing case(s), first: m_channel_fail_name_step_state) +CONTROL portable-row-on-chip-file: FAIL as required (a file that includes Blackwell headers relabelled PORTABLE) + FAIL: src/omega_gpu_attention_api.c: PORTABLE but includes a Blackwell chip header: omega_blackwell_codegen.h omega_bw_reconv.h omega_blackwell_qmd.h omega_blackwell_submit.h +CONTROL guarded-include: PASS as required (an nvrm.h include inside #ifndef OMEGA_GPU_NO_POSIX is the hosted-only build and must not count) +BE_CHANNEL_LAST_RC_DROPPED KILLED the failed channel create's driver code reaches the result (1 failing case(s), first: m_channel_fail_errno_text_code) +CONTROL freestanding-claim-broken: FAIL as required (a freestanding-closure file that gained stdlib.h) + FAIL: src/omega_gpu_fmt.c: is in GPU_FS_SRCS but the include scan finds stdlib.h +ALL CONTROLS BEHAVED AS REQUIRED +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -DCUDAPP_NVIDIA_OPEN_ABI='"580.173.02"' -o build/baseline/cudapp-doctor tools/doctor/cudapp_doctor.c src/omega_gpu_chip.c +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen.c -o build/baseline/omega_blackwell_codegen.o +BE_ALLOC_LAST_RC_DROPPED KILLED the failed allocation's driver code reaches the result (4 failing case(s), first: m_alloc5_errno_code_text) +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_attn.c -o build/baseline/omega_blackwell_codegen_attn.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_bf16.c -o build/baseline/omega_blackwell_codegen_bf16.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_dec.c -o build/baseline/omega_blackwell_codegen_dec.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_gemm.c -o build/baseline/omega_blackwell_codegen_gemm.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_moe.c -o build/baseline/omega_blackwell_codegen_moe.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_moe2.c -o build/baseline/omega_blackwell_codegen_moe2.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_pattn.c -o build/baseline/omega_blackwell_codegen_pattn.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_pf.c -o build/baseline/omega_blackwell_codegen_pf.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_pfhost.c -o build/baseline/omega_blackwell_codegen_pfhost.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_qg.c -o build/baseline/omega_blackwell_codegen_qg.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_qmma.c -o build/baseline/omega_blackwell_codegen_qmma.o +BE_ALLOC_UNKNOWN_ROLE_ACCEPTED KILLED alloc refuses an unknown role (harness exit 139 (crash or abort)) +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_router.c -o build/baseline/omega_blackwell_codegen_router.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_tc.c -o build/baseline/omega_blackwell_codegen_tc.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_tc2.c -o build/baseline/omega_blackwell_codegen_tc2.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_tern.c -o build/baseline/omega_blackwell_codegen_tern.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_encoder.c -o build/baseline/omega_blackwell_encoder.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_engine.c -o build/baseline/omega_blackwell_engine.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_matmul.c -o build/baseline/omega_blackwell_matmul.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_qmd.c -o build/baseline/omega_blackwell_qmd.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_realize.c -o build/baseline/omega_blackwell_realize.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_submit.c -o build/baseline/omega_blackwell_submit.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_attention_api.c -o build/baseline/omega_gpu_attention_api.o +BE_ROLE_MEM_UPPER_BOUND KILLED a role above the last one has no buffer slot (4 failing case(s), first: m_guard_alloc_unknown_role_refused) +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_bf16_gemv_api.c -o build/baseline/omega_gpu_bf16_gemv_api.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_chip.c -o build/baseline/omega_gpu_chip.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_cmdlist.c -o build/baseline/omega_gpu_cmdlist.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_decode_attn_api.c -o build/baseline/omega_gpu_decode_attn_api.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_decode_graph.c -o build/baseline/omega_gpu_decode_graph.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_elementwise_api.c -o build/baseline/omega_gpu_elementwise_api.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_engine.c -o build/baseline/omega_gpu_engine.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_fmt.c -o build/baseline/omega_gpu_fmt.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_fp8_api.c -o build/baseline/omega_gpu_fp8_api.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_fp8_pack.c -o build/baseline/omega_gpu_fp8_pack.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_fp8gemm_api.c -o build/baseline/omega_gpu_fp8gemm_api.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_hostmath.c -o build/baseline/omega_gpu_hostmath.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_matmul_api.c -o build/baseline/omega_gpu_matmul_api.o +BE_ROLE_MEM_LOWER_BOUND KILLED a negative role has no buffer slot (2 failing case(s), first: m_guard_copy_in_negative_role_refused) +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_mem_cached.c -o build/baseline/omega_gpu_mem_cached.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_moe_api.c -o build/baseline/omega_gpu_moe_api.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_pfgemm.c -o build/baseline/omega_gpu_pfgemm.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_pfhost.c -o build/baseline/omega_gpu_pfhost.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_platform.c -o build/baseline/omega_gpu_platform.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_platform_linux.c -o build/baseline/omega_gpu_platform_linux.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_prefill.c -o build/baseline/omega_gpu_prefill.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_prefill_attn_api.c -o build/baseline/omega_gpu_prefill_attn_api.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_router_api.c -o build/baseline/omega_gpu_router_api.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_serving.c -o build/baseline/omega_gpu_serving.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_session.c -o build/baseline/omega_gpu_session.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_tcgemm_api.c -o build/baseline/omega_gpu_tcgemm_api.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_tern_api.c -o build/baseline/omega_gpu_tern_api.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_wait.c -o build/baseline/omega_gpu_wait.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/sha256.c -o build/baseline/sha256.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_canonical.c -o build/baseline/omega_canonical.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_core.c -o build/baseline/omega_core.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_vector.c -o build/baseline/omega_vector.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c ./m16/m16_native.c -o build/baseline/m16_native.o +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c ./nvrm/nvrm.c -o build/baseline/nvrm.o +./build/test_omega_gpu_code_alloc +OMEGA_GPU_CODE_ALLOC PASS +NO_TAIL mutant: killed (5 failing checks) +grep: src/runtime/*.c: No such file or directory +source scan: no page-only code sizing +OMEGA_GPU_CODE_ALLOC_GATE PASS +./build/test_omega_gpu_engine_compile +SUMMARY failed=0 +./build/test_omega_gpu_engine +[PASS] SUCCESS_FULL_RUN +[PASS] CALL_ORDER_FULL_RUN +[PASS] STATE_ADVANCES_STEP_BY_STEP +[PASS] ROLES_BYTES_AND_REVERSE_FREE_ORDER +[PASS] PER_STEP_TIMEOUTS_FROM_JOB +[PASS] POISON_WRITTEN_BEFORE_SUBMIT +[PASS] NO_C3_SKIPS_MARKER2_ONLY +[PASS] FAIL_DEVICE_OPEN +[PASS] FAIL_CHANNEL_CREATE +[PASS] FAIL_ALLOC +[PASS] FAIL_PREPARE_COPY_IN +[PASS] FAIL_PREPARE_FILL_POISON +[PASS] FAIL_PREPARE_BUILD +[PASS] FAIL_SUBMIT_IS_NOT_UNCERTAIN +[PASS] FAIL_VISIBILITY_BARRIER +[PASS] FAIL_VISIBILITY_COPY_OUT +[PASS] UNCERTAIN_MARKER_TIMEOUT +[PASS] UNCERTAIN_BLOCKS_NEXT_JOB_NO_BACKEND_CALL +[PASS] UNCERTAIN_TEST_RESET_CLEARS_BLOCK +[PASS] UNCERTAIN_MARKER2_UNKNOWN_STATE +[PASS] UNCERTAIN_RELEASE_DRIVER_FAULT +[PASS] UNCHANGED_NOTHING_WRITTEN +[PASS] UNCHANGED_PARTIAL_EXACT_COUNT +[PASS] UNCHANGED_LAST_WORD_ONLY +[PASS] UNCHANGED_FIRST_WORD_ONLY +[PASS] UNCHANGED_ALL_WRITTEN_IS_SUCCESS +[PASS] UNCHANGED_NEEDS_POISON_FILL +[PASS] CLEANUP_FREE_FAILS_AFTER_GOOD_RUN +[PASS] CLEANUP_CLOSE_FAILS_AFTER_GOOD_RUN +[PASS] CLEANUP_FIRST_CLEANUP_FAULT_KEPT +[PASS] CLEANUP_FAULT_NEVER_OVERWRITES_FIRST_FAILURE +[PASS] CLEANUP_FAULT_AFTER_UNCHANGED_KEEPS_UNCHANGED +[PASS] INVALID_ARGS_PROGRAM +[PASS] INVALID_ARGS_LAYOUT +[PASS] INVALID_ARGS_ZERO_ELEMENTS +[PASS] INVALID_ARGS_BUFFERS +[PASS] INVALID_ARGS_OUTPUT_ALIGNMENT +[PASS] INVALID_ARGS_POISON +[PASS] INVALID_ARGS_UNKNOWN_FLAG +[PASS] INVALID_ARGS_ZERO_MARKER_TIMEOUT +[PASS] INVALID_ARGS_ZERO_RELEASE_TIMEOUT +[PASS] INVALID_ARGS_ZERO_VISIBILITY_TIMEOUT +[PASS] INVALID_ARGS_ZERO_MARKER2_TIMEOUT_WITH_C3 +[PASS] INVALID_ARGS_NULL_JOB +[PASS] INVALID_ARGS_NULL_RESULT +[PASS] BLOCKED_REFUSES_BEFORE_ANY_CHECK_OR_CALL +[PASS] BLOCK_RESET_ALLOWS_JOBS_AGAIN +[PASS] NO_BACKEND_NOT_IMPLEMENTED +[PASS] BACKEND_TABLE_INCOMPLETE_REFUSED +SUMMARY passed=49 failed=0 +./build/test_omega_blackwell_engine +[PASS] sim_setup_encoder_ok +[PASS] sim_success_returns_ok +[PASS] sim_success_state +[PASS] sim_success_result_flags_clear +[PASS] sim_success_not_blocked +[PASS] sim_success_output_values +[PASS] sim_success_unchanged_zero +[PASS] sim_success_call_order +[PASS] sim_success_driver_counts +[PASS] sim_success_all_allocs_gpu_uncached +[PASS] sim_success_alloc_sizes +[PASS] sim_success_balanced +[PASS] sim_success_large_pushbuffer_ring +[PASS] sim_success_pushbuffer_parses +[PASS] sim_success_doorbell_state_captured +[PASS] sim_success_marker1_zeroed_before_doorbell +[PASS] sim_success_marker2_zeroed_before_doorbell +[PASS] sim_success_semaphore_zeroed_before_doorbell +[PASS] sim_success_semaphore_init_value +[PASS] sim_success_pushbuffer_order +[PASS] sim_success_one_flush_two_releases +[PASS] sim_success_cbank_upload_words_and_place +[PASS] sim_success_args_upload_words_and_place +[PASS] sim_success_qmd0_is_not_the_kernel_and_place +[PASS] sim_success_qmd1_is_the_kernel_and_place +[PASS] sim_success_flush_operation +[PASS] sim_success_release1_address_payload_flags +[PASS] sim_success_release2_is_marker_page_plus_0x10 +[PASS] sim_success_release2_payload_and_flags +[PASS] sim_success_kernel_ran_once_with_right_program +[PASS] sim_success_kernel_threads_and_count +[PASS] sim_success_kernel_arguments_are_a_b_output +[PASS] sim_success_kernel_program_and_cbank_addresses +[PASS] sim_success_marker_and_semaphore_places +[PASS] sim_success_poison_reached_device_output +[PASS] sim_success_poison_never_equals_a_sum +[PASS] sim_success_wait_counts +[PASS] sim_success_wait_expected_values +[PASS] sim_success_wait_timeouts_come_from_the_job +[PASS] sim_success_wait_order_marker_marker2_semaphore +[PASS] sim_success_run_info_words +[PASS] sim_success_run_info_launch_time_set +[PASS] sim_success_run_info_done_time_after_launch +[PASS] sim_noc3_returns_ok +[PASS] sim_noc3_output_values +[PASS] sim_noc3_no_flush_in_pushbuffer +[PASS] sim_noc3_one_release_only +[PASS] sim_noc3_marker2_never_waited +[PASS] sim_noc3_marker1_and_semaphore_waited +[PASS] sim_noc3_run_info_marker2_not_reported +[PASS] sim_noc3_balanced +[PASS] sim_twice_first_ok +[PASS] sim_twice_second_ok_busy_flag_released +[PASS] sim_twice_driver_opened_and_closed_twice +[PASS] sim_open_fail_name_step_state +[PASS] sim_open_fail_errno_and_driver_code +[PASS] sim_open_fail_driver_text_reported +[PASS] sim_open_fail_nothing_else_touched +[PASS] sim_open_fail_not_retained_not_blocked +[PASS] sim_open_fail_run_info_reset_at_open +[PASS] sim_open_fail_then_next_run_ok +[PASS] sim_channel_fail_name_step_state +[PASS] sim_channel_fail_errno_text_code +[PASS] sim_channel_fail_closed_nothing_allocated +[PASS] sim_channel_fail_then_next_run_ok +[PASS] sim_alloc1_name_step_state +[PASS] sim_alloc1_errno_code_text +[PASS] sim_alloc1_stops_at_the_failure +[PASS] sim_alloc1_balanced +[PASS] sim_alloc2_name_step_state +[PASS] sim_alloc2_errno_code_text +[PASS] sim_alloc2_stops_at_the_failure +[PASS] sim_alloc2_balanced +[PASS] sim_alloc3_name_step_state +[PASS] sim_alloc3_errno_code_text +[PASS] sim_alloc3_stops_at_the_failure +[PASS] sim_alloc3_balanced +[PASS] sim_alloc4_name_step_state +[PASS] sim_alloc4_errno_code_text +[PASS] sim_alloc4_stops_at_the_failure +[PASS] sim_alloc4_balanced +[PASS] sim_alloc5_name_step_state +[PASS] sim_alloc5_errno_code_text +[PASS] sim_alloc5_stops_at_the_failure +[PASS] sim_alloc5_balanced +[PASS] sim_alloc6_name_step_state +[PASS] sim_alloc6_errno_code_text +[PASS] sim_alloc6_stops_at_the_failure +[PASS] sim_alloc6_balanced +[PASS] sim_alloc7_name_step_state +[PASS] sim_alloc7_errno_code_text +[PASS] sim_alloc7_stops_at_the_failure +[PASS] sim_alloc7_balanced +[PASS] sim_alloc8_name_step_state +[PASS] sim_alloc8_errno_code_text +[PASS] sim_alloc8_stops_at_the_failure +[PASS] sim_alloc8_balanced +[PASS] sim_short_pb_refused_as_alloc +[PASS] sim_short_pb_own_check_text +[PASS] sim_short_pb_balanced +[PASS] sim_nocpu_marker_refused_as_alloc +[PASS] sim_nocpu_marker_own_check_text +[PASS] sim_nocpu_marker_balanced +[PASS] sim_misaligned_qmd_refused_as_alloc +[PASS] sim_misaligned_qmd_own_check_text +[PASS] sim_misaligned_qmd_balanced +[PASS] sim_short_input_a_refused_as_alloc +[PASS] sim_short_input_a_own_check_text +[PASS] sim_short_input_a_balanced +[PASS] sim_nocpu_input_a_refused_as_alloc +[PASS] sim_nocpu_input_a_own_check_text +[PASS] sim_nocpu_input_a_balanced +[PASS] sim_misaligned_input_a_refused_as_alloc +[PASS] sim_misaligned_input_a_own_check_text +[PASS] sim_misaligned_input_a_balanced +[PASS] sim_nocpu_output_refused_as_alloc +[PASS] sim_nocpu_output_own_check_text +[PASS] sim_nocpu_output_balanced +[PASS] sim_submit_fail_name_step_state +[PASS] sim_submit_fail_errno_code_text +[PASS] sim_submit_fail_is_not_uncertain +[PASS] sim_submit_fail_cleaned_up +[PASS] sim_unc_marker_hang_name_step_wait +[PASS] sim_unc_marker_hang_last_state_submitted +[PASS] sim_unc_marker_hang_limit_and_waited_ms +[PASS] sim_unc_marker_hang_observed_words +[PASS] sim_unc_marker_hang_sync_valid_mask +[PASS] sim_unc_marker_hang_retained_and_blocked +[PASS] sim_unc_marker_hang_nothing_freed_nothing_closed +[PASS] sim_unc_marker_hang_driver_code +[PASS] sim_unc_marker_hang_run_info_marker +[PASS] sim_unc_marker_hang_run_info_done_time_only_if_marker_succeeded +[PASS] sim_unc_marker_hang_run_info_marker2_when_it_was_the_failed_wait +[PASS] sim_unc_marker_hang_run_info_semaphore_when_it_was_the_failed_wait +[PASS] sim_unc_marker_hang_no_marker2_wait_with_noc3 +[PASS] sim_unc_marker_hang_next_job_blocked +[PASS] sim_unc_marker_hang_second_open_refused_by_backend +[PASS] sim_unc_marker_hang_still_retained_after_refusals +[PASS] sim_unc_marker_hang_drained_through_the_table +[PASS] sim_unc_marker_hang_backend_works_again_after_drain +[PASS] sim_unc_marker2_hang_name_step_wait +[PASS] sim_unc_marker2_hang_last_state_submitted +[PASS] sim_unc_marker2_hang_limit_and_waited_ms +[PASS] sim_unc_marker2_hang_observed_words +[PASS] sim_unc_marker2_hang_sync_valid_mask +[PASS] sim_unc_marker2_hang_retained_and_blocked +[PASS] sim_unc_marker2_hang_nothing_freed_nothing_closed +[PASS] sim_unc_marker2_hang_driver_code +[PASS] sim_unc_marker2_hang_run_info_marker +[PASS] sim_unc_marker2_hang_run_info_done_time_only_if_marker_succeeded +[PASS] sim_unc_marker2_hang_run_info_marker2_when_it_was_the_failed_wait +[PASS] sim_unc_marker2_hang_run_info_semaphore_when_it_was_the_failed_wait +[PASS] sim_unc_marker2_hang_no_marker2_wait_with_noc3 +[PASS] sim_unc_marker2_hang_next_job_blocked +[PASS] sim_unc_marker2_hang_second_open_refused_by_backend +[PASS] sim_unc_marker2_hang_still_retained_after_refusals +[PASS] sim_unc_marker2_hang_drained_through_the_table +[PASS] sim_unc_marker2_hang_backend_works_again_after_drain +[PASS] sim_unc_semaphore_hang_name_step_wait +[PASS] sim_unc_semaphore_hang_last_state_submitted +[PASS] sim_unc_semaphore_hang_limit_and_waited_ms +[PASS] sim_unc_semaphore_hang_observed_words +[PASS] sim_unc_semaphore_hang_sync_valid_mask +[PASS] sim_unc_semaphore_hang_retained_and_blocked +[PASS] sim_unc_semaphore_hang_nothing_freed_nothing_closed +[PASS] sim_unc_semaphore_hang_driver_code +[PASS] sim_unc_semaphore_hang_run_info_marker +[PASS] sim_unc_semaphore_hang_run_info_done_time_only_if_marker_succeeded +[PASS] sim_unc_semaphore_hang_run_info_marker2_when_it_was_the_failed_wait +[PASS] sim_unc_semaphore_hang_run_info_semaphore_when_it_was_the_failed_wait +[PASS] sim_unc_semaphore_hang_no_marker2_wait_with_noc3 +[PASS] sim_unc_semaphore_hang_next_job_blocked +[PASS] sim_unc_semaphore_hang_second_open_refused_by_backend +[PASS] sim_unc_semaphore_hang_still_retained_after_refusals +[PASS] sim_unc_semaphore_hang_drained_through_the_table +[PASS] sim_unc_semaphore_hang_backend_works_again_after_drain +[PASS] sim_unc_marker_overshoot_name_step_wait +[PASS] sim_unc_marker_overshoot_last_state_submitted +[PASS] sim_unc_marker_overshoot_limit_and_waited_ms +[PASS] sim_unc_marker_overshoot_observed_words +[PASS] sim_unc_marker_overshoot_sync_valid_mask +[PASS] sim_unc_marker_overshoot_driver_text +[PASS] sim_unc_marker_overshoot_retained_and_blocked +[PASS] sim_unc_marker_overshoot_nothing_freed_nothing_closed +[PASS] sim_unc_marker_overshoot_driver_code +[PASS] sim_unc_marker_overshoot_run_info_marker +[PASS] sim_unc_marker_overshoot_run_info_done_time_only_if_marker_succeeded +[PASS] sim_unc_marker_overshoot_run_info_marker2_when_it_was_the_failed_wait +[PASS] sim_unc_marker_overshoot_run_info_semaphore_when_it_was_the_failed_wait +[PASS] sim_unc_marker_overshoot_no_marker2_wait_with_noc3 +[PASS] sim_unc_marker_overshoot_next_job_blocked +[PASS] sim_unc_marker_overshoot_second_open_refused_by_backend +[PASS] sim_unc_marker_overshoot_still_retained_after_refusals +[PASS] sim_unc_marker_overshoot_drained_through_the_table +[PASS] sim_unc_marker_overshoot_backend_works_again_after_drain +[PASS] sim_unc_marker2_overshoot_name_step_wait +[PASS] sim_unc_marker2_overshoot_last_state_submitted +[PASS] sim_unc_marker2_overshoot_limit_and_waited_ms +[PASS] sim_unc_marker2_overshoot_observed_words +[PASS] sim_unc_marker2_overshoot_sync_valid_mask +[PASS] sim_unc_marker2_overshoot_driver_text +[PASS] sim_unc_marker2_overshoot_retained_and_blocked +[PASS] sim_unc_marker2_overshoot_nothing_freed_nothing_closed +[PASS] sim_unc_marker2_overshoot_driver_code +[PASS] sim_unc_marker2_overshoot_run_info_marker +[PASS] sim_unc_marker2_overshoot_run_info_done_time_only_if_marker_succeeded +[PASS] sim_unc_marker2_overshoot_run_info_marker2_when_it_was_the_failed_wait +[PASS] sim_unc_marker2_overshoot_run_info_semaphore_when_it_was_the_failed_wait +[PASS] sim_unc_marker2_overshoot_no_marker2_wait_with_noc3 +[PASS] sim_unc_marker2_overshoot_next_job_blocked +[PASS] sim_unc_marker2_overshoot_second_open_refused_by_backend +[PASS] sim_unc_marker2_overshoot_still_retained_after_refusals +[PASS] sim_unc_marker2_overshoot_drained_through_the_table +[PASS] sim_unc_marker2_overshoot_backend_works_again_after_drain +[PASS] sim_unc_semaphore_overshoot_name_step_wait +[PASS] sim_unc_semaphore_overshoot_last_state_submitted +[PASS] sim_unc_semaphore_overshoot_limit_and_waited_ms +[PASS] sim_unc_semaphore_overshoot_observed_words +[PASS] sim_unc_semaphore_overshoot_sync_valid_mask +[PASS] sim_unc_semaphore_overshoot_driver_text +[PASS] sim_unc_semaphore_overshoot_retained_and_blocked +[PASS] sim_unc_semaphore_overshoot_nothing_freed_nothing_closed +[PASS] sim_unc_semaphore_overshoot_driver_code +[PASS] sim_unc_semaphore_overshoot_run_info_marker +[PASS] sim_unc_semaphore_overshoot_run_info_done_time_only_if_marker_succeeded +[PASS] sim_unc_semaphore_overshoot_run_info_marker2_when_it_was_the_failed_wait +[PASS] sim_unc_semaphore_overshoot_run_info_semaphore_when_it_was_the_failed_wait +[PASS] sim_unc_semaphore_overshoot_no_marker2_wait_with_noc3 +[PASS] sim_unc_semaphore_overshoot_next_job_blocked +[PASS] sim_unc_semaphore_overshoot_second_open_refused_by_backend +[PASS] sim_unc_semaphore_overshoot_still_retained_after_refusals +[PASS] sim_unc_semaphore_overshoot_drained_through_the_table +[PASS] sim_unc_semaphore_overshoot_backend_works_again_after_drain +[PASS] sim_unc_noc3_semaphore_hang_name_step_wait +[PASS] sim_unc_noc3_semaphore_hang_last_state_submitted +[PASS] sim_unc_noc3_semaphore_hang_limit_and_waited_ms +[PASS] sim_unc_noc3_semaphore_hang_observed_words +[PASS] sim_unc_noc3_semaphore_hang_sync_valid_mask +[PASS] sim_unc_noc3_semaphore_hang_retained_and_blocked +[PASS] sim_unc_noc3_semaphore_hang_nothing_freed_nothing_closed +[PASS] sim_unc_noc3_semaphore_hang_driver_code +[PASS] sim_unc_noc3_semaphore_hang_run_info_marker +[PASS] sim_unc_noc3_semaphore_hang_run_info_done_time_only_if_marker_succeeded +[PASS] sim_unc_noc3_semaphore_hang_run_info_marker2_when_it_was_the_failed_wait +[PASS] sim_unc_noc3_semaphore_hang_run_info_semaphore_when_it_was_the_failed_wait +[PASS] sim_unc_noc3_semaphore_hang_no_marker2_wait_with_noc3 +[PASS] sim_unc_noc3_semaphore_hang_next_job_blocked +[PASS] sim_unc_noc3_semaphore_hang_second_open_refused_by_backend +[PASS] sim_unc_noc3_semaphore_hang_still_retained_after_refusals +[PASS] sim_unc_noc3_semaphore_hang_drained_through_the_table +[PASS] sim_unc_noc3_semaphore_hang_backend_works_again_after_drain +[PASS] sim_cleanup_free_role_name_step_state +[PASS] sim_cleanup_free_role_flag_errno_text +[PASS] sim_cleanup_free_role_every_free_attempted_and_closed +[PASS] sim_cleanup_free_role_words_still_mapped_at_capture +[PASS] sim_cleanup_free_role_not_uncertaiGB10_VECTOR_FAIL failure=CLEANUP step=FREE state=OUTPUT_PRODUCED drv_rc=-1 errno=5 text="fake driver says no" +GB10_VECTOR_FAIL failure=OUTPUT_UNCHANGED step=SCAN state=OUTPUT_VISIBLE drv_rc=0 errno=0 text="" +GB10_VECTOR_FAIL failure=COMPLETION_WAIT step=WAIT_MARKER state=SUBMITTED drv_rc=-1 errno=0 text="" +n +[PASS] sim_cleanup_free_scratch_name_step_state +[PASS] sim_cleanup_free_scratch_code_and_text +[PASS] sim_cleanup_free_scratch_all_four_parts_attempted +[PASS] sim_cleanup_free_scratch_sync_words_unmapped_before_free +[PASS] sim_cleanup_close_name_step_state +[PASS] sim_cleanup_close_flag_errno_text +[PASS] sim_cleanup_close_all_freed_first +[PASS] sim_cleanup_close_failure_still_releases_busy_flag +[PASS] sim_unchanged_nowrite_name_step_state +[PASS] sim_unchanged_nowrite_counts_every_word +[PASS] sim_unchanged_nowrite_completion_was_seen +[PASS] sim_unchanged_nowrite_cleaned_up_not_retained +[PASS] sim_unchanged_half_counts_the_unwritten_half +[PASS] sim_unchanged_wrong_program_bytes_detected +[PASS] sim_guard_open_ok +[PASS] sim_guard_channel_ok +[PASS] sim_guard_alloc_zero_bytes_refused +[PASS] sim_guard_alloc_unknown_role_refused +[PASS] sim_guard_alloc_rounds_up_to_whole_pages +[PASS] sim_guard_free_after_rounding_ok +[PASS] sim_guard_wait_before_build_refused_without_driver_call +[PASS] sim_guard_submit_before_build_refused +[PASS] sim_guard_build_without_buffers_refused +[PASS] sim_guard_alloc_scratch_ok +[PASS] sim_guard_alloc_program_ok +[PASS] sim_guard_alloc_a_ok +[PASS] sim_guard_alloc_b_ok +[PASS] sim_guard_alloc_output_ok +[PASS] sim_guard_copy_in_negative_role_refused +[PASS] sim_guard_free_negative_role_refused +[PASS] sim_guard_build_null_job_refused +[PASS] sim_guard_build_unknown_layout_refused +[PASS] sim_guard_build_zero_count_refused +[PASS] sim_guard_build_count_beyond_the_buffers_refused +[PASS] sim_guard_copy_in_too_long_refused +[PASS] sim_guard_copy_in_unknown_role_refused +[PASS] sim_guard_copy_in_null_source_refused +[PASS] sim_guard_fill_poison_too_long_refused +[PASS] sim_guard_fill_poison_null_refused +[PASS] sim_guard_copy_out_too_long_refused +[PASS] sim_guard_copy_out_null_refused +[PASS] sim_guard_free_unknown_role_refused +[PASS] sim_guard_valid_copy_in_ok +[PASS] sim_guard_valid_fill_poison_ok +[PASS] sim_guard_valid_copy_out_returns_the_poison +[PASS] sim_guard_drain_ok +[PASS] sim_guard_nothing_leaked +[PASS] sim_close_setup_through_the_table +[PASS] sim_close_words_mapped_after_build +[PASS] sim_close_returns_zero +[PASS] sim_close_unmaps_every_sync_word +[PASS] sim_close_released_everything +[PASS] sim_vec_spec_init +[PASS] sim_vec_success_returns_zero +[PASS] sim_vec_success_output_values +[PASS] sim_vec_success_parity_verified +[PASS] sim_vec_success_completion_marker_and_semaphore +[PASS] sim_vec_success_shape_fields +[PASS] sim_vec_success_timestamps +[PASS] sim_vec_success_timeouts_are_5000_each +[PASS] sim_vec_success_all_protections_on +[PASS] sim_vec_success_encoded_program_reached_the_device +[PASS] sim_vec_success_poison_is_the_complement_of_the_sum +[PASS] sim_vec_success_poison_never_collides_even_for_0xdeadbeef +[PASS] sim_vec_success_balanced +[PASS] sim_vec_wrong_math_returns_nonzero +[PASS] sim_vec_wrong_math_parity_not_verified +[PASS] sim_vec_cleanup_fault_returns_nonzero +[PASS] sim_vec_unwritten_output_returns_nonzero +[PASS] sim_vec_hang_returns_nonzero +[PASS] sim_vec_hang_blocks_the_process_and_retains +[PASS] sim_vec_hang_drains +[PASS] sim_vec_null_spec_refused +[PASS] sim_vec_null_output_refused +[PASS] sim_vec_null_input_refused +[PASS] sim_vec_zero_count_refused +[PASS] sim_vec_refusals_never_touch_the_driver +[PASS] sim_vec_works_again +SUMMARY passed=334 failed=0 +./build/gpu_serving_alloc_count_test plain +BE_ROUND_PAGES_ZERO_ACCEPTED KILLED a zero-byte allocation is refused (3 failing case(s), first: m_guard_alloc_zero_bytes_refused) +MEASURE phase LOAD (session+6 weights) allocs 10 frees 0 alloc_bytes 924852224 matmul_calls 0 (code-cache misses 0, of which on a shape seen before 0, other scratch growth 0) attention_calls 0 (allocs 0) +MEASURE alloc sizes (6 distinct): 65536x2 4096x2 20971520x2 5242880x1 49807360x2 777912320x1 +MEASURE free sizes (0 distinct): +MEASURE phase WARMUP decode ctx=1 allocs 17 frees 4 alloc_bytes 11214848 matmul_calls 253 (code-cache misses 6, of which on a shape seen before 0, other scratch growth 6) attention_calls 36 (allocs 5) +MEASURE alloc sizes (10 distinct): 81920x1 262144x1 4096x7 12288x1 8192x1 16384x2 ... last 9723904x1 +MEASURE free sizes (4 distinct): 81920x1 262144x1 131072x1 622592x1 +MEASURE phase PREFILL-A 100 tokens allocs 107 frees 105 alloc_bytes 45051904 matmul_calls 253 (code-cache misses 5, of which on a shape seen before 0, other scratch growth 3) attention_calls 3600 (allocs 99) +MEASURE alloc sizes (102 distinct): 573440x2 4096x5 16384x1 24576x1 32768x1 40960x1 ... last 2179072x1 +MEASURE free sizes (101 distinct): 311296x2 8192x1 16384x1 24576x1 32768x1 40960x1 ... last 917504x1 +MEASURE phase DECODE-A 64 tokens allocs 70 frees 70 alloc_bytes 69492736 matmul_calls 16192 (code-cache misses 6, of which on a shape seen before 6, other scratch growth 0) attention_calls 2304 (allocs 64) +MEASURE alloc sizes (65 distinct): 4096x6 827392x1 835584x1 843776x1 851968x1 860160x1 ... last 1343488x1 +MEASURE free sizes (65 distinct): 4096x6 819200x1 827392x1 835584x1 843776x1 851968x1 ... last 1335296x1 +MEASURE phase PREFILL-B 200 tokens allocs 212 frees 212 alloc_bytes 435912704 matmul_calls 506 (code-cache misses 11, of which on a shape seen before 1, other scratch growth 1) attention_calls 7200 (allocs 200) +MEASURE alloc sizes (202 distinct): 8192x5 1351680x1 1359872x1 1368064x1 1376256x1 1384448x1 ... last 2981888x1 +MEASURE free sizes (202 distinct): 4096x8 1343488x1 1351680x1 1359872x1 1368064x1 1376256x1 ... last 8192x3 +MEASURE phase DECODE-B 64 tokens allocs 69 frees 69 alloc_bytes 207900672 matmul_calls 16192 (code-cache misses 5, of which on a shape seen before 5, other scratch growth 0) attention_calls 2304 (allocs 64) +MEASURE alloc sizes (65 distinct): 4096x5 2990080x1 2998272x1 3006464x1 3014656x1 3022848x1 ... last 3506176x1 +MEASURE free sizes (66 distinct): 8192x2 2981888x1 4096x3 2990080x1 2998272x1 3006464x1 ... last 3497984x1 +MEASURE AFTER WARM-UP: 458 driver allocations, 456 driver frees over 428 tokens of context (final ctx 428) +MEASURE distinct matmul kernel shapes seen (kp,np,grid_x): 21 (cache slots: 8) +MEASURE live driver buffers at end: 25 ; session opens: 1 ; launches reaching the fake: 48840 +MEASURE return codes: matmul ok 0, matmul poison-check CHIP_FAIL 33396, attention ok 0, attention UNWRITTEN 15444, other 0 +MEASURE leaked at close: 0 +gpu_serving_alloc_count_test plain: PASS (0 failed checks) +./build/gpu_serving_alloc_count_test reserve +BE_ROUND_PAGES_NO_ROUNDING KILLED allocation sizes round up to whole pages (1 failing case(s), first: m_guard_alloc_rounds_up_to_whole_pages) +BE_ROUND_PAGES_MINIMUM SURVIVED_REDUNDANT one-page minimum (redundant: after the zero check, rounding any nonzero byte count up to a page multiple already gives at least one page, so the minimum can never apply) +MEASURE phase LOAD (session+6 weights) allocs 10 frees 0 alloc_bytes 924852224 matmul_calls 0 (code-cache misses 0, of which on a shape seen before 0, other scratch growth 0) attention_calls 0 (allocs 0) +MEASURE alloc sizes (6 distinct): 65536x2 4096x2 20971520x2 5242880x1 49807360x2 777912320x1 +MEASURE free sizes (0 distinct): +MEASURE phase WARMUP decode ctx=1 allocs 17 frees 4 alloc_bytes 11214848 matmul_calls 253 (code-cache misses 6, of which on a shape seen before 0, other scratch growth 6) attention_calls 36 (allocs 5) +MEASURE alloc sizes (10 distinct): 81920x1 262144x1 4096x7 12288x1 8192x1 16384x2 ... last 9723904x1 +MEASURE free sizes (4 distinct): 81920x1 262144x1 131072x1 622592x1 +MEASURE phase WARMUP row classes allocs 21 frees 0 alloc_bytes 106496 matmul_calls 1012 (code-cache misses 21, of which on a shape seen before 6, other scratch growth 0) attention_calls 10836 (allocs 0) +MEASURE phase PREFILL-A 100 tokens allocs 0 frees 0 alloc_bytes 0 matmul_calls 253 (code-cache misses 0, of which on a shape seen before 0, other scratch growth 0) attention_calls 3600 (allocs 0) +MEASURE phase DECODE-A 64 tokens allocs 0 frees 0 alloc_bytes 0 matmul_calls 16192 (code-cache misses 0, of which on a shape seen before 0, other scratch growth 0) attention_calls 2304 (allocs 0) +MEASURE phase PREFILL-B 200 tokens allocs 0 frees 0 alloc_bytes 0 matmul_calls 506 (code-cache misses 0, of which on a shape seen before 0, other scratch growth 0) attention_calls 7200 (allocs 0) +MEASURE phase DECODE-B 64 tokens allocs 0 frees 0 alloc_bytes 0 matmul_calls 16192 (code-cache misses 0, of which on a shape seen before 0, other scratch growth 0) attention_calls 2304 (allocs 0) +MEASURE AFTER WARM-UP: 0 driver allocations, 0 driver frees over 428 tokens of context (final ctx 428) +MEASURE distinct matmul kernel shapes seen (kp,np,grid_x): 21 (cache slots: 32) +MEASURE live driver buffers at end: 38 ; session opens: 1 ; launches reaching the fake: 60688 +MEASURE return codes: matmul ok 0, matmul poison-check CHIP_FAIL 34408, attention ok 0, attention UNWRITTEN 26280, other 0 +MEASURE leaked at close: 0 +gpu_serving_alloc_count_test reserve: PASS (0 failed checks) +./build/gpu_serving_alloc_count_test bounds +MEASURE bounds: refused calls made 0 driver allocations; 33 rows -> TOO_LARGE, ctx 257 -> TOO_LARGE; error "serving reservation exceeded: ..." +gpu_serving_alloc_count_test bounds: PASS (0 failed checks) +./build/gpu_serving_alloc_count_test bounds-block +MEASURE bounds-block: 16 and 64 tokens (one 64-token block) served with 0 driver traffic; 65 tokens -> TOO_LARGE +gpu_serving_alloc_count_test bounds-block: PASS (0 failed checks) +./build/gpu_serving_alloc_count_test rollback +MEASURE rollback: 6 injected failures during reserve, none left anything flagged; the un-injected control stayed reserved +gpu_serving_alloc_count_test rollback: PASS (0 failed checks) +./build/gpu_serving_alloc_count_test sweep +BE_COPY_IN_NO_MEMCPY KILLED copy_in really copies the program and the inputs (34 failing case(s), first: m_success_returns_ok) +MEASURE sweep prepare: 83 driver allocations (one code buffer per distinct kernel) +MEASURE sweep serving (rows 1..256 x 6 shapes, twice): 0 driver allocations, 83 distinct kernels, 0 refused, 0 other +gpu_serving_alloc_count_test sweep: PASS (0 failed checks) +./build/gpu_serving_alloc_count_test pin +gpu_serving_alloc_count_test pin: PASS (0 failed checks) +./build/gpu_serving_alloc_count_test seal-bare +gpu_serving_alloc_count_test seal-bare: PASS (0 failed checks) +./build/gpu_serving_alloc_count_test update +gpu_serving_alloc_count_test update: PASS (0 failed checks) +BE_COPY_IN_BOUNDS KILLED copy_in refuses a length beyond the buffer (1 failing case(s), first: m_guard_copy_in_too_long_refused) +sweep-skip (control): MEASURE sweep serving (rows 1..256 x 6 shapes, twice): 174 driver allocations, 83 distinct kernels, 0 refused, 0 other +BE_COPY_IN_NULL_SOURCE KILLED copy_in refuses a NULL source (harness exit 139 (crash or abort)) +reserve-skip (no reservation call): fails as required (5 failing checks) +gcc -r -nostdlib -o build/gpu_fs/omega_gpu_freestanding.o build/gpu_fs/omega_gpu_engine.o build/gpu_fs/omega_gpu_platform.o build/gpu_fs/omega_blackwell_encoder.o build/gpu_fs/omega_blackwell_codegen.o build/gpu_fs/omega_blackwell_matmul.o build/gpu_fs/omega_blackwell_qmd.o build/gpu_fs/omega_blackwell_realize.o build/gpu_fs/sha256.o build/gpu_fs/omega_gpu_session.o build/gpu_fs/omega_gpu_fmt.o build/gpu_fs/omega_gpu_matmul_api.o build/gpu_fs/omega_gpu_attention_api.o build/gpu_fs/omega_gpu_serving.o build/gpu_fs/omega_gpu_wait.o +freestanding GPU link (14 files): only memcmp memcpy memset strcmp strlen undefined +./build/test_omega_gpu_wait +real never_written ok +real written_late ok +real marker2_gate ok +real seq_wrap32 ok +real progress_resets_idle ok +real barrier_each_read ok +real hard_deadline_with_progress ok +real fixed_overshoot ok +real invalid_state ok +real abort ok +real queue_wrap_sentinel ok +mutant naive_wall_clock killed mask 3ff (required 3ff) +mutant fixed_accepts_overshoot killed mask 082 (required 080) +mutant seq_unsigned_compare killed mask 379 (required 008) +gpu_wait: checks=130 real_failures=0 required_kills=12/12 +OMEGA_GPU_WAIT_HOST PASS +unflagged: PASS +OMEGA_GPU_WAIT_MUTANT_STALL_NO_RESET: killed (6 failing checks) +OMEGA_GPU_WAIT_MUTANT_PROGRESS_EXTENDS_HARD: killed (3 failing checks) +OMEGA_GPU_WAIT_MUTANT_NO_READ_BARRIER: killed (4 failing checks) +OMEGA_GPU_WAIT_MUTANTS PASS +build/m16_gpu_wait/test_real +real never_written ok +real written_late ok +real marker2_gate ok +real seq_wrap32 ok +real progress_resets_idle ok +real barrier_before_read ok +real hard_deadline_with_progress ok +real fixed_overshoot ok +real invalid_state ok +real abort ok +real failure_classes ok +mutant naive_wall_clock killed mask 7ff (required 7ff) +mutant fixed_accepts_overshoot killed mask 482 (required 080) +mutant seq_unsigned_compare killed mask 779 (required 008) +m16_gpu_wait: checks=149 real_failures=0 required_kills=13/13 +M16_GPU_WAIT_HOST PASS +sh tests/doctor/run.sh build/baseline/cudapp-doctor +PASS gb10-ready +PASS no-module +PASS module-version +PASS closed-module +PASS unknown-chip +PASS no-gpu +PASS no-uvm +PASS no-permission +PASS memory-line +doctor tests: 9 passed, 0 failed +ar rcs build/baseline/libomega_gpu.a build/baseline/omega_blackwell_codegen.o build/baseline/omega_blackwell_codegen_attn.o build/baseline/omega_blackwell_codegen_bf16.o build/baseline/omega_blackwell_codegen_dec.o build/baseline/omega_blackwell_codegen_gemm.o build/baseline/omega_blackwell_codegen_moe.o build/baseline/omega_blackwell_codegen_moe2.o build/baseline/omega_blackwell_codegen_pattn.o build/baseline/omega_blackwell_codegen_pf.o build/baseline/omega_blackwell_codegen_pfhost.o build/baseline/omega_blackwell_codegen_qg.o build/baseline/omega_blackwell_codegen_qmma.o build/baseline/omega_blackwell_codegen_router.o build/baseline/omega_blackwell_codegen_tc.o build/baseline/omega_blackwell_codegen_tc2.o build/baseline/omega_blackwell_codegen_tern.o build/baseline/omega_blackwell_encoder.o build/baseline/omega_blackwell_engine.o build/baseline/omega_blackwell_matmul.o build/baseline/omega_blackwell_qmd.o build/baseline/omega_blackwell_realize.o build/baseline/omega_blackwell_submit.o build/baseline/omega_gpu_attention_api.o build/baseline/omega_gpu_bf16_gemv_api.o build/baseline/omega_gpu_chip.o build/baseline/omega_gpu_cmdlist.o build/baseline/omega_gpu_decode_attn_api.o build/baseline/omega_gpu_decode_graph.o build/baseline/omega_gpu_elementwise_api.o build/baseline/omega_gpu_engine.o build/baseline/omega_gpu_fmt.o build/baseline/omega_gpu_fp8_api.o build/baseline/omega_gpu_fp8_pack.o build/baseline/omega_gpu_fp8gemm_api.o build/baseline/omega_gpu_hostmath.o build/baseline/omega_gpu_matmul_api.o build/baseline/omega_gpu_mem_cached.o build/baseline/omega_gpu_moe_api.o build/baseline/omega_gpu_pfgemm.o build/baseline/omega_gpu_pfhost.o build/baseline/omega_gpu_platform.o build/baseline/omega_gpu_platform_linux.o build/baseline/omega_gpu_prefill.o build/baseline/omega_gpu_prefill_attn_api.o build/baseline/omega_gpu_router_api.o build/baseline/omega_gpu_serving.o build/baseline/omega_gpu_session.o build/baseline/omega_gpu_tcgemm_api.o build/baseline/omega_gpu_tern_api.o build/baseline/omega_gpu_wait.o build/baseline/sha256.o build/baseline/omega_canonical.o build/baseline/omega_core.o build/baseline/omega_vector.o build/baseline/m16_native.o build/baseline/nvrm.o +./build/test_omega_gpu_engine_freestanding +[PASS] SUCCESS_FULL_RUN +[PASS] CALL_ORDER_FULL_RUN +[PASS] STATE_ADVANCES_STEP_BY_STEP +[PASS] ROLES_BYTES_AND_REVERSE_FREE_ORDER +[PASS] PER_STEP_TIMEOUTS_FROM_JOB +[PASS] POISON_WRITTEN_BEFORE_SUBMIT +[PASS] NO_C3_SKIPS_MARKER2_ONLY +[PASS] FAIL_DEVICE_OPEN +[PASS] FAIL_CHANNEL_CREATE +[PASS] FAIL_ALLOC +[PASS] FAIL_PREPARE_COPY_IN +[PASS] FAIL_PREPARE_FILL_POISON +[PASS] FAIL_PREPARE_BUILD +[PASS] FAIL_SUBMIT_IS_NOT_UNCERTAIN +[PASS] FAIL_VISIBILITY_BARRIER +[PASS] FAIL_VISIBILITY_COPY_OUT +[PASS] UNCERTAIN_MARKER_TIMEOUT +[PASS] UNCERTAIN_BLOCKS_NEXT_JOB_NO_BACKEND_CALL +[PASS] UNCERTAIN_TEST_RESET_CLEARS_BLOCK +[PASS] UNCERTAIN_MARKER2_UNKNOWN_STATE +[PASS] UNCERTAIN_RELEASE_DRIVER_FAULT +[PASS] UNCHANGED_NOTHING_WRITTEN +[PASS] UNCHANGED_PARTIAL_EXACT_COUNT +[PASS] UNCHANGED_LAST_WORD_ONLY +[PASS] UNCHANGED_FIRST_WORD_ONLY +[PASS] UNCHANGED_ALL_WRITTEN_IS_SUCCESS +[PASS] UNCHANGED_NEEDS_POISON_FILL +[PASS] CLEANUP_FREE_FAILS_AFTER_GOOD_RUN +[PASS] CLEANUP_CLOSE_FAILS_AFTER_GOOD_RUN +[PASS] CLEANUP_FIRST_CLEANUP_FAULT_KEPT +[PASS] CLEANUP_FAULT_NEVER_OVERWRITES_FIRST_FAILURE +[PASS] CLEANUP_FAULT_AFTER_UNCHANGED_KEEPS_UNCHANGED +[PASS] INVALID_ARGS_PROGRAM +[PASS] INVALID_ARGS_LAYOUT +[PASS] INVALID_ARGS_ZERO_ELEMENTS +[PASS] INVALID_ARGS_BUFFERS +[PASS] INVALID_ARGS_OUTPUT_ALIGNMENT +[PASS] INVALID_ARGS_POISON +[PASS] INVALID_ARGS_UNKNOWN_FLAG +[PASS] INVALID_ARGS_ZERO_MARKER_TIMEOUT +[PASS] INVALID_ARGS_ZERO_RELEASE_TIMEOUT +[PASS] INVALID_ARGS_ZERO_VISIBILITY_TIMEOUT +[PASS] INVALID_ARGS_ZERO_MARKER2_TIMEOUT_WITH_C3 +[PASS] INVALID_ARGS_NULL_JOB +[PASS] INVALID_ARGS_NULL_RESULT +[PASS] BLOCKED_REFUSES_BEFORE_ANY_CHECK_OR_CALL +[PASS] BLOCK_RESET_ALLOWS_JOBS_AGAIN +[PASS] NO_BACKEND_NOT_IMPLEMENTED +[PASS] BACKEND_TABLE_INCOMPLETE_REFUSED +[PASS] FREESTANDING_NO_CLOCK_REFUSED_BEFORE_ANY_CALL +SUMMARY passed=50 failed=0 +./build/test_omega_gpu_platform +PASS REFUSAL_NAMES_DISTINCT +PASS NEGOTIATE_ABI_SERVICES_LIMITS +PASS SERVICE_TABLE_MATCHES_CLAIMS_NO_HIDDEN_FALLBACK +PASS SESSION_SERVICES_ABI_1_1_POLLING_NOT_IRQ +PASS BUFFER_DESC_KIND_LENGTH_RIGHTS_CACHE +PASS HANDLES_TYPED_GENERATIONED_LIMITED +PASS HANDLE_AND_ADDRESS_SHAPES +SUMMARY passed=7 failed=0 +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -Isrc -DOMEGA_GPU_NO_POSIX -o build/test_codegen_freestanding tests/test_omega_codegen_freestanding.c \ + build/gpu_fs/omega_blackwell_codegen.o build/gpu_fs/omega_blackwell_matmul.o build/gpu_fs/sha256.o +printf 'void *malloc(unsigned long);\nvoid *omega_gpu_fs_control(void) { return malloc(16); }\n' > build/gpu_fs/control/canary.c +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -ffreestanding -fno-builtin -fno-stack-protector -U_FORTIFY_SOURCE -DOMEGA_GPU_NO_POSIX -DOMEGA_NUMERIC_CPU_ONLY -Isrc -c -o build/gpu_fs/control/canary.o build/gpu_fs/control/canary.c +gcc -r -nostdlib -o build/gpu_fs/control/with_canary.o build/gpu_fs/omega_gpu_engine.o build/gpu_fs/omega_gpu_platform.o build/gpu_fs/omega_blackwell_encoder.o build/gpu_fs/omega_blackwell_codegen.o build/gpu_fs/omega_blackwell_matmul.o build/gpu_fs/omega_blackwell_qmd.o build/gpu_fs/omega_blackwell_realize.o build/gpu_fs/sha256.o build/gpu_fs/omega_gpu_session.o build/gpu_fs/omega_gpu_fmt.o build/gpu_fs/omega_gpu_matmul_api.o build/gpu_fs/omega_gpu_attention_api.o build/gpu_fs/omega_gpu_serving.o build/gpu_fs/omega_gpu_wait.o build/gpu_fs/control/canary.o +allowlist control: a malloc caller is refused by the nm -u check (as required) +gcc -std=gnu11 -O2 -Wall -Wextra -Werror -Isrc -DOMEGA_GPU_NO_POSIX -o build/test_omega_gpu_session_platform tests/test_omega_gpu_session_platform.c build/gpu_fs/omega_gpu_freestanding.o +mutant release-when-latched killed: 1 case(s) failed +BE_FILL_POISON_DROPPED KILLED the device output is pre-filled with the poison words (7 failing case(s), first: m_success_poison_reached_device_output) +mutant ignore-cancel killed: 1 case(s) failed +mutant no-latch-on-timeout killed: 2 case(s) failed +mutant stale-not-counted killed: 1 case(s) failed +mutant marker-not-polled killed: 6 case(s) failed +mutant close-while-latched killed: 3 case(s) failed +test-gpu-session-mutants: 6 of 6 mutants killed +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -o build/baseline/hello_gpu examples/hello_gpu/hello_gpu.c build/baseline/libomega_gpu.a -lpthread -lm +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -o build/baseline/gpu_matmul_api_test tests/gpu_matmul_api_test.c build/baseline/libomega_gpu.a -lpthread -lm +BE_FILL_POISON_SHORT KILLED every output word is pre-filled, including the last (6 failing case(s), first: m_success_poison_reached_device_output) +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -o build/baseline/gpu_matmul_r4_receipt tests/gpu_matmul_r4_receipt.c build/baseline/libomega_gpu.a -lpthread -lm +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -ffp-contract=off -o build/baseline/gpu_elementwise_test tests/gpu_elementwise_test.c build/baseline/libomega_gpu.a -lpthread -lm +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -Itests -o build/baseline/gpu_reconv_test tests/gpu_reconv_test.c build/baseline/libomega_gpu.a -lpthread -lm +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -ffp-contract=off -Itests -o build/baseline/gpu_attention_test tests/gpu_attention_test.c build/baseline/libomega_gpu.a -lpthread -lm +BE_FILL_POISON_BOUNDS KILLED fill_poison refuses a length beyond the output buffer (1 failing case(s), first: m_guard_fill_poison_too_long_refused) +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -o build/baseline/gpu_moe_window_test tests/gpu_moe_window_test.c build/baseline/libomega_gpu.a -lpthread -lm +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -ffp-contract=off -Itests -o build/baseline/gpu_fp8_api_test tests/gpu_fp8_api_test.c build/baseline/libomega_gpu.a -lpthread -lm +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -ffp-contract=off -Itests -o build/baseline/gpu_decode_attn_test tests/gpu_decode_attn_test.c build/baseline/libomega_gpu.a -lpthread -lm +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -ffp-contract=off -Itests -o build/baseline/gpu_router_test tests/gpu_router_test.c build/baseline/libomega_gpu.a -lpthread -lm +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -ffp-contract=off -Itests -o build/baseline/gpu_bf16_gemv_test tests/gpu_bf16_gemv_test.c build/baseline/libomega_gpu.a -lpthread -lm +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -ffp-contract=off -DWS_MAX_THREADS=512 -Itests -o build/baseline/gpu_fp8gemm_test tests/gpu_fp8gemm_test.c build/baseline/libomega_gpu.a -lpthread -lm +BE_COPY_OUT_NO_MEMCPY KILLED copy_out really reads the device output back (20 failing case(s), first: m_success_output_values) +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -o build/baseline/gpu_gpr_boundary_test tests/gpu_gpr_boundary_test.c build/baseline/libomega_gpu.a -lpthread -lm +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -ffp-contract=off -Itests -o build/baseline/gpu_cmdlist_test tests/gpu_cmdlist_test.c build/baseline/libomega_gpu.a -lpthread -lm +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -ffp-contract=off -o build/baseline/gpu_decode_graph_test tests/gpu_decode_graph_test.c build/baseline/libomega_gpu.a -lpthread -lm +./build/test_codegen_hosted --dump > build/codegen_dump_hosted.txt +./build/test_codegen_freestanding --dump > build/codegen_dump_freestanding.txt +cmp build/codegen_dump_hosted.txt build/codegen_dump_freestanding.txt +codegen dumps byte-identical: 14 fixtures, 24448 code bytes +./build/test_codegen_freestanding +BE_COPY_OUT_BOUNDS KILLED copy_out refuses a length beyond the output buffer (1 failing case(s), first: m_guard_copy_out_too_long_refused) +BE_BUILD_LAYOUT_CHECK KILLED build refuses a missing job and an unsupported layout (harness exit 139 (crash or abort)) +BE_BUILD_COUNT_OVERFLOW SURVIVED_REDUNDANT grid arithmetic overflow guard (redundant: an element count above UINT32_MAX - 63 needs at least 16 GiB of input, output and input buffers, so the buffer-size check in the same condition chain refuses it first; only the grid rounding (n + 63) could overflow, and it is never reached) +BE_BUILD_BUFFERS_SIZE KILLED build refuses buffers smaller than the element count needs (1 failing case(s), first: m_guard_build_count_beyond_the_buffers_refused) +BE_C3_FLAG_IGNORED KILLED the NO_C3 flag removes the L2 flush and the second marker (4 failing case(s), first: m_noc3_no_flush_in_pushbuffer) +BE_C3_NEVER KILLED with flags 0 the L2 flush and the second marker are in the pushbuffer (191 failing case(s), first: m_success_returns_ok) +BE_THREADS_WRONG KILLED the launch covers every element (33 failing case(s), first: m_success_returns_ok) +BE_GRID_ROUNDS_DOWN KILLED the grid rounds up so a partial last block still runs (33 failing case(s), first: m_success_returns_ok) +BE_ARGS_C_SWAPPED KILLED the kernel writes the OUTPUT buffer (35 failing case(s), first: m_success_returns_ok) +BE_ARGS_A_B_SWAPPED KILLED the kernel gets input A and input B in the right argument slots (1 failing case(s), first: m_success_kernel_arguments_are_a_b_output) +BE_PROGRAM_VA KILLED the QMD points at the program buffer (35 failing case(s), first: m_success_returns_ok) +bf16 sweep: all 2^32 inputs equal the hosted __bf16 cast +PASS: freestanding codegen contract (14 fixtures, 0 failing checks) +./build/test_omega_gpu_session_platform +PASS INSTALL_REFUSALS_ABI_1_1 +PASS FREESTANDING_NO_DEFAULT_PLATFORM +PASS OPEN_LAUNCH_CLOSE_TYPED_UNCACHED_POLLING +PASS OPEN_FAILURE_KEEPS_DRIVER_TEXT +PASS CANCEL_BEFORE_SUBMIT_NOT_LATCHED +PASS CANCEL_AFTER_SUBMIT_LATCHES_AND_PARKS +PASS TIMEOUT_PARKS_NEVER_RELEASES +PASS TIMEOUT_LATCH_REFUSES_CLOSE_REOPEN_INSTALL +PASS STALE_HANDLE_REFUSED_AFTER_CLOSE_REOPEN +PASS SERVING_RESERVATION_REFUSES_WITHOUT_ALLOC +PASS MATMUL_CODE_BUFFER_ENCODED_IN_PLACE +PASS WAIT_REFUSES_WITHOUT_CLOCK +PASS FMT_BOUNDED_MATCHES_SNPRINTF +test_omega_gpu_session_platform: 13 passed, 0 failed +./build/test_omega_gpu_platform_linux +PASS LINUX_REF_CAPS_NO_MMIO_NO_IRQ +PASS HOSTED_DEFAULT_IS_LINUX_REFERENCE +PASS SAME_DRIVER_CALLS_AND_ORDER_AS_BEFORE +PASS REFERENCE_REFUSALS_CACHED_POLLED_RING_STALE +PASS OPEN_FAILURE_KEEPS_DRIVER_TEXT +PASS MARKER_NEVER_LATCHES_AND_PARKS +PASS L2_INVAL_PREFIX_ONCE_AFTER_CACHED_HOST_WRITE +PASS CMDLIST_NEAR_CAP_SUBMITS_WITH_L2_INVAL_PENDING + refusal: dma_alloc: refused 2.0 MiB: 4.0 GiB of memory is free and CUDA++ keeps 4.0 GiB free (CUDAPP_MEM_RESERVE_MIB=4096), because the CPU and GPU share it and running it out freezes the machine. Free buffers or use a smaller batch. + session: dma_alloc: refused 2.0 MiB: 4.0 GiB of memory is free and CUDA++ keeps 4.0 GiB free (CUDAPP_MEM_RESERVE_MIB=4096), because the CPU and GPU share it and running it out freezes the machine. Free buffers or use a smaller batch. +PASS D1_MEMORY_RESERVE_REFUSES_BEFORE_THE_DRIVER +test_omega_gpu_platform_linux (reference only, simulated driver): 9 passed, 0 failed +sh tests/dx/hello_sim_test.sh build/baseline/hello_gpu +PASS sim-pass (exit 0) +PASS sim-checks +PASS work-line +PASS hashes-printed +PASS same-bits-twice +PASS fault-exit (exit 1) +PASS fault-report +PASS fault-address-is-end-of-a +hello --sim tests: 8 passed, 0 failed +./build/baseline/gpu_matmul_api_test --host-only +ERROR: looped MatMul tensor codegen requires M%16, N%8, K%16 (got 16x24x16) +fragment kernel K=2560 N=4096 unroll 4: 72 instructions, 48 registers +blocked kernel K=4096 N=24576 rt=4 ct=4 unroll 1: 208 instructions, 108 registers +blocked kernel K=12288 N=4096 rt=4 ct=4 unroll 1: 208 instructions, 108 registers +blocked kernel K=4096 N=6144 rt=4 ct=4 unroll 1: 208 instructions, 108 registers +PASS: 178 checks, 0 failed +./build/baseline/gpu_matmul_r4_receipt --host-only +host 37x80x52 comparator controls: clean=0 perturbed=1 stale=1 unwritten=1 +PASS: 7 checks, 0 failed +./build/baseline/gpu_elementwise_test --host-only +BE_CBANK_VA KILLED the QMD points at the constant bank buffer (harness exit 139 (crash or abort)) +codegen ex2: 32 insns, 10 gprs, 6 ugprs +nvdisasm ex2: rc=0 insns=32 undecodable=0 missing=0 (/tmp/omega_ew_ex2_1962681.sass) +codegen xchg: 32 insns, 12 gprs, 6 ugprs +nvdisasm xchg: rc=0 insns=32 undecodable=0 missing=0 (/tmp/omega_ew_xchg_1962681.sass) +codegen rmsnorm: 80 insns, 25 gprs, 6 ugprs +nvdisasm rmsnorm: rc=0 insns=80 undecodable=0 missing=0 (/tmp/omega_ew_rmsnorm_1962681.sass) +codegen rope: 32 insns, 17 gprs, 6 ugprs +nvdisasm rope: rc=0 insns=32 undecodable=0 missing=0 (/tmp/omega_ew_rope_1962681.sass) +codegen swiglu: 32 insns, 12 gprs, 6 ugprs +nvdisasm swiglu: rc=0 insns=32 undecodable=0 missing=0 (/tmp/omega_ew_swiglu_1962681.sass) +PASS: 24 checks, 0 failed +./build/baseline/gpu_reconv_test --host-only +BE_SEM_VA KILLED the QMD release semaphore address is the word the host waits on (180 failing case(s), first: m_success_returns_ok) +codegen rc_diamond: 37 insns, 14 gprs, 1 regions +codegen rc_loopbreak: 41 insns, 14 gprs, 1 regions +codegen rc_nested: 49 insns, 15 gprs, 2 regions +codegen rc_exit_bar: 40 insns, 18 gprs, 1 regions +codegen rc_depth16: 107 insns, 14 gprs, 16 regions +nvdisasm diamond: rc=0 insns=40 undecodable=0 missing=0 (/tmp/omega_rc_diamond_1962768.sass) +nvdisasm depth16: rc=0 insns=112 undecodable=0 missing=0 (/tmp/omega_rc_depth16_1962768.sass) +nvdisasm sieve_div2: rc=0 insns=72 undecodable=0 missing=0 (/tmp/omega_rc_sieve_div2_1962768.sass) +nvdisasm forms: rc=0 insns=4 undecodable=0 missing=0 (/tmp/omega_rc_forms_1962768.sass) +model rc_diamond n=4096: warp_issues=4736 lane_util=0.878 splits=128 max_frags=2 peak_bars=1 +model rc_diamond n=4096: warp_issues=4736 lane_util=0.878 splits=128 max_frags=2 peak_bars=1 +model rc_loopbreak n=4096: warp_issues=115685 lane_util=0.193 splits=2889 max_frags=28 peak_bars=1 +model rc_loopbreak n=4096: warp_issues=116847 lane_util=0.195 splits=2876 max_frags=2 peak_bars=1 +model rc_nested n=4096: warp_issues=92819 lane_util=0.150 splits=1739 max_frags=20 peak_bars=2 +model rc_nested n=4096: warp_issues=91594 lane_util=0.148 splits=1694 max_frags=2 peak_bars=2 +model rc_exit_bar n=4096: warp_issues=5120 lane_util=0.963 splits=128 max_frags=2 peak_bars=1 +model rc_exit_bar n=4096: warp_issues=5120 lane_util=0.962 splits=128 max_frags=2 peak_bars=1 +model rc_depth16 n=4096: warp_issues=13696 lane_util=0.640 splits=128 max_frags=2 peak_bars=16 +model rc_depth16 n=4096: warp_issues=13696 lane_util=0.637 splits=128 max_frags=2 peak_bars=16 +PASS: 119 checks, 0 failed +./build/baseline/gpu_attention_test --host-only +codegen paged_bf16: 216 insns, 58 gprs, 6 ugprs +nvdisasm paged_bf16: rc=0 insns=216 of 216 undecodable=0 missing=0 (/tmp/omega_attn_paged_bf16_1962954.sass) +codegen gqa_f32: 184 insns, 56 gprs, 6 ugprs +nvdisasm gqa_f32: rc=0 insns=184 of 184 undecodable=0 missing=0 (/tmp/omega_attn_gqa_f32_1962954.sass) +PASS: 107 checks, 0 failed +./build/baseline/gpu_attention_test --sim +BE_MARKER_VA KILLED the first release lands on the word the host waits on (187 failing case(s), first: m_success_returns_ok) +BE_SEM_ZERO_DROPPED KILLED the semaphore word is zeroed before the doorbell (no stale DONE) (1 failing case(s), first: m_success_semaphore_zeroed_before_doorbell) +BE_MARKER_ZERO_DROPPED KILLED the first marker word is zeroed before the doorbell (no stale payload) (5 failing case(s), first: m_success_marker1_zeroed_before_doorbell) +BE_MARKER2_ZERO_DROPPED KILLED the second marker word is zeroed before the doorbell (5 failing case(s), first: m_success_marker2_zeroed_before_doorbell) +PASS gqa_f32_tinyllama_32q4kv_ctx1 n=2048 rc=OK violations=0 worst_scaled_err=0 chip_ns=0 call_ns=2373668 calls=1 unwritten=0 kv_staged=2048/2048 blocks=1/1 | mutants 0/0 +PASS gqa_f32_tinyllama_32q4kv_ctx17 n=2048 rc=OK violations=0 worst_scaled_err=0.00189313 chip_ns=0 call_ns=2896137 calls=1 unwritten=0 kv_staged=34816/34816 blocks=1/1 | mutants 0/0 +PASS gqa_f32_tinyllama_32q4kv_ctx256 n=2048 rc=OK violations=0 worst_scaled_err=0.00183169 chip_ns=0 call_ns=15796550 calls=1 unwritten=0 kv_staged=524288/524288 blocks=1/1 | mutants 0/0 +PASS gqa_f32_tinyllama_32q4kv_ctx2048 n=2048 rc=OK violations=0 worst_scaled_err=0.00274869 chip_ns=0 call_ns=122606608 calls=1 unwritten=0 kv_staged=4194304/4194304 blocks=1/1 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=2041) NO_RESCALE:CAUGHT(rc=OK,bad=1959) Q_ROW:CAUGHT(rc=OK,bad=2048) OUT_ROW:CAUGHT(rc=OK,bad=2048) +PASS gqa_f32_tinyllama_32q4kv_ctx65 n=2048 rc=OK violations=0 worst_scaled_err=0.00145684 chip_ns=0 call_ns=6137189 calls=1 unwritten=0 kv_staged=133120/133120 blocks=1/1 | mutants 0/0 +PASS gqa_f32_tinyllama_32q4kv_ctx128 n=2048 rc=OK violations=0 worst_scaled_err=0.00206007 chip_ns=0 call_ns=7977539 calls=1 unwritten=0 kv_staged=262144/262144 blocks=1/1 | mutants 0/0 +PASS gqa_f32_tinyllama_32q4kv_ctx129 n=2048 rc=OK violations=0 worst_scaled_err=0.00165735 chip_ns=0 call_ns=9819235 calls=1 unwritten=0 kv_staged=264192/264192 blocks=1/1 | mutants 0/0 +PASS gqa_f32_tinyllama_32q4kv_ctx300 n=2048 rc=OK violations=0 worst_scaled_err=0.00201893 chip_ns=0 call_ns=18769983 calls=1 unwritten=0 kv_staged=614400/614400 blocks=1/1 | mutants 0/0 +PASS gqa_f32_tinyllama_32q4kv_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.00297055 chip_ns=0 call_ns=60053277 calls=1 unwritten=0 kv_staged=2048000/2048000 blocks=1/1 | mutants 0/0 +PASS gqa_f32_llama32_1b_32q8kv_ctx1 n=2048 rc=OK violations=0 worst_scaled_err=0 chip_ns=0 call_ns=2413316 calls=1 unwritten=0 kv_staged=4096/4096 blocks=1/1 | mutants 0/0 +PASS gqa_f32_llama32_1b_32q8kv_ctx17 n=2048 rc=OK violations=0 worst_scaled_err=0.00187227 chip_ns=0 call_ns=2834248 calls=1 unwritten=0 kv_staged=69632/69632 blocks=1/1 | mutants 1/1 KV_HEAD:CAUGHT(rc=OK,bad=2048) +PASS gqa_f32_llama32_1b_32q8kv_ctx256 n=2048 rc=OK violations=0 worst_scaled_err=0.00201723 chip_ns=0 call_ns=15617477 calls=1 unwritten=0 kv_staged=1048576/1048576 blocks=1/1 | mutants 0/0 +PASS gqa_f32_llama32_1b_32q8kv_ctx2048 n=2048 rc=OK violations=0 worst_scaled_err=0.0029454 chip_ns=0 call_ns=124193756 calls=1 unwritten=0 kv_staged=8388608/8388608 blocks=1/1 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=2045) NO_RESCALE:CAUGHT(rc=OK,bad=1904) Q_ROW:CAUGHT(rc=OK,bad=2042) OUT_ROW:CAUGHT(rc=OK,bad=2042) +PASS gqa_f32_llama32_1b_32q8kv_ctx65 n=2048 rc=OK violations=0 worst_scaled_err=0.00195964 chip_ns=0 call_ns=6174053 calls=1 unwritten=0 kv_staged=266240/266240 blocks=1/1 | mutants 0/0 +PASS gqa_f32_llama32_1b_32q8kv_ctx128 n=2048 rc=OK violations=0 worst_scaled_err=0.00170583 chip_ns=0 call_ns=8083444 calls=1 unwritten=0 kv_staged=524288/524288 blocks=1/1 | mutants 0/0 +PASS gqa_f32_llama32_1b_32q8kv_ctx129 n=2048 rc=OK violations=0 worst_scaled_err=0.0017034 chip_ns=0 call_ns=9901460 calls=1 unwritten=0 kv_staged=528384/528384 blocks=1/1 | mutants 0/0 +PASS gqa_f32_llama32_1b_32q8kv_ctx300 n=2048 rc=OK violations=0 worst_scaled_err=0.00187268 chip_ns=0 call_ns=19089746 calls=1 unwritten=0 kv_staged=1228800/1228800 blocks=1/1 | mutants 0/0 +PASS gqa_f32_llama32_1b_32q8kv_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.00303901 chip_ns=0 call_ns=60905732 calls=1 unwritten=0 kv_staged=4096000/4096000 blocks=1/1 | mutants 0/0 +PASS gqa_rows_f32_tinyllama_32q4kv_base0_rows1 n=2048 rc=OK violations=0 worst_scaled_err=0 chip_ns=0 call_ns=2307492 calls=1 unwritten=0 kv_staged=2048/2048 blocks=1/1 | mutants 0/0 +PASS gqa_rows_f32_tinyllama_32q4kv_base17_rows5 n=10240 rc=OK violations=0 worst_scaled_err=0.00268496 chip_ns=0 call_ns=14248041 calls=1 unwritten=0 kv_staged=45056/225280 blocks=1/5 | mutants 0/0 +PASS gqa_rows_f32_tinyllama_32q4kv_base300_rows40 n=81920 rc=OK violations=0 worBE_NOC3_MARKER2_REPORTED KILLED with NO_C3 the second marker is neither waited for nor reported (1 failing case(s), first: m_unc_noc3_semaphore_hang_sync_valid_mask) +BE_MARKER2_OFFSET_CHANGED KILLED the second marker is 0x10 bytes after the first (1 failing case(s), first: m_success_release2_is_marker_page_plus_0x10) +BE_MARKER2_PAYLOAD_CHANGED KILLED the second marker payload is 0x46464646 (11 failing case(s), first: m_success_release2_payload_and_flags) +st_scaled_err=0.00333664 chip_ns=0 call_ns=810707191 calls=2 unwritten=0 kv_staged=696320/27852800 blocks=1/40 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=81807) NO_RESCALE:CAUGHT(rc=OK,bad=64191) Q_ROW:CAUGHT(rc=OK,bad=81812) OUT_ROW:CAUGHT(rc=OK,bad=81812) +PASS gqa_rows_f32_llama32_1b_32q8kv_base0_rows1 n=2048 rc=OK violations=0 worst_scaled_err=0 chip_ns=0 call_ns=2357251 calls=1 unwritten=0 kv_staged=4096/4096 blocks=1/1 | mutants 0/0 +PASS gqa_rows_f32_llama32_1b_32q8kv_base17_rows5 n=10240 rc=OK violations=0 worst_scaled_err=0.00181178 chip_ns=0 call_ns=14354522 calls=1 unwritten=0 kv_staged=90112/450560 blocks=1/5 | mutants 0/0 +PASS gqa_rows_f32_llama32_1b_32q8kv_base300_rows40 n=81920 rc=OK violations=0 worst_scaled_err=0.00302101 chip_ns=0 call_ns=810194447 calls=2 unwritten=0 kv_staged=1392640/55705600 blocks=1/40 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=81805) NO_RESCALE:CAUGHT(rc=OK,bad=65973) Q_ROW:CAUGHT(rc=OK,bad=81824) OUT_ROW:CAUGHT(rc=OK,bad=81824) +PASS gqa_f32_large_scores_32q4kv_ctx256 n=2048 rc=OK violations=0 worst_scaled_err=0.0830785 chip_ns=0 call_ns=15645876 calls=1 unwritten=0 kv_staged=524288/524288 blocks=1/1 | mutants 1/1 NO_MAX:CAUGHT(rc=OK,bad=2048) +PASS gqa_f32_mha_16q16kv_ctx300 n=1024 rc=OK violations=0 worst_scaled_err=0.00163802 chip_ns=0 call_ns=9526912 calls=1 unwritten=0 kv_staged=2457600/2457600 blocks=1/1 | mutants 3/3 Q_ROW:CAUGHT(rc=OK,bad=1024) OUT_ROW:CAUGHT(rc=OK,bad=1020) KV_HEAD:CAUGHT(rc=OK,bad=1023) +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx1 n=2048 rc=OK violations=0 worst_scaled_err=0 chip_ns=0 call_ns=2675575 calls=1 unwritten=0 kv_staged=16384/16384 blocks=1/1 | mutants 1/1 KV_HEAD:CAUGHT(rc=OK,bad=2048) +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx17 n=2048 rc=OK violations=0 worst_scaled_err=0.00259673 chip_ns=0 call_ns=3294652 calls=1 unwritten=0 kv_staged=32768/32768 blocks=2/2 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2047) +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx256 n=2048 rc=OK violations=0 worst_scaled_err=0.0012428 chip_ns=0 call_ns=19873640 calls=1 unwritten=0 kv_staged=262144/262144 blocks=16/16 | mutants 0/0 +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx2048 n=2048 rc=OK violations=0 worst_scaled_err=0.000511585 chip_ns=0 call_ns=150509035 calls=1 unwritten=0 kv_staged=2097152/2097152 blocks=128/128 | mutants 5/5 KV_HEAD:CAUGHT(rc=OK,bad=2047) SLOT:CAUGHT(rc=OK,bad=2038) NO_RESCALE:CAUGHT(rc=OK,bad=1901) Q_ROW:CAUGHT(rc=OK,bad=2046) OUT_ROW:CAUGHT(rc=OK,bad=2046) +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx65 n=2048 rc=OK violations=0 worst_scaled_err=0.00182922 chip_ns=0 call_ns=7637568 calls=1 unwritten=0 kv_staged=81920/81920 blocks=5/5 | mutants 0/0 +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx128 n=2048 rc=OK violations=0 worst_scaled_err=0.00143826 chip_ns=0 call_ns=9855300 calls=1 unwritten=0 kv_staged=131072/131072 blocks=8/8 | mutants 0/0 +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx129 n=2048 rc=OK violations=0 worst_scaled_err=0.0017437 chip_ns=0 call_ns=11851428 calls=1 unwritten=0 kv_staged=147456/147456 blocks=9/9 | mutants 0/0 +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx300 n=2048 rc=OK violations=0 worst_scaled_err=0.00124488 chip_ns=0 call_ns=23479591 calls=1 unwritten=0 kv_staged=311296/311296 blocks=19/19 | mutants 0/0 +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.00102811 chip_ns=0 call_ns=80412297 calls=1 unwritten=0 kv_staged=163840/1032192 blocks=10/63 | mutants 0/0 +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx1 n=2048 rc=OK violations=0 worst_scaled_err=0 chip_ns=0 call_ns=2677207 calls=1 unwritten=0 kv_staged=32768/32768 blocks=1/1 | mutants 1/1 KV_HEAD:CAUGHT(rc=OK,bad=2048) +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx17 n=2048 rc=OK violations=0 worst_scaled_err=0.00172089 chip_ns=0 call_ns=3314972 calls=1 unwritten=0 kv_staged=65536/65536 blocks=2/2 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=2046) SLOT:CAUGHT(rc=OK,bad=2048) +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx256 n=2048 rc=OK violations=0 worst_scaled_err=0.00106374 chip_ns=0 call_ns=19843017 calls=1 unwritten=0 kv_staged=524288/524288 bloBE_RELEASE1_PAYLOAD_ZERO KILLED the first release writes the completion payload (185 failing case(s), first: m_success_returns_ok) +cks=16/16 | mutants 0/0 +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx2048 n=2048 rc=OK violations=0 worst_scaled_err=0.0005717 chip_ns=0 call_ns=151655220 calls=1 unwritten=0 kv_staged=4194304/4194304 blocks=128/128 | mutants 5/5 KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2044) NO_RESCALE:CAUGHT(rc=OK,bad=1963) Q_ROW:CAUGHT(rc=OK,bad=2048) OUT_ROW:CAUGHT(rc=OK,bad=2048) +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx65 n=2048 rc=OK violations=0 worst_scaled_err=0.00153464 chip_ns=0 call_ns=7686497 calls=1 unwritten=0 kv_staged=163840/163840 blocks=5/5 | mutants 0/0 +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx128 n=2048 rc=OK violations=0 worst_scaled_err=0.00162767 chip_ns=0 call_ns=9819091 calls=1 unwritten=0 kv_staged=262144/262144 blocks=8/8 | mutants 0/0 +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx129 n=2048 rc=OK violations=0 worst_scaled_err=0.0018236 chip_ns=0 call_ns=11868068 calls=1 unwritten=0 kv_staged=294912/294912 blocks=9/9 | mutants 0/0 +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx300 n=2048 rc=OK violations=0 worst_scaled_err=0.00136517 chip_ns=0 call_ns=23511767 calls=1 unwritten=0 kv_staged=622592/622592 blocks=19/19 | mutants 0/0 +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.00108243 chip_ns=0 call_ns=80597898 calls=1 unwritten=0 kv_staged=327680/2064384 blocks=10/63 | mutants 0/0 +PASS paged_bf16_split1_32q8kv_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.00243892 chip_ns=0 call_ns=68188737 calls=1 unwritten=0 kv_staged=2064384/2064384 blocks=63/63 | mutants 0/0 +PASS paged_bf16_split2_32q8kv_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.00224498 chip_ns=0 call_ns=68904583 calls=1 unwritten=0 kv_staged=2064384/2064384 blocks=63/63 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2041) +PASS paged_bf16_split4_32q8kv_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.00103684 chip_ns=0 call_ns=70371619 calls=1 unwritten=0 kv_staged=2064384/2064384 blocks=63/63 | mutants 0/0 +PASS paged_bf16_split8_32q8kv_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.000722397 chip_ns=0 call_ns=73600383 calls=1 unwritten=0 kv_staged=2064384/2064384 blocks=63/63 | mutants 0/0 +PASS paged_bf16_split16_32q8kv_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.00058086 chip_ns=0 call_ns=81120687 calls=1 unwritten=0 kv_staged=2064384/2064384 blocks=63/63 | mutants 0/0 +PASS paged_bf16_split1_32q8kv_ctx100 n=2048 rc=OK violations=0 worst_scaled_err=0.00156533 chip_ns=0 call_ns=8236278 calls=1 unwritten=0 kv_staged=65536/229376 blocks=2/7 | mutants 0/0 +PASS paged_bf16_split2_32q8kv_ctx100 n=2048 rc=OK violations=0 worst_scaled_err=0.00122616 chip_ns=0 call_ns=8920859 calls=1 unwritten=0 kv_staged=65536/229376 blocks=2/7 | mutants 0/0 +PASS paged_bf16_split4_32q8kv_ctx100 n=2048 rc=OK violations=0 worst_scaled_err=0.00122616 chip_ns=0 call_ns=10223975 calls=1 unwritten=0 kv_staged=65536/229376 blocks=2/7 | mutants 0/0 +PASS paged_bf16_split8_32q8kv_ctx100 n=2048 rc=OK violations=0 worst_scaled_err=0.00122616 chip_ns=0 call_ns=13138127 calls=1 unwritten=0 kv_staged=65536/229376 blocks=2/7 | mutants 0/0 +PASS paged_bf16_split16_32q8kv_ctx100 n=2048 rc=OK violations=0 worst_scaled_err=0.00122616 chip_ns=0 call_ns=19511173 calls=1 unwritten=0 kv_staged=65536/229376 blocks=2/7 | mutants 0/0 +PASS paged_bf16_batch_3seq_32q8kv_ctx40_0_100 n=6144 rc=OK violations=0 worst_scaled_err=0.002081 chip_ns=0 call_ns=9213790 calls=2 unwritten=0 kv_staged=229376/229376 blocks=7/7 | mutants 4/4 KV_HEAD:CAUGHT(rc=OK,bad=4095) SLOT:CAUGHT(rc=OK,bad=4095) Q_ROW:CAUGHT(rc=OK,bad=4092) OUT_ROW:CAUGHT(rc=OK,bad=4092) +PASS paged_bf16_shared_prefix_4seq_8q2kv_10pre n=2048 rc=OK violations=0 worst_scaled_err=0.00158345 chip_ns=0 call_ns=16289530 calls=1 unwritten=0 kv_staged=155648/401408 blocks=19/49 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2046) +PASS paged_bf16_shared_prefix_4seq_32q8kv_10pre n=8192 rc=OK violations=0 worst_scaled_err=0.00205105 chip_ns=0 call_ns=65632476 calls=2 unwritten=0 kv_staged=950272/1605632 blocks=29/49 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=8190) SLOT:CAUGHT(rc=OK,bad=8186) +mutant NO_MAX: caught 1 of 1 +mutant KV_HEAD: caught 12 of 12 +mutant SLOT: caught 12 of 12 +mutant NO_RESCALE: caught 6 of 6 +mutant Q_ROW: caught 8 of 8 +mutant OUT_ROW: caught 8 of 8 +device_opens=0 +PASS: 219 checks, 0 failed +./build/baseline/gpu_attention_test --sweep --sim --out build/baseline/gpu_attention_sweep_sim.json +PASS sweep 1q/ 1kv ratio 1 ctx 256: launches=1 ctas=4 call_ms med=0.615 p90=0.615 kernel_ms med=0.000 p90=0.000 kv_staged=12288 (naive 65536) blocks=3/16 q=256 tab=68 out=1056 worst=0.00067717 +PASS sweep 1q/ 1kv ratio 1 ctx 2048: launches=1 ctas=16 call_ms med=4.700 p90=4.700 kernel_ms med=0.000 p90=0.000 kv_staged=77824 (naive 524288) blocks=19/128 q=256 tab=516 out=4224 worst=0.000848912 +PASS sweep 2q/ 1kv ratio 2 ctx 256: launches=1 ctas=8 call_ms med=1.234 p90=1.234 kernel_ms med=0.000 p90=0.000 kv_staged=12288 (naive 65536) blocks=3/16 q=512 tab=68 out=2112 worst=0.000915783 +PASS sweep 2q/ 1kv ratio 2 ctx 2048: launches=1 ctas=32 call_ms med=9.334 p90=9.334 kernel_ms med=0.000 p90=0.000 kv_staged=77824 (naive 524288) blocks=19/128 q=512 tab=516 out=8448 worst=0.000687931 +PASS sweep 2q/ 2kv ratio 1 ctx 256: launches=1 ctas=8 call_ms med=1.228 p90=1.228 kernel_ms med=0.000 p90=0.000 kv_staged=24576 (naive 131072) blocks=3/16 q=512 tab=68 out=2112 worst=0.000706267 +PASS sweep 2q/ 2kv ratio 1 ctx 2048: launches=1 ctas=32 call_ms med=9.348 p90=9.348 kernel_ms med=0.000 p90=0.000 kv_staged=155648 (naive 1048576) blocks=19/128 q=512 tab=516 out=8448 worst=0.000585813 +PASS sweep 4q/ 1kv ratio 4 ctx 256: launches=1 ctas=16 call_ms med=2.504 p90=2.504 kernel_ms med=0.000 p90=0.000 kv_staged=12288 (naive 65536) blocks=3/16 q=1024 tab=68 out=4224 worst=0.00103708 +PASS sweep 4q/ 1kv ratio 4 ctx 2048: launches=1 ctas=64 call_ms med=18.644 p90=18.644 kernel_ms med=0.000 p90=0.000 kv_staged=77824 (naive 524288) blocks=19/128 q=1024 tab=516 out=16896 worst=0.000595022 +PASS sweep 4q/ 2kv ratio 2 ctx 256: launches=1 ctas=16 call_ms med=2.474 p90=2.474 kernel_ms med=0.000 p90=0.000 kv_staged=24576 (naive 131072) blocks=3/16 q=1024 tab=68 out=4224 worst=0.000865513 +PASS sweep 4q/ 2kv ratio 2 ctx 2048: launches=1 ctas=64 call_ms med=18.618 p90=18.618 kernel_ms med=0.000 p90=0.000 kv_staged=155648 (naive 1048576) blocks=19/128 q=1024 tab=516 out=16896 worst=0.000579735 +PASS sweep 4q/ 4kv ratio 1 ctx 256: launches=1 ctas=16 call_ms med=2.470 p90=2.470 kernel_ms med=0.000 p90=0.000 kv_staged=49152 (naive 262144) blocks=3/16 q=1024 tab=68 out=4224 worst=0.000903455 +PASS sweep 4q/ 4kv ratio 1 ctx 2048: launches=1 ctas=64 call_ms med=18.747 p90=18.747 kernel_ms med=0.000 p90=0.000 kv_staged=311296 (naive 2097152) blocks=19/128 q=1024 tab=516 out=16896 worst=0.000634714 +PASS sweep 8q/ 1kv ratio 8 ctx 256: launches=1 ctas=32 call_ms med=4.938 p90=4.938 kernel_ms med=0.000 p90=0.000 kv_staged=12288 (naive 65536) blocks=3/16 q=2048 tab=68 out=8448 worst=0.00103596 +PASS sweep 8q/ 1kv ratio 8 ctx 2048: launches=1 ctas=128 call_ms med=37.343 p90=37.343 kernel_ms med=0.000 p90=0.000 kv_staged=77824 (naive 524288) blocks=19/128 q=2048 tab=516 out=33792 worst=0.000871917 +PASS sweep 8q/ 2kv ratio 4 ctx 256: launches=1 ctas=32 call_ms med=4.927 p90=4.927 kernel_ms med=0.000 p90=0.000 kv_staged=24576 (naive 131072) blocks=3/16 q=2048 tab=68 out=8448 worst=0.000981295 +PASS sweep 8q/ 2kv ratio 4 ctx 2048: launches=1 ctas=128 call_ms med=37.171 p90=37.171 kernel_ms med=0.000 p90=0.000 kv_staged=155648 (naive 1048576) blocks=19/128 q=2048 tab=516 out=33792 worst=0.000863034 +PASS sweep 8q/ 4kv ratio 2 ctx 256: launches=1 ctas=32 call_ms med=4.946 p90=4.946 kernel_ms med=0.000 p90=0.000 kv_staged=49152 (naive 262144) blocks=3/16 q=2048 tab=68 out=8448 worst=0.000938337 +PASS sweep 8q/ 4kv ratio 2 ctx 2048: launches=1 ctas=128 call_ms med=37.293 p90=37.293 kernel_ms med=0.000 p90=0.000 kv_staged=311296 (naive 2097152) blocks=19/128 q=2048 tab=516 out=33792 worst=0.000606712 +PASS sweep 8q/ 8kv ratio 1 ctx 256: launches=1 ctas=32 call_ms med=4.926 p90=4.926 kernel_ms med=0.000 p90=0.000 kv_staged=98304 (naive 524288) blocks=3/16 q=2048 tab=68 out=8448 worst=0.000914011 +PASS sweep 8q/ 8kv ratio 1 ctx 2048: launches=1 ctas=128 call_ms med=37.600 p90=37.600 kernel_ms med=0.000 p90=0.000 kv_staged=622592 (naive 4194304) blocks=19/128 q=2048 tab=516 out=33792 worst=0.000721768 +PASS sweep 16q/ 1kv ratio 16 ctx 256: launchBE_RELEASE2_PAYLOAD_ZERO KILLED the second release writes its payload (176 failing case(s), first: m_success_returns_ok) +es=1 ctas=64 call_ms med=9.930 p90=9.930 kernel_ms med=0.000 p90=0.000 kv_staged=12288 (naive 65536) blocks=3/16 q=4096 tab=68 out=16896 worst=0.000931851 +PASS sweep 16q/ 1kv ratio 16 ctx 2048: launches=1 ctas=256 call_ms med=74.394 p90=74.394 kernel_ms med=0.000 p90=0.000 kv_staged=77824 (naive 524288) blocks=19/128 q=4096 tab=516 out=67584 worst=0.000659197 +PASS sweep 16q/ 2kv ratio 8 ctx 256: launches=1 ctas=64 call_ms med=9.931 p90=9.931 kernel_ms med=0.000 p90=0.000 kv_staged=24576 (naive 131072) blocks=3/16 q=4096 tab=68 out=16896 worst=0.00105378 +PASS sweep 16q/ 2kv ratio 8 ctx 2048: launches=1 ctas=256 call_ms med=75.020 p90=75.020 kernel_ms med=0.000 p90=0.000 kv_staged=155648 (naive 1048576) blocks=19/128 q=4096 tab=516 out=67584 worst=0.000649724 +PASS sweep 16q/ 4kv ratio 4 ctx 256: launches=1 ctas=64 call_ms med=9.961 p90=9.961 kernel_ms med=0.000 p90=0.000 kv_staged=49152 (naive 262144) blocks=3/16 q=4096 tab=68 out=16896 worst=0.00119381 +PASS sweep 16q/ 4kv ratio 4 ctx 2048: launches=1 ctas=256 call_ms med=74.913 p90=74.913 kernel_ms med=0.000 p90=0.000 kv_staged=311296 (naive 2097152) blocks=19/128 q=4096 tab=516 out=67584 worst=0.000790485 +PASS sweep 16q/ 8kv ratio 2 ctx 256: launches=1 ctas=64 call_ms med=9.930 p90=9.930 kernel_ms med=0.000 p90=0.000 kv_staged=98304 (naive 524288) blocks=3/16 q=4096 tab=68 out=16896 worst=0.00109193 +PASS sweep 16q/ 8kv ratio 2 ctx 2048: launches=1 ctas=256 call_ms med=75.101 p90=75.101 kernel_ms med=0.000 p90=0.000 kv_staged=622592 (naive 4194304) blocks=19/128 q=4096 tab=516 out=67584 worst=0.000729671 +PASS sweep 16q/16kv ratio 1 ctx 256: launches=1 ctas=64 call_ms med=9.975 p90=9.975 kernel_ms med=0.000 p90=0.000 kv_staged=196608 (naive 1048576) blocks=3/16 q=4096 tab=68 out=16896 worst=0.00117565 +PASS sweep 16q/16kv ratio 1 ctx 2048: launches=1 ctas=256 call_ms med=75.195 p90=75.195 kernel_ms med=0.000 p90=0.000 kv_staged=1245184 (naive 8388608) blocks=19/128 q=4096 tab=516 out=67584 worst=0.000683009 +PASS sweep 24q/ 1kv ratio 24 ctx 256: unsupported_by_kernel_envelope (rc=BAD_ARGS) +PASS sweep 24q/ 1kv ratio 24 ctx 2048: unsupported_by_kernel_envelope (rc=BAD_ARGS) +PASS sweep 24q/ 2kv ratio 12 ctx 256: unsupported_by_kernel_envelope (rc=BAD_ARGS) +PASS sweep 24q/ 2kv ratio 12 ctx 2048: unsupported_by_kernel_envelope (rc=BAD_ARGS) +PASS sweep 24q/ 3kv ratio 8 ctx 256: launches=1 ctas=96 call_ms med=14.781 p90=14.781 kernel_ms med=0.000 p90=0.000 kv_staged=36864 (naive 196608) blocks=3/16 q=6144 tab=68 out=25344 worst=0.00109154 +PASS sweep 24q/ 3kv ratio 8 ctx 2048: launches=1 ctas=384 call_ms med=112.109 p90=112.109 kernel_ms med=0.000 p90=0.000 kv_staged=233472 (naive 1572864) blocks=19/128 q=6144 tab=516 out=101376 worst=0.000796466 +PASS sweep 24q/ 4kv ratio 6 ctx 256: unsupported_by_kernel_envelope (rc=BAD_ARGS) +PASS sweep 24q/ 4kv ratio 6 ctx 2048: unsupported_by_kernel_envelope (rc=BAD_ARGS) +PASS sweep 24q/ 6kv ratio 4 ctx 256: launches=1 ctas=96 call_ms med=14.967 p90=14.967 kernel_ms med=0.000 p90=0.000 kv_staged=73728 (naive 393216) blocks=3/16 q=6144 tab=68 out=25344 worst=0.00144096 +PASS sweep 24q/ 6kv ratio 4 ctx 2048: launches=1 ctas=384 call_ms med=112.016 p90=112.016 kernel_ms med=0.000 p90=0.000 kv_staged=466944 (naive 3145728) blocks=19/128 q=6144 tab=516 out=101376 worst=0.000826453 +PASS sweep 24q/ 8kv ratio 3 ctx 256: unsupported_by_kernel_envelope (rc=BAD_ARGS) +PASS sweep 24q/ 8kv ratio 3 ctx 2048: unsupported_by_kernel_envelope (rc=BAD_ARGS) +PASS sweep 24q/12kv ratio 2 ctx 256: launches=1 ctas=96 call_ms med=14.908 p90=14.908 kernel_ms med=0.000 p90=0.000 kv_staged=147456 (naive 786432) blocks=3/16 q=6144 tab=68 out=25344 worst=0.000997479 +PASS sweep 24q/12kv ratio 2 ctx 2048: launches=1 ctas=384 call_ms med=113.018 p90=113.018 kernel_ms med=0.000 p90=0.000 kv_staged=933888 (naive 6291456) blocks=19/128 q=6144 tab=516 out=101376 worst=0.000667221 +PASS sweep 24q/24kv ratio 1 ctx 256: launches=1 ctas=96 call_ms med=14.904 p90=14.904 kernel_ms med=0.000 p90=0.000 kv_staged=294912 (naive 1572864) blocks=3/16 q=6144 tab=68 ouBE_FLUSH_OP_DROPPED KILLED the L2 flush operation word is L2_FLUSH_DIRTY (176 failing case(s), first: m_success_returns_ok) +t=25344 worst=0.00126045 +PASS sweep 24q/24kv ratio 1 ctx 2048: launches=1 ctas=384 call_ms med=112.690 p90=112.690 kernel_ms med=0.000 p90=0.000 kv_staged=1867776 (naive 12582912) blocks=19/128 q=6144 tab=516 out=101376 worst=0.000714818 +PASS sweep 32q/ 1kv ratio 32 ctx 256: launches=1 ctas=128 call_ms med=19.742 p90=19.742 kernel_ms med=0.000 p90=0.000 kv_staged=12288 (naive 65536) blocks=3/16 q=8192 tab=68 out=33792 worst=0.00111822 +PASS sweep 32q/ 1kv ratio 32 ctx 2048: launches=1 ctas=512 call_ms med=148.815 p90=148.815 kernel_ms med=0.000 p90=0.000 kv_staged=77824 (naive 524288) blocks=19/128 q=8192 tab=516 out=135168 worst=0.000919862 +PASS sweep 32q/ 2kv ratio 16 ctx 256: launches=1 ctas=128 call_ms med=19.798 p90=19.798 kernel_ms med=0.000 p90=0.000 kv_staged=24576 (naive 131072) blocks=3/16 q=8192 tab=68 out=33792 worst=0.00115689 +PASS sweep 32q/ 2kv ratio 16 ctx 2048: launches=1 ctas=512 call_ms med=149.683 p90=149.683 kernel_ms med=0.000 p90=0.000 kv_staged=155648 (naive 1048576) blocks=19/128 q=8192 tab=516 out=135168 worst=0.000749667 +PASS sweep 32q/ 4kv ratio 8 ctx 256: launches=1 ctas=128 call_ms med=19.910 p90=19.910 kernel_ms med=0.000 p90=0.000 kv_staged=49152 (naive 262144) blocks=3/16 q=8192 tab=68 out=33792 worst=0.00128202 +PASS sweep 32q/ 4kv ratio 8 ctx 2048: launches=1 ctas=512 call_ms med=150.177 p90=150.177 kernel_ms med=0.000 p90=0.000 kv_staged=311296 (naive 2097152) blocks=19/128 q=8192 tab=516 out=135168 worst=0.000901558 +PASS sweep 32q/ 8kv ratio 4 ctx 256: launches=1 ctas=128 call_ms med=19.895 p90=19.895 kernel_ms med=0.000 p90=0.000 kv_staged=98304 (naive 524288) blocks=3/16 q=8192 tab=68 out=33792 worst=0.00119851 +PASS sweep 32q/ 8kv ratio 4 ctx 2048: launches=1 ctas=512 call_ms med=150.125 p90=150.125 kernel_ms med=0.000 p90=0.000 kv_staged=622592 (naive 4194304) blocks=19/128 q=8192 tab=516 out=135168 worst=0.000801681 +PASS sweep 32q/16kv ratio 2 ctx 256: launches=1 ctas=128 call_ms med=19.951 p90=19.951 kernel_ms med=0.000 p90=0.000 kv_staged=196608 (naive 1048576) blocks=3/16 q=8192 tab=68 out=33792 worst=0.00118402 +PASS sweep 32q/16kv ratio 2 ctx 2048: launches=1 ctas=512 call_ms med=150.339 p90=150.339 kernel_ms med=0.000 p90=0.000 kv_staged=1245184 (naive 8388608) blocks=19/128 q=8192 tab=516 out=135168 worst=0.000809915 +PASS sweep 32q/32kv ratio 1 ctx 256: launches=1 ctas=128 call_ms med=19.838 p90=19.838 kernel_ms med=0.000 p90=0.000 kv_staged=393216 (naive 2097152) blocks=3/16 q=8192 tab=68 out=33792 worst=0.0011642 +PASS sweep 32q/32kv ratio 1 ctx 2048: launches=1 ctas=512 call_ms med=150.931 p90=150.931 kernel_ms med=0.000 p90=0.000 kv_staged=2490368 (naive 16777216) blocks=19/128 q=8192 tab=516 out=135168 worst=0.000958817 +PASS sweep 64q/ 1kv ratio 64 ctx 256: launches=1 ctas=256 call_ms med=39.534 p90=39.534 kernel_ms med=0.000 p90=0.000 kv_staged=12288 (naive 65536) blocks=3/16 q=16384 tab=68 out=67584 worst=0.00138751 +PASS sweep 64q/ 1kv ratio 64 ctx 2048: launches=1 ctas=1024 call_ms med=297.443 p90=297.443 kernel_ms med=0.000 p90=0.000 kv_staged=77824 (naive 524288) blocks=19/128 q=16384 tab=516 out=270336 worst=0.000794728 +PASS sweep 64q/ 2kv ratio 32 ctx 256: launches=1 ctas=256 call_ms med=39.536 p90=39.536 kernel_ms med=0.000 p90=0.000 kv_staged=24576 (naive 131072) blocks=3/16 q=16384 tab=68 out=67584 worst=0.00138727 +PASS sweep 64q/ 2kv ratio 32 ctx 2048: launches=1 ctas=1024 call_ms med=298.528 p90=298.528 kernel_ms med=0.000 p90=0.000 kv_staged=155648 (naive 1048576) blocks=19/128 q=16384 tab=516 out=270336 worst=0.000966828 +PASS sweep 64q/ 4kv ratio 16 ctx 256: launches=1 ctas=256 call_ms med=39.563 p90=39.563 kernel_ms med=0.000 p90=0.000 kv_staged=49152 (naive 262144) blocks=3/16 q=16384 tab=68 out=67584 worst=0.00127321 +PASS sweep 64q/ 4kv ratio 16 ctx 2048: launches=1 ctas=1024 call_ms med=299.713 p90=299.713 kernel_ms med=0.000 p90=0.000 kv_staged=311296 (naive 2097152) blocks=19/128 q=16384 tab=516 out=270336 worst=0.000740042 +PASS sweep 64q/ 8kv ratio 8 ctx 256: launches=1 ctas=256 call_ms med=39.546 p90=39.546 kernel_ms med=0.000 p90=BE_FLUSH_METHOD_CHANGED KILLED the flush uses the memory-operation method (185 failing case(s), first: m_success_returns_ok) +BE_WFI_FLAG_RELEASE1 KILLED the first release waits for idle (WFI) (1 failing case(s), first: m_success_release1_address_payload_flags) +0.000 kv_staged=98304 (naive 524288) blocks=3/16 q=16384 tab=68 out=67584 worst=0.0014985 +PASS sweep 64q/ 8kv ratio 8 ctx 2048: launches=1 ctas=1024 call_ms med=300.168 p90=300.168 kernel_ms med=0.000 p90=0.000 kv_staged=622592 (naive 4194304) blocks=19/128 q=16384 tab=516 out=270336 worst=0.000810292 +PASS sweep 64q/16kv ratio 4 ctx 256: launches=1 ctas=256 call_ms med=39.996 p90=39.996 kernel_ms med=0.000 p90=0.000 kv_staged=196608 (naive 1048576) blocks=3/16 q=16384 tab=68 out=67584 worst=0.00133573 +PASS sweep 64q/16kv ratio 4 ctx 2048: launches=1 ctas=1024 call_ms med=301.779 p90=301.779 kernel_ms med=0.000 p90=0.000 kv_staged=1245184 (naive 8388608) blocks=19/128 q=16384 tab=516 out=270336 worst=0.000784602 +PASS sweep 64q/32kv ratio 2 ctx 256: launches=1 ctas=256 call_ms med=39.908 p90=39.908 kernel_ms med=0.000 p90=0.000 kv_staged=393216 (naive 2097152) blocks=3/16 q=16384 tab=68 out=67584 worst=0.00181348 +PASS sweep 64q/32kv ratio 2 ctx 2048: launches=1 ctas=1024 call_ms med=301.888 p90=301.888 kernel_ms med=0.000 p90=0.000 kv_staged=2490368 (naive 16777216) blocks=19/128 q=16384 tab=516 out=270336 worst=0.000804468 +PASS sweep 64q/64kv ratio 1 ctx 256: launches=1 ctas=256 call_ms med=39.915 p90=39.915 kernel_ms med=0.000 p90=0.000 kv_staged=786432 (naive 4194304) blocks=3/16 q=16384 tab=68 out=67584 worst=0.00132571 +PASS sweep 64q/64kv ratio 1 ctx 2048: launches=1 ctas=1024 call_ms med=302.272 p90=302.272 kernel_ms med=0.000 p90=0.000 kv_staged=4980736 (naive 33554432) blocks=19/128 q=16384 tab=516 out=270336 worst=0.00155178 +sweep: 72 points (64 supported, 8 unsupported by the kernel envelope), device_opens=0 +PASS: 73 checks, 0 failed +./build/baseline/gpu_attention_test --hd 128 --host-only +codegen paged_bf16: 624 insns, 84 gprs, 6 ugprs +nvdisasm paged_bf16: rc=0 insns=624 of 624 undecodable=0 missing=0 (/tmp/omega_attn_paged_bf16_1965481.sass) +codegen gqa_f32: 512 insns, 72 gprs, 6 ugprs +nvdisasm gqa_f32: rc=0 insns=512 of 512 undecodable=0 missing=0 (/tmp/omega_attn_gqa_f32_1965481.sass) +PASS: 107 checks, 0 failed +./build/baseline/gpu_attention_test --hd 128 --sim +BE_WFI_FLAG_RELEASE2 KILLED the second release waits for idle (WFI) (1 failing case(s), first: m_success_release2_payload_and_flags) +BE_BARRIER_IN_BUILD SURVIVED_REDUNDANT dsb sy after zeroing the sync words (redundant: a CPU barrier instruction has no effect a host test can observe (the fake driver runs on the same core); it is verified on the chip only (Phase B)) +BE_QMD_RELEASE_CHECK SURVIVED_REDUNDANT extra QMD1 release-word checks (redundant: the real descriptor builder always produces these words (src/omega_blackwell_qmd.c), so no input makes the check fire; it guards a future change of the builder, which tests/test_omega_blackwell_qmd.c style checks cover) +BE_PB_OVERFLOW SURVIVED_REDUNDANT pushbuffer word-capacity guard (redundant: the vector pushbuffer is a fixed 492 words against a 1024-word capacity, so it cannot overflow for any job) +PASS gqa_f32_qwen3_4b_32q8kv_ctx1 n=4096 rc=OK violations=0 worst_scaled_err=0 chip_ns=0 call_ns=10158262 calls=1 unwritten=0 kv_staged=8192/8192 blocks=1/1 | mutants 0/0 +PASS gqa_f32_qwen3_4b_32q8kv_ctx17 n=4096 rc=OK violations=0 worst_scaled_err=0.00224179 chip_ns=0 call_ns=7979123 calls=1 unwritten=0 kv_staged=139264/139264 blocks=1/1 | mutants 0/0 +PASS gqa_f32_qwen3_4b_32q8kv_ctx256 n=4096 rc=OK violations=0 worst_scaled_err=0.00206282 chip_ns=0 call_ns=17537924 calls=1 unwritten=0 kv_staged=2097152/2097152 blocks=1/1 | mutants 0/0 +PASS gqa_f32_qwen3_4b_32q8kv_ctx2048 n=4096 rc=OK violations=0 worst_scaled_err=0.00376301 chip_ns=0 call_ns=135631546 calls=1 unwritten=0 kv_staged=16777216/16777216 blocks=1/1 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=4090) NO_RESCALE:CAUGHT(rc=OK,bad=3905) Q_ROW:CAUGHT(rc=OK,bad=4086) OUT_ROW:CAUGHT(rc=OK,bad=4086) +PASS gqa_f32_qwen3_4b_32q8kv_ctx127 n=4096 rc=OK violations=0 worst_scaled_err=0.00217901 chip_ns=0 call_ns=8545304 calls=1 unwritten=0 kv_staged=1040384/1040384 blocks=1/1 | mutants 0/0 +PASS gqa_f32_qwen3_4b_32q8kv_ctx128 n=4096 rc=OK violations=0 worst_scaled_err=0.00245582 chip_ns=0 call_ns=8541720 calls=1 unwritten=0 kv_staged=1048576/1048576 blocks=1/1 | mutants 0/0 +PASS gqa_f32_qwen3_4b_32q8kv_ctx129 n=4096 rc=OK violations=0 worst_scaled_err=0.001674 chip_ns=0 call_ns=12741692 calls=1 unwritten=0 kv_staged=1056768/1056768 blocks=1/1 | mutants 0/0 +PASS gqa_f32_qwen3_4b_32q8kv_ctx300 n=4096 rc=OK violations=0 worst_scaled_err=0.00217497 chip_ns=0 call_ns=22194652 calls=1 unwritten=0 kv_staged=2457600/2457600 blocks=1/1 | mutants 0/0 +PASS gqa_f32_qwen3_4b_32q8kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.00326932 chip_ns=0 call_ns=64882261 calls=1 unwritten=0 kv_staged=8192000/8192000 blocks=1/1 | mutants 0/0 +PASS gqa_f32_gqa8_32q4kv_ctx1 n=4096 rc=OK violations=0 worst_scaled_err=0 chip_ns=0 call_ns=4941754 calls=1 unwritten=0 kv_staged=4096/4096 blocks=1/1 | mutants 0/0 +PASS gqa_f32_gqa8_32q4kv_ctx17 n=4096 rc=OK violations=0 worst_scaled_err=0.00195066 chip_ns=0 call_ns=5373902 calls=1 unwritten=0 kv_staged=69632/69632 blocks=1/1 | mutants 1/1 KV_HEAD:CAUGHT(rc=OK,bad=4095) +PASS gqa_f32_gqa8_32q4kv_ctx256 n=4096 rc=OK violations=0 worst_scaled_err=0.00231763 chip_ns=0 call_ns=16813502 calls=1 unwritten=0 kv_staged=1048576/1048576 blocks=1/1 | mutants 0/0 +PASS gqa_f32_gqa8_32q4kv_ctx2048 n=4096 rc=OK violations=0 worst_scaled_err=0.00246504 chip_ns=0 call_ns=129411014 calls=1 unwritten=0 kv_staged=8388608/8388608 blocks=1/1 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=4084) NO_RESCALE:CAUGHT(rc=OK,bad=3914) Q_ROW:CAUGHT(rc=OK,bad=4078) OUT_ROW:CAUGHT(rc=OK,bad=4078) +PASS gqa_f32_gqa8_32q4kv_ctx127 n=4096 rc=OK violations=0 worst_scaled_err=0.00196909 chip_ns=0 call_ns=8565768 calls=1 unwritten=0 kv_staged=520192/520192 blocks=1/1 | mutants 0/0 +PASS gqa_f32_gqa8_32q4kv_ctx128 n=4096 rc=OK violations=0 worst_scaled_err=0.00212764 chip_ns=0 call_ns=8582889 calls=1 unwritten=0 kv_staged=524288/524288 blocks=1/1 | mutants 0/0 +PASS gqa_f32_gqa8_32q4kv_ctx129 n=4096 rc=OK violations=0 worst_scaled_err=0.00194043 chip_ns=0 call_ns=12690715 calls=1 unwritten=0 kv_staged=528384/528384 blocks=1/1 | mutants 0/0 +PASS gqa_f32_gqa8_32q4kv_ctx300 n=4096 rc=OK violations=0 worst_scaled_err=0.00189108 chip_ns=0 call_ns=22019418 calls=1 unwritten=0 kv_staged=1228800/1228800 blocks=1/1 | mutants 0/0 +PASS gqa_f32_gqa8_32q4kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.0028386 chip_ns=0 call_ns=63986269 calls=1 unwritten=0 kv_staged=4096000/4096000 blocks=1/1 | mutants 0/0 +PASS gqa_rows_f32_qwen3_4b_32q8kv_base0_rows1 n=4096 rc=OK violations=0 worst_scaled_err=0 chip_ns=0 call_ns=4682824 calls=1 unwritten=0 kv_staged=8192/8192 blocks=1/1 | mutants 0/0 +PASS gqa_rows_f32_qwen3_4b_32q8kv_base17_rows5 n=20480 rc=OK violations=0 worst_scaled_err=0.00237778 chip_ns=0 call_ns=25921563 calls=1 unwritten=0 kv_staged=180224/901120 blocks=1/5 | mutants 0/0 +PASS gqa_rows_f32_qwen3_4b_32q8kv_base300_rows40 n=163840 rc=OK violations=0 worst_scaled_err=0.00322638 chip_ns=0 call_ns=914BE_SUBMIT_NOTHING_BUILT SURVIVED_REDUNDANT submit before build is refused (redundant: the driver refuses an empty submission too (physics m16_native.c m16_native_enqueue_methods: count == 0 returns -1), so the result is the same refusal) +BE_LAUNCH_NS_DROPPED KILLED the launch time is recorded before the doorbell (9 failing case(s), first: m_success_run_info_launch_time_set) +BE_SUBMIT_ERROR_IGNORED KILLED a failed submit is reported (SUBMIT), not treated as launched (13 failing case(s), first: m_submit_fail_name_step_state) +036015 calls=2 unwritten=0 kv_staged=2785280/111411200 blocks=1/40 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=163639) NO_RESCALE:CAUGHT(rc=OK,bad=96453) Q_ROW:CAUGHT(rc=OK,bad=163612) OUT_ROW:CAUGHT(rc=OK,bad=163612) +PASS gqa_rows_f32_gqa8_32q4kv_base0_rows1 n=4096 rc=OK violations=0 worst_scaled_err=0 chip_ns=0 call_ns=4648664 calls=1 unwritten=0 kv_staged=4096/4096 blocks=1/1 | mutants 0/0 +PASS gqa_rows_f32_gqa8_32q4kv_base17_rows5 n=20480 rc=OK violations=0 worst_scaled_err=0.00345221 chip_ns=0 call_ns=25731945 calls=1 unwritten=0 kv_staged=90112/450560 blocks=1/5 | mutants 0/0 +PASS gqa_rows_f32_gqa8_32q4kv_base300_rows40 n=163840 rc=OK violations=0 worst_scaled_err=0.0038327 chip_ns=0 call_ns=907784102 calls=2 unwritten=0 kv_staged=1392640/55705600 blocks=1/40 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=163627) NO_RESCALE:CAUGHT(rc=OK,bad=98605) Q_ROW:CAUGHT(rc=OK,bad=163626) OUT_ROW:CAUGHT(rc=OK,bad=163626) +PASS gqa_f32_large_scores_32q4kv_ctx256 n=4096 rc=OK violations=0 worst_scaled_err=0.114366 chip_ns=0 call_ns=16602364 calls=1 unwritten=0 kv_staged=1048576/1048576 blocks=1/1 | mutants 1/1 NO_MAX:CAUGHT(rc=OK,bad=4096) +PASS gqa_f32_mha_16q16kv_ctx300 n=2048 rc=OK violations=0 worst_scaled_err=0.00257229 chip_ns=0 call_ns=19373331 calls=1 unwritten=0 kv_staged=4915200/4915200 blocks=1/1 | mutants 3/3 Q_ROW:CAUGHT(rc=OK,bad=2045) OUT_ROW:CAUGHT(rc=OK,bad=2048) KV_HEAD:CAUGHT(rc=OK,bad=2045) +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx1 n=4096 rc=OK violations=0 worst_scaled_err=0 chip_ns=0 call_ns=6142372 calls=1 unwritten=0 kv_staged=65536/65536 blocks=1/1 | mutants 1/1 KV_HEAD:CAUGHT(rc=OK,bad=4096) +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx17 n=4096 rc=OK violations=0 worst_scaled_err=0.00184516 chip_ns=0 call_ns=6762649 calls=1 unwritten=0 kv_staged=131072/131072 blocks=2/2 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=4096) SLOT:CAUGHT(rc=OK,bad=4096) +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx256 n=4096 rc=OK violations=0 worst_scaled_err=0.00164 chip_ns=0 call_ns=20856064 calls=1 unwritten=0 kv_staged=1048576/1048576 blocks=16/16 | mutants 0/0 +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx2048 n=4096 rc=OK violations=0 worst_scaled_err=0.000660915 chip_ns=0 call_ns=169545368 calls=1 unwritten=0 kv_staged=8388608/8388608 blocks=128/128 | mutants 5/5 KV_HEAD:CAUGHT(rc=OK,bad=4094) SLOT:CAUGHT(rc=OK,bad=4088) NO_RESCALE:CAUGHT(rc=OK,bad=3458) Q_ROW:CAUGHT(rc=OK,bad=4088) OUT_ROW:CAUGHT(rc=OK,bad=4088) +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx127 n=4096 rc=OK violations=0 worst_scaled_err=0.00196848 chip_ns=0 call_ns=10435240 calls=1 unwritten=0 kv_staged=524288/524288 blocks=8/8 | mutants 0/0 +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx128 n=4096 rc=OK violations=0 worst_scaled_err=0.00206789 chip_ns=0 call_ns=10210150 calls=1 unwritten=0 kv_staged=524288/524288 blocks=8/8 | mutants 0/0 +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx129 n=4096 rc=OK violations=0 worst_scaled_err=0.00169498 chip_ns=0 call_ns=17455683 calls=1 unwritten=0 kv_staged=589824/589824 blocks=9/9 | mutants 0/0 +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx300 n=4096 rc=OK violations=0 worst_scaled_err=0.00194779 chip_ns=0 call_ns=27581753 calls=1 unwritten=0 kv_staged=1245184/1245184 blocks=19/19 | mutants 0/0 +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.00116868 chip_ns=0 call_ns=82862844 calls=1 unwritten=0 kv_staged=655360/4128768 blocks=10/63 | mutants 0/0 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx1 n=4096 rc=OK violations=0 worst_scaled_err=0 chip_ns=0 call_ns=6256629 calls=1 unwritten=0 kv_staged=32768/32768 blocks=1/1 | mutants 1/1 KV_HEAD:CAUGHT(rc=OK,bad=4096) +PASS paged_bf16_gqa8_32q4kv_bs16_ctx17 n=4096 rc=OK violations=0 worst_scaled_err=0.00173488 chip_ns=0 call_ns=6730537 calls=1 unwritten=0 kv_staged=65536/65536 blocks=2/2 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=4096) SLOT:CAUGHT(rc=OK,bad=4094) +PASS paged_bf16_gqa8_32q4kv_bs16_ctx256 n=4096 rc=OK violations=0 worst_scaled_err=0.00161135 chip_ns=0 call_ns=21353700 calls=1 unwritten=0 kv_staged=524288/524288 blocks=16/16 | mutants 0/0 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx2048 n=409BE_WAIT_UNMAPPED_ACCEPTED KILLED a wait before build or after free is refused without a driver call (harness exit 139 (crash or abort)) +6 rc=OK violations=0 worst_scaled_err=0.000630967 chip_ns=0 call_ns=169111860 calls=1 unwritten=0 kv_staged=4194304/4194304 blocks=128/128 | mutants 5/5 KV_HEAD:CAUGHT(rc=OK,bad=4092) SLOT:CAUGHT(rc=OK,bad=4081) NO_RESCALE:CAUGHT(rc=OK,bad=3413) Q_ROW:CAUGHT(rc=OK,bad=4082) OUT_ROW:CAUGHT(rc=OK,bad=4082) +PASS paged_bf16_gqa8_32q4kv_bs16_ctx127 n=4096 rc=OK violations=0 worst_scaled_err=0.00220911 chip_ns=0 call_ns=10343351 calls=1 unwritten=0 kv_staged=262144/262144 blocks=8/8 | mutants 0/0 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx128 n=4096 rc=OK violations=0 worst_scaled_err=0.00178584 chip_ns=0 call_ns=10383176 calls=1 unwritten=0 kv_staged=262144/262144 blocks=8/8 | mutants 0/0 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx129 n=4096 rc=OK violations=0 worst_scaled_err=0.00170524 chip_ns=0 call_ns=17018559 calls=1 unwritten=0 kv_staged=294912/294912 blocks=9/9 | mutants 0/0 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx300 n=4096 rc=OK violations=0 worst_scaled_err=0.00195843 chip_ns=0 call_ns=27712618 calls=1 unwritten=0 kv_staged=622592/622592 blocks=19/19 | mutants 0/0 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.00127854 chip_ns=0 call_ns=82814731 calls=1 unwritten=0 kv_staged=327680/2064384 blocks=10/63 | mutants 0/0 +PASS paged_bf16_split1_32q8kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.00280082 chip_ns=0 call_ns=78190788 calls=1 unwritten=0 kv_staged=4128768/4128768 blocks=63/63 | mutants 0/0 +PASS paged_bf16_split2_32q8kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.00180413 chip_ns=0 call_ns=79302094 calls=1 unwritten=0 kv_staged=4128768/4128768 blocks=63/63 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=4094) SLOT:CAUGHT(rc=OK,bad=4089) +PASS paged_bf16_split4_32q8kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.00118133 chip_ns=0 call_ns=80617817 calls=1 unwritten=0 kv_staged=4128768/4128768 blocks=63/63 | mutants 0/0 +PASS paged_bf16_split8_32q8kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.000901544 chip_ns=0 call_ns=83379008 calls=1 unwritten=0 kv_staged=4128768/4128768 blocks=63/63 | mutants 0/0 +PASS paged_bf16_split16_32q8kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.000901544 chip_ns=0 call_ns=88624812 calls=1 unwritten=0 kv_staged=4128768/4128768 blocks=63/63 | mutants 0/0 +PASS paged_bf16_split1_32q8kv_ctx100 n=4096 rc=OK violations=0 worst_scaled_err=0.00201304 chip_ns=0 call_ns=9673538 calls=1 unwritten=0 kv_staged=131072/458752 blocks=2/7 | mutants 0/0 +PASS paged_bf16_split2_32q8kv_ctx100 n=4096 rc=OK violations=0 worst_scaled_err=0.00201304 chip_ns=0 call_ns=10455800 calls=1 unwritten=0 kv_staged=131072/458752 blocks=2/7 | mutants 0/0 +PASS paged_bf16_split4_32q8kv_ctx100 n=4096 rc=OK violations=0 worst_scaled_err=0.00201304 chip_ns=0 call_ns=11314544 calls=1 unwritten=0 kv_staged=131072/458752 blocks=2/7 | mutants 0/0 +PASS paged_bf16_split8_32q8kv_ctx100 n=4096 rc=OK violations=0 worst_scaled_err=0.00201304 chip_ns=0 call_ns=13691523 calls=1 unwritten=0 kv_staged=131072/458752 blocks=2/7 | mutants 0/0 +PASS paged_bf16_split16_32q8kv_ctx100 n=4096 rc=OK violations=0 worst_scaled_err=0.00201304 chip_ns=0 call_ns=18936128 calls=1 unwritten=0 kv_staged=131072/458752 blocks=2/7 | mutants 0/0 +PASS paged_bf16_batch_3seq_32q8kv_ctx40_0_100 n=12288 rc=OK violations=0 worst_scaled_err=0.00228801 chip_ns=0 call_ns=16085479 calls=2 unwritten=0 kv_staged=458752/458752 blocks=7/7 | mutants 4/4 KV_HEAD:CAUGHT(rc=OK,bad=8190) SLOT:CAUGHT(rc=OK,bad=8184) Q_ROW:CAUGHT(rc=OK,bad=8190) OUT_ROW:CAUGHT(rc=OK,bad=8190) +PASS paged_bf16_shared_prefix_4seq_8q2kv_10pre n=4096 rc=OK violations=0 worst_scaled_err=0.00211434 chip_ns=0 call_ns=18637438 calls=1 unwritten=0 kv_staged=311296/802816 blocks=19/49 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=4095) SLOT:CAUGHT(rc=OK,bad=4093) +PASS paged_bf16_shared_prefix_4seq_32q8kv_10pre n=16384 rc=OK violations=0 worst_scaled_err=0.00189305 chip_ns=0 call_ns=74247459 calls=2 unwritten=0 kv_staged=1900544/3211264 blocks=29/49 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=16379) SLOT:CAUGHT(rc=OK,bad=16365) +mutant NO_MAX: caught 1 of 1 +mutant KV_HEAD: caught 12 of 12 +mutant SLOT: caught 12 of 12 +mutant NO_RESCALE: caught 6 of 6 +mutant Q_ROW: caught 8 of 8 +mutant OUT_ROW: caught 8 of 8 +device_opens=0 + hd128 dominant token 5 (warp 0 of chunk 0): rc OK, 0 bad, worst 0 + hd128 dominant token 40 (warp 1 of chunk 0): rc OK, 0 bad, worst 0 + hd128 dominant token 70 (warp 2 of chunk 0): rc OK, 0 bad, worst 0 + hd128 dominant token 100 (warp 3 of chunk 0): rc OK, 0 bad, worst 0 + hd128 dominant token 127 (warp 3 of chunk 0): rc OK, 0 bad, worst 0 + hd128 dominant token 131 (warp 0 of chunk 1): rc OK, 0 bad, worst 0 + hd128 dominant token 299 (warp 1 of chunk 2): rc OK, 0 bad, worst 0 +simulator error 3 +PASS: 227 checks, 0 failed +./build/baseline/gpu_attention_test --hd 128 --divergent --sim +BE_WAIT_DRIVER_RC_DROPPED KILLED the driver's wait code reaches the result (4 failing case(s), first: m_unc_marker_hang_driver_code) +BE_WAIT_RC_MAPPING SURVIVED_REDUNDANT timeout versus driver fault classification (redundant: the engine core treats every nonzero wait result the same (uncertain completion), and the real m16_native_wait_marker returns only 0 or -1 (m16_native.c)) +BE_WAIT_EQUALITY_RECHECK KILLED an overshoot of the ">=" compare is refused (UNKNOWN_STATE) (37 failing case(s), first: m_unc_marker_overshoot_name_step_wait) +BE_WAIT_SNAPSHOT_DROPPED KILLED the observed word is recorded after every wait (185 failing case(s), first: m_success_returns_ok) +BE_MARKER_DONE_NS_ALWAYS KILLED the completion time is recorded only when the first marker wait succeeded (2 failing case(s), first: m_unc_marker_hang_run_info_done_time_only_if_marker_succeeded) +BE_WAIT_MARKER_WRONG_WORD KILLED wait_marker waits on the first marker word (186 failing case(s), first: m_success_returns_ok) +warp simulator error: order 0: SHFL_SPLIT at pc 171: SHFL on a split warp +PASS gqa_f32_qwen3_4b_32q8kv_ctx1 n=4096 rc=OK violations=0 worst_scaled_err=0 chip_ns=0 call_ns=3582942 calls=1 unwritten=0 kv_staged=8192/8192 blocks=1/1 | mutants 0/0 +PASS gqa_f32_qwen3_4b_32q8kv_ctx17 n=4096 rc=OK violations=0 worst_scaled_err=0.00224179 chip_ns=0 call_ns=5562959 calls=1 unwritten=0 kv_staged=139264/139264 blocks=1/1 | mutants 0/0 +PASS gqa_f32_qwen3_4b_32q8kv_ctx256 n=4096 rc=OK violations=0 worst_scaled_err=0.00206282 chip_ns=0 call_ns=37973777 calls=1 unwritten=0 kv_staged=2097152/2097152 blocks=1/1 | mutants 0/0 +PASS gqa_f32_qwen3_4b_32q8kv_ctx2048 n=4096 rc=OK violations=0 worst_scaled_err=0.00376301 chip_ns=0 call_ns=297193101 calls=1 unwritten=0 kv_staged=16777216/16777216 blocks=1/1 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=4090) NO_RESCALE:CAUGHT(rc=OK,bad=3905) Q_ROW:CAUGHT(rc=OK,bad=4086) OUT_ROW:CAUGHT(rc=OK,bad=4086) +PASS gqa_f32_qwen3_4b_32q8kv_ctx127 n=4096 rc=OK violations=0 worst_scaled_err=0.00217901 chip_ns=0 call_ns=19299299 calls=1 unwritten=0 kv_staged=1040384/1040384 blocks=1/1 | mutants 0/0 +PASS gqa_f32_qwen3_4b_32q8kv_ctx128 n=4096 rc=OK violations=0 worst_scaled_err=0.00245582 chip_ns=0 call_ns=19215378 calls=1 unwritten=0 kv_staged=1048576/1048576 blocks=1/1 | mutants 0/0 +PASS gqa_f32_qwen3_4b_32q8kv_ctx129 n=4096 rc=OK violations=0 worst_scaled_err=0.001674 chip_ns=0 call_ns=21851320 calls=1 unwritten=0 kv_staged=1056768/1056768 blocks=1/1 | mutants 0/0 +PASS gqa_f32_qwen3_4b_32q8kv_ctx300 n=4096 rc=OK violations=0 worst_scaled_err=0.00217497 chip_ns=0 call_ns=45422079 calls=1 unwritten=0 kv_staged=2457600/2457600 blocks=1/1 | mutants 0/0 +PASS gqa_f32_qwen3_4b_32q8kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.00326932 chip_ns=0 call_ns=144553108 calls=1 unwritten=0 kv_staged=8192000/8192000 blocks=1/1 | mutants 0/0 +PASS gqa_f32_gqa8_32q4kv_ctx1 n=4096 rc=OK violations=0 worst_scaled_err=0 chip_ns=0 call_ns=3660687 calls=1 unwritten=0 kv_staged=4096/4096 blocks=1/1 | mutants 0/0 +PASS gqa_f32_gqa8_32q4kv_ctx17 n=4096 rc=OK violations=0 worst_scaled_err=0.00195066 chip_ns=0 call_ns=5516095 calls=1 unwritten=0 kv_staged=69632/69632 blocks=1/1 | mutants 1/1 KV_HEAD:CAUGHT(rc=OK,bad=4095) +PASS gqa_f32_gqa8_32q4kv_ctx256 n=4096 rc=OK violations=0 worst_scaled_err=0.00231763 chip_ns=0 call_ns=37545757 calls=1 unwritten=0 kv_staged=1048576/1048576 blocks=1/1 | mutants 0/0 +PASS gqa_f32_gqa8_32q4kv_ctx2048 n=4096 rc=OK violations=0 worst_scaled_err=0.00246504 chip_ns=0 call_ns=293231803 calls=1 unwritten=0 kv_staged=8388608/8388608 blocks=1/1 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=4084) NO_RESCALE:CAUGHT(rc=OK,bad=3914) Q_ROW:CAUGHT(rc=OK,bad=4078) OUT_ROW:CAUGHT(rc=OK,bad=4078) +PASS gqa_f32_gqa8_32q4kv_ctx127 n=4096 rc=OK violations=0 worst_scaled_err=0.00196909 chip_ns=0 call_ns=19260659 calls=1 unwritten=0 kv_staged=520192/520192 blocks=1/1 | mutants 0/0 +PASS gqa_f32_gqa8_32q4kv_ctx128 n=4096 rc=OK violations=0 worst_scaled_err=0.00212764 chip_ns=0 call_ns=19232610 calls=1 unwritten=0 kv_staged=524288/524288 blocks=1/1 | mutants 0/0 +PASS gqa_f32_gqa8_32q4kv_ctx129 n=4096 rc=OK violations=0 worst_scaled_err=0.00194043 chip_ns=0 call_ns=21785640 calls=1 unwritten=0 kv_staged=528384/528384 blocks=1/1 | mutants 0/0 +PASS gqa_f32_gqa8_32q4kv_ctx300 n=4096 rc=OK violations=0 worst_scaled_err=0.00189108 chip_ns=0 call_ns=45288382 calls=1 unwritten=0 kv_staged=1228800/1228800 blocks=1/1 | mutants 0/0 +PASS gqa_f32_gqa8_32q4kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.0028386 chip_ns=0 call_ns=144130992 calls=1 unwritten=0 kv_staged=4096000/4096000 blocks=1/1 | mutants 0/0 +PASS gqa_rows_f32_qwen3_4b_32q8kv_base0_rows1 n=4096 rc=OK violations=0 worst_scaled_err=0 chip_ns=0 call_ns=3656479 calls=1 unwritten=0 kv_staged=8192/8192 blocks=1/1 | mutants 0/0 +PASS gqa_rows_f32_qwen3_4b_32q8kv_base17_rows5 n=20480 rc=OK violations=0 worst_scaled_err=0.00237778 chip_ns=0 call_ns=28196238 calls=1 unwritten=0 kv_staged=180224/901120 blocks=1/5 | mutants 0/0 +PASS gqa_rows_f32_qwen3_4b_32q8kv_base300_rows4BE_WAIT_SEMAPHORE_WRONG_VALUE KILLED the release semaphore wait is for DONE (6), not the initial value (5) (174 failing case(s), first: m_success_returns_ok) +BE_DIAG_DRV_RC_DROPPED KILLED diagnostics report the raw driver code (16 failing case(s), first: m_open_fail_errno_and_driver_code) +BE_DIAG_TEXT_OWN_DROPPED KILLED diagnostics report the backend's own text (10 failing case(s), first: m_short_pb_own_check_text) +BE_DIAG_TEXT_DRIVER_DROPPED KILLED diagnostics fall back to the driver's text (14 failing case(s), first: m_open_fail_driver_text_reported) +BE_DIAG_MARKER_DROPPED KILLED diagnostics report the first marker word (7 failing case(s), first: m_unc_marker2_hang_observed_words) +BE_DIAG_MARKER2_DROPPED KILLED diagnostics report the second marker word (6 failing case(s), first: m_unc_marker_hang_observed_words) +BE_DIAG_SEMAPHORE_DROPPED KILLED diagnostics report the semaphore word (8 failing case(s), first: m_unc_marker_hang_observed_words) +BE_DIAG_VALID_MARKER_DROPPED KILLED the first marker is flagged valid only when mapped (9 failing case(s), first: m_unc_marker_hang_sync_valid_mask) +0 n=163840 rc=OK violations=0 worst_scaled_err=0.00322638 chip_ns=0 call_ns=1914836828 calls=2 unwritten=0 kv_staged=2785280/111411200 blocks=1/40 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=163639) NO_RESCALE:CAUGHT(rc=OK,bad=96453) Q_ROW:CAUGHT(rc=OK,bad=163612) OUT_ROW:CAUGHT(rc=OK,bad=163612) +PASS gqa_rows_f32_gqa8_32q4kv_base0_rows1 n=4096 rc=OK violations=0 worst_scaled_err=0 chip_ns=0 call_ns=3655375 calls=1 unwritten=0 kv_staged=4096/4096 blocks=1/1 | mutants 0/0 +PASS gqa_rows_f32_gqa8_32q4kv_base17_rows5 n=20480 rc=OK violations=0 worst_scaled_err=0.00345221 chip_ns=0 call_ns=28103517 calls=1 unwritten=0 kv_staged=90112/450560 blocks=1/5 | mutants 0/0 +PASS gqa_rows_f32_gqa8_32q4kv_base300_rows40 n=163840 rc=OK violations=0 worst_scaled_err=0.0038327 chip_ns=0 call_ns=1910334071 calls=2 unwritten=0 kv_staged=1392640/55705600 blocks=1/40 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=163627) NO_RESCALE:CAUGHT(rc=OK,bad=98605) Q_ROW:CAUGHT(rc=OK,bad=163626) OUT_ROW:CAUGHT(rc=OK,bad=163626) +PASS gqa_f32_large_scores_32q4kv_ctx256 n=4096 rc=OK violations=0 worst_scaled_err=0.114366 chip_ns=0 call_ns=37653213 calls=1 unwritten=0 kv_staged=1048576/1048576 blocks=1/1 | mutants 1/1 NO_MAX:CAUGHT(rc=OK,bad=4096) +PASS gqa_f32_mha_16q16kv_ctx300 n=2048 rc=OK violations=0 worst_scaled_err=0.00257229 chip_ns=0 call_ns=39459932 calls=1 unwritten=0 kv_staged=4915200/4915200 blocks=1/1 | mutants 3/3 Q_ROW:CAUGHT(rc=OK,bad=2045) OUT_ROW:CAUGHT(rc=OK,bad=2048) KV_HEAD:CAUGHT(rc=OK,bad=2045) +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx1 n=4096 rc=OK violations=0 worst_scaled_err=0 chip_ns=0 call_ns=4202691 calls=1 unwritten=0 kv_staged=65536/65536 blocks=1/1 | mutants 1/1 KV_HEAD:CAUGHT(rc=OK,bad=4096) +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx17 n=4096 rc=OK violations=0 worst_scaled_err=0.00184516 chip_ns=0 call_ns=6564263 calls=1 unwritten=0 kv_staged=131072/131072 blocks=2/2 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=4096) SLOT:CAUGHT(rc=OK,bad=4096) +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx256 n=4096 rc=OK violations=0 worst_scaled_err=0.00164 chip_ns=0 call_ns=47552080 calls=1 unwritten=0 kv_staged=1048576/1048576 blocks=16/16 | mutants 0/0 +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx2048 n=4096 rc=OK violations=0 worst_scaled_err=0.000660915 chip_ns=0 call_ns=384114899 calls=1 unwritten=0 kv_staged=8388608/8388608 blocks=128/128 | mutants 5/5 KV_HEAD:CAUGHT(rc=OK,bad=4094) SLOT:CAUGHT(rc=OK,bad=4088) NO_RESCALE:CAUGHT(rc=OK,bad=3458) Q_ROW:CAUGHT(rc=OK,bad=4088) OUT_ROW:CAUGHT(rc=OK,bad=4088) +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx127 n=4096 rc=OK violations=0 worst_scaled_err=0.00196848 chip_ns=0 call_ns=23676231 calls=1 unwritten=0 kv_staged=524288/524288 blocks=8/8 | mutants 0/0 +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx128 n=4096 rc=OK violations=0 worst_scaled_err=0.00206789 chip_ns=0 call_ns=23586150 calls=1 unwritten=0 kv_staged=524288/524288 blocks=8/8 | mutants 0/0 +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx129 n=4096 rc=OK violations=0 worst_scaled_err=0.00169498 chip_ns=0 call_ns=27952731 calls=1 unwritten=0 kv_staged=589824/589824 blocks=9/9 | mutants 0/0 +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx300 n=4096 rc=OK violations=0 worst_scaled_err=0.00194779 chip_ns=0 call_ns=56859375 calls=1 unwritten=0 kv_staged=1245184/1245184 blocks=19/19 | mutants 0/0 +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.00116868 chip_ns=0 call_ns=187291513 calls=1 unwritten=0 kv_staged=655360/4128768 blocks=10/63 | mutants 0/0 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx1 n=4096 rc=OK violations=0 worst_scaled_err=0 chip_ns=0 call_ns=4200803 calls=1 unwritten=0 kv_staged=32768/32768 blocks=1/1 | mutants 1/1 KV_HEAD:CAUGHT(rc=OK,bad=4096) +PASS paged_bf16_gqa8_32q4kv_bs16_ctx17 n=4096 rc=OK violations=0 worst_scaled_err=0.00173488 chip_ns=0 call_ns=6548071 calls=1 unwritten=0 kv_staged=65536/65536 blocks=2/2 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=4096) SLOT:CAUGHT(rc=OK,bad=4094) +PASS paged_bf16_gqa8_32q4kv_bs16_ctx256 n=4096 rc=OK violations=0 worst_scaled_err=0.00161135 chip_ns=0 call_ns=47496047 calls=1 unwritten=0 kv_staged=524288BE_DIAG_VALID_MARKER2_DROPPED KILLED the second marker is flagged valid only when mapped (8 failing case(s), first: m_unc_marker_hang_sync_valid_mask) +BE_DIAG_VALID_SEMAPHORE_DROPPED KILLED the semaphore is flagged valid only when mapped (9 failing case(s), first: m_unc_marker_hang_sync_valid_mask) +BE_FREE_SCRATCH_ROLE_DROPPED KILLED free_buf of SCRATCH frees the four SCRATCH parts (51 failing case(s), first: m_success_returns_ok) +/524288 blocks=16/16 | mutants 0/0 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx2048 n=4096 rc=OK violations=0 worst_scaled_err=0.000630967 chip_ns=0 call_ns=383473100 calls=1 unwritten=0 kv_staged=4194304/4194304 blocks=128/128 | mutants 5/5 KV_HEAD:CAUGHT(rc=OK,bad=4092) SLOT:CAUGHT(rc=OK,bad=4081) NO_RESCALE:CAUGHT(rc=OK,bad=3413) Q_ROW:CAUGHT(rc=OK,bad=4082) OUT_ROW:CAUGHT(rc=OK,bad=4082) +PASS paged_bf16_gqa8_32q4kv_bs16_ctx127 n=4096 rc=OK violations=0 worst_scaled_err=0.00220911 chip_ns=0 call_ns=23616487 calls=1 unwritten=0 kv_staged=262144/262144 blocks=8/8 | mutants 0/0 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx128 n=4096 rc=OK violations=0 worst_scaled_err=0.00178584 chip_ns=0 call_ns=23607111 calls=1 unwritten=0 kv_staged=262144/262144 blocks=8/8 | mutants 0/0 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx129 n=4096 rc=OK violations=0 worst_scaled_err=0.00170524 chip_ns=0 call_ns=27917115 calls=1 unwritten=0 kv_staged=294912/294912 blocks=9/9 | mutants 0/0 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx300 n=4096 rc=OK violations=0 worst_scaled_err=0.00195843 chip_ns=0 call_ns=56776542 calls=1 unwritten=0 kv_staged=622592/622592 blocks=19/19 | mutants 0/0 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.00127854 chip_ns=0 call_ns=187270825 calls=1 unwritten=0 kv_staged=327680/2064384 blocks=10/63 | mutants 0/0 +PASS paged_bf16_split1_32q8kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.00280082 chip_ns=0 call_ns=176529134 calls=1 unwritten=0 kv_staged=4128768/4128768 blocks=63/63 | mutants 0/0 +PASS paged_bf16_split2_32q8kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.00180413 chip_ns=0 call_ns=178178268 calls=1 unwritten=0 kv_staged=4128768/4128768 blocks=63/63 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=4094) SLOT:CAUGHT(rc=OK,bad=4089) +PASS paged_bf16_split4_32q8kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.00118133 chip_ns=0 call_ns=180879218 calls=1 unwritten=0 kv_staged=4128768/4128768 blocks=63/63 | mutants 0/0 +PASS paged_bf16_split8_32q8kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.000901544 chip_ns=0 call_ns=187224472 calls=1 unwritten=0 kv_staged=4128768/4128768 blocks=63/63 | mutants 0/0 +PASS paged_bf16_split16_32q8kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.000901544 chip_ns=0 call_ns=200556632 calls=1 unwritten=0 kv_staged=4128768/4128768 blocks=63/63 | mutants 0/0 +PASS paged_bf16_split1_32q8kv_ctx100 n=4096 rc=OK violations=0 worst_scaled_err=0.00201304 chip_ns=0 call_ns=19880935 calls=1 unwritten=0 kv_staged=131072/458752 blocks=2/7 | mutants 0/0 +PASS paged_bf16_split2_32q8kv_ctx100 n=4096 rc=OK violations=0 worst_scaled_err=0.00201304 chip_ns=0 call_ns=21293859 calls=1 unwritten=0 kv_staged=131072/458752 blocks=2/7 | mutants 0/0 +PASS paged_bf16_split4_32q8kv_ctx100 n=4096 rc=OK violations=0 worst_scaled_err=0.00201304 chip_ns=0 call_ns=24211964 calls=1 unwritten=0 kv_staged=131072/458752 blocks=2/7 | mutants 0/0 +PASS paged_bf16_split8_32q8kv_ctx100 n=4096 rc=OK violations=0 worst_scaled_err=0.00201304 chip_ns=0 call_ns=30352304 calls=1 unwritten=0 kv_staged=131072/458752 blocks=2/7 | mutants 0/0 +PASS paged_bf16_split16_32q8kv_ctx100 n=4096 rc=OK violations=0 worst_scaled_err=0.00201304 chip_ns=0 call_ns=43296588 calls=1 unwritten=0 kv_staged=131072/458752 blocks=2/7 | mutants 0/0 +PASS paged_bf16_batch_3seq_32q8kv_ctx40_0_100 n=12288 rc=OK violations=0 worst_scaled_err=0.00228801 chip_ns=0 call_ns=24278732 calls=2 unwritten=0 kv_staged=458752/458752 blocks=7/7 | mutants 4/4 KV_HEAD:CAUGHT(rc=OK,bad=8190) SLOT:CAUGHT(rc=OK,bad=8184) Q_ROW:CAUGHT(rc=OK,bad=8190) OUT_ROW:CAUGHT(rc=OK,bad=8190) +PASS paged_bf16_shared_prefix_4seq_8q2kv_10pre n=4096 rc=OK violations=0 worst_scaled_err=0.00211434 chip_ns=0 call_ns=36778886 calls=1 unwritten=0 kv_staged=311296/802816 blocks=19/49 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=4095) SLOT:CAUGHT(rc=OK,bad=4093) +PASS paged_bf16_shared_prefix_4seq_32q8kv_10pre n=16384 rc=OK violations=0 worst_scaled_err=0.00189305 chip_ns=0 call_ns=146902180 calls=2 unwritten=0 kv_staged=1900544/3211264 blocks=29/49 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=16379) SLOT:CAUGHT(rc=OK,bad=16365) +mutant NO_MAX: caught 1 of 1 +mutant KV_HEAD: caught 12 of 12 +mutant SLOT: caught 12 of 12 +mutant NO_RESCALE: caught 6 of 6 +mutant Q_ROW: caught 8 of 8 +mutant OUT_ROW: caught 8 of 8 +device_opens=0 + hd128 dominant token 5 (warp 0 of chunk 0): rc OK, 0 bad, worst 0 + hd128 dominant token 40 (warp 1 of chunk 0): rc OK, 0 bad, worst 0 + hd128 dominant token 70 (warp 2 of chunk 0): rc OK, 0 bad, worst 0 + hd128 dominant token 100 (warp 3 of chunk 0): rc OK, 0 bad, worst 0 + hd128 dominant token 127 (warp 3 of chunk 0): rc OK, 0 bad, worst 0 + hd128 dominant token 131 (warp 0 of chunk 1): rc OK, 0 bad, worst 0 + hd128 dominant token 299 (warp 1 of chunk 2): rc OK, 0 bad, worst 0 +warp simulator error: order 0: SMEM at pc 49: shared access past the declared size +PASS: 229 checks, 0 failed +./build/baseline/gpu_moe_window_test --host-only +host-only: alignment refusals that need a tensor (col0 % 8, window past n) run in the chip gate +PASS: 23 checks, 0 failed +./build/baseline/gpu_fp8_api_test --host-only +BE_FREE_UNKNOWN_ROLE_ACCEPTED KILLED free_buf refuses an unknown role (2 failing case(s), first: m_guard_free_negative_role_refused) +conversion: 254/256 exact, 2 NaN codes refused, 14 codes travel as f32 subnormals (2^-129 .. 7 * 2^-129): the chip must not flush them +codegen: 180 kernels built, largest 884 IR instructions, peak 88 GPRs +nvdisasm k2048_lb16_r8: rc=0 insns=832 undecodable=0 missing=0 (/tmp/omega_fp8_k2048_lb16_r8_2001377.sass) +nvdisasm k2048_lb16_r1_deep4: rc=0 insns=456 undecodable=0 missing=0 (/tmp/omega_fp8_k2048_lb16_r1_deep4_2001377.sass) +nvdisasm k768_lb8_r2: rc=0 insns=168 undecodable=0 missing=0 (/tmp/omega_fp8_k768_lb8_r2_2001377.sass) +v2 codegen k=768 lb=8 rows=1: 250 insns, peak 52 GPRs, declared 56 +v2 codegen k=768 lb=8 rows=2: 401 insns, peak 66 GPRs, declared 72 +v2 codegen k=768 lb=8 rows=4: 703 insns, peak 94 GPRs, declared 96 +v2 codegen k=2048 lb=16 rows=1: 473 insns, peak 74 GPRs, declared 80 +v2 codegen k=2048 lb=16 rows=2: 838 insns, peak 108 GPRs, declared 112 +v2 codegen k=4096 lb=16 rows=1: 877 insns, peak 114 GPRs, declared 120 +v2 codegen: 24 kernels built, largest 877 IR instructions, peak 114 GPRs +v2 k=768 rows=1 warps=16: declared 56 registers, 28672 per SM at one CTA +v2 k=2048 rows=1 warps=16: declared 80 registers, 40960 per SM at one CTA +v2 k=4096 rows=1 warps=16: declared 120 registers, 61440 per SM at one CTA +nvdisasm v2_k2048_lb16_r1_w16: rc=0 insns=480 undecodable=0 missing=0 (/tmp/omega_fp8_v2_k2048_lb16_r1_w16_2001377.sass) +gpu_fp8_api_test: 1482 checks, 0 failed: PASS +./build/baseline/gpu_fp8_api_test --sim +BE_FREE_ERROR_DROPPED KILLED a failed free is reported (CLEANUP) (6 failing case(s), first: m_cleanup_free_role_name_step_state) +sim one-hot conversion: 256/256 rows exact +sim k256 lb8 r1 w1 rc=0 worst_rel=4.868e-08 bad=0 (4 ms) +sim k256 lb8 r1 w1 deep rc=0 worst_rel=4.868e-08 bad=0 (3 ms) +sim k256 lb8 r2 w2 rc=0 worst_rel=3.955e-08 bad=0 (4 ms) +sim k256 lb8 r2 w2 mutant 1: caught (rc=0 bad=256 worst_rel=4.659e-01) +sim k256 lb8 r2 w2 mutant 2: one K step, control not applicable +sim k256 lb8 r2 w2 mutant 4: caught (rc=0 bad=256 worst_rel=4.659e-01) +sim k256 lb8 r2 w2 deep rc=0 worst_rel=3.955e-08 bad=0 (4 ms) +sim k256 lb8 r2 w2 deep mutant 1: caught (rc=0 bad=256 worst_rel=4.659e-01) +sim k256 lb8 r2 w2 mutant 2: one K step, control not applicable +sim k256 lb8 r2 w2 deep mutant 4: caught (rc=0 bad=256 worst_rel=4.659e-01) +sim k768 lb8 r4 w8 (down shape width) rc=0 worst_rel=3.352e-08 bad=0 (10 ms) +sim k768 lb8 r4 w8 (down shape width) deep rc=0 worst_rel=3.352e-08 bad=0 (10 ms) +sim k768 lb8 r8 rc=0 worst_rel=3.023e-08 bad=0 (10 ms) +sim k2048 lb16 r8 w8 (gate shape width) rc=0 worst_rel=2.818e-08 bad=0 (35 ms) +sim k2048 lb16 r8 w8 (gate shape width) mutant 1: caught (rc=0 bad=384 worst_rel=2.819e-01) +sim k2048 lb16 r8 w8 (gate shape width) mutant 2: caught (rc=0 bad=383 worst_rel=1.578e-01) +sim k2048 lb16 r8 w8 (gate shape width) mutant 4: caught (rc=0 bad=384 worst_rel=2.819e-01) +sim k2048 lb16 r1 rc=0 worst_rel=2.044e-08 bad=0 (14 ms) +sim k2048 lb16 r1 deep rc=0 worst_rel=2.044e-08 bad=0 (13 ms) +sim k512 lb16 r2 w3 (odd warps, tail row groups) rc=0 worst_rel=4.748e-08 bad=0 (7 ms) +sim k512 lb16 r2 w3 (odd warps, tail row groups) deep rc=0 worst_rel=4.748e-08 bad=0 (7 ms) +sim 4 experts shared x (gate+up) rc=0 worst_rel=2.646e-08 bad=0 (93 ms) +sim 4 experts shared x (gate+up) mutant 1: caught (rc=0 bad=1024 worst_rel=2.538e-01) +sim 4 experts shared x (gate+up) mutant 2: caught (rc=0 bad=1024 worst_rel=1.503e-01) +sim 4 experts shared x (gate+up) mutant 3: caught (rc=0 bad=1024 worst_rel=3.976e-01) +sim 4 experts shared x (gate+up) mutant 4: caught (rc=0 bad=1024 worst_rel=2.538e-01) +sim 8 groups per-group x, repeated ids (down) rc=0 worst_rel=4.441e-08 bad=0 (80 ms) +sim 8 groups per-group x, repeated ids (down) mutant 1: caught (rc=0 bad=2047 worst_rel=5.011e-01) +sim 8 groups per-group x, repeated ids (down) mutant 2: caught (rc=0 bad=2048 worst_rel=6.440e-01) +sim 8 groups per-group x, repeated ids (down) mutant 3: caught (rc=0 bad=2048 worst_rel=8.668e-01) +sim 8 groups per-group x, repeated ids (down) mutant 4: caught (rc=0 bad=2047 worst_rel=5.011e-01) +sim 8 groups per-group x, repeated ids (down) deep rc=0 worst_rel=4.441e-08 bad=0 (80 ms) +sim 8 groups per-group x, repeated ids (down) deep mutant 1: caught (rc=0 bad=2047 worst_rel=5.011e-01) +sim 8 groups per-group x, repeated ids (down) deep mutant 2: caught (rc=0 bad=2048 worst_rel=6.440e-01) +sim 8 groups per-group x, repeated ids (down) deep mutant 3: caught (rc=0 bad=2048 worst_rel=8.668e-01) +sim 8 groups per-group x, repeated ids (down) deep mutant 4: caught (rc=0 bad=2047 worst_rel=5.011e-01) +sim 2 groups per-group x rc=0 worst_rel=7.101e-08 bad=0 (4 ms) +sim 2 groups per-group x deep rc=0 worst_rel=7.101e-08 bad=0 (4 ms) +sim k768 w7: partial staging round (deep) rc=0 worst_rel=2.724e-08 bad=0 (25 ms) +sim k768 w7: partial staging round (deep) deep rc=0 worst_rel=2.724e-08 bad=0 (23 ms) +sim battery: worst relative error 7.101e-08 over 11 points, 12579824 warp issues +sim v2 k2048 lb16 r1 w8 (gate_up/qkv width) rc=0 worst_rel=2.463e-08 bad=0 identical_to_v1=1 (27 ms) +sim v2 k2048 lb16 r1 w8 (gate_up/qkv width) mutant 1: caught (rc=0 bad=256 worst_reBE_RELEASE_KEEPS_MARKER_POINTER KILLED the first marker word is unmapped before SCRATCH is freed (1 failing case(s), first: m_cleanup_free_scratch_sync_words_unmapped_before_free) +l=2.218e-01, identity check differs=1) +sim v2 k2048 lb16 r1 w8 (gate_up/qkv width) mutant 2: caught (rc=0 bad=256 worst_rel=1.690e-01, identity check differs=1) +sim v2 k2048 lb16 r2 w8 (128 B per lane) rc=0 worst_rel=2.578e-08 bad=0 identical_to_v1=1 (25 ms) +sim v2 k4096 lb16 r1 w8 (o_proj width) rc=0 worst_rel=1.878e-08 bad=0 identical_to_v1=1 (53 ms) +sim v2 k768 lb8 r1 w8 (down width) rc=0 worst_rel=2.677e-08 bad=0 identical_to_v1=1 (12 ms) +sim v2 k768 lb8 r4 w8 rc=0 worst_rel=3.253e-08 bad=0 identical_to_v1=1 (10 ms) +sim v2 k768 w7: partial staging round rc=0 worst_rel=3.262e-08 bad=0 identical_to_v1=1 (24 ms) +sim v2 4 experts shared x (gate_up) rc=0 worst_rel=2.472e-08 bad=0 identical_to_v1=1 (108 ms) +sim v2 4 experts shared x (gate_up) mutant 1: caught (rc=0 bad=1022 worst_rel=2.155e-01, identity check differs=1) +sim v2 4 experts shared x (gate_up) mutant 2: caught (rc=0 bad=1024 worst_rel=1.745e-01, identity check differs=1) +sim v2 4 experts shared x (gate_up) mutant 3: caught (rc=0 bad=1024 worst_rel=3.980e-01, identity check differs=1) +sim v2 8 groups per-group x, repeated ids (down) rc=0 worst_rel=4.875e-08 bad=0 identical_to_v1=1 (87 ms) +sim v2 8 groups per-group x, repeated ids (down) mutant 1: caught (rc=0 bad=2048 worst_rel=3.773e-01, identity check differs=1) +sim v2 8 groups per-group x, repeated ids (down) mutant 2: caught (rc=0 bad=2048 worst_rel=5.105e-01, identity check differs=1) +sim v2 8 groups per-group x, repeated ids (down) mutant 3: caught (rc=0 bad=2048 worst_rel=1.327e+00, identity check differs=1) +sim v2 2 groups per-group x, r8 k256 rc=0 worst_rel=5.595e-08 bad=0 identical_to_v1=1 (4 ms) +sim v2 k512 w3 (odd warps, tail row groups) rc=0 worst_rel=4.233e-08 bad=0 identical_to_v1=1 (7 ms) +sim v2 battery: 10/10 points bit-identical to variant 1 +gpu_fp8_api_test: 70 checks, 0 failed: PASS +build/baseline/gpu_decode_attn_test --host-only +rope rows vs libm: 1013 positions x 64 dims, 1 one-ulp differences, 0 worse +hostmath vs libm: sincos max abs 2.22e-16, pow/exp/log max rel 1.31e-14 +codegen depth 1: 988 instructions, 112 registers (declared 120, 256 threads -> 30720 of 65536) +codegen depth 2: 996 instructions, 116 registers (declared 120, 256 threads -> 30720 of 65536) +codegen depth 3: 1004 instructions, 120 registers (declared 128, 256 threads -> 32768 of 65536) +codegen depth 4: 1012 instructions, 124 registers (declared 128, 256 threads -> 32768 of 65536) +gpu_decode_attn_test: 41 checks, 0 failed: PASS +build/baseline/gpu_decode_attn_test --sim +sim context 1 depth 1: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips) +sim context 7 depth 2: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips) +sim context 7, sharp q (x4) depth 4: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips) +sim context 256 (full chunk, 1 split) depth 4: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips) +sim context 257 (2 splits, last holds one position) depth 4: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips) +sim context 301 (2 splits) depth 3: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips) +sim context 701 (3 splits) depth 4: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips) +sim context 701 (per_split 512: 2 chunks per CTA) depth 2: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips) +sim mutant 1 at context 301: caught (bad=4601 worst=24.241 rows: k[0] chip bf76 ref becc) +sim mutant 2 at context 301: caught (bad=3756 worst=37.139 rows: ok (0 one-ulp k flips)) +sim mutant 3 at context 301: caught (bad=2114 worst=16.257 rows: v[0] chip 0000 ref bf4c) +sim mutant 4 at context 301: caught (bad=2233 worst=21.965 rows: ok (0 one-ulp k flips)) +sim: 6925320 warp issues in total +gpu_decode_attn_test: 12 checks, 0 failed: PASS +./build/baseline/gpu_router_test --host-only +codegen warps 8 depth 1: 567 instructions, 44 registers (declared 48, register file 12288 of 65536) +codegen warps 8 depth 2: 567 instructions, 44 registers (declared 48, register file 12288 of 65536) +codegen warps 8 depth 4: 567 instructions, 46 registers (declared 48, register file 12288 of 65536) +codegen warps 8 depth 8: 567 instructions, 60 registers (declared 64, register file 16384 of 65536) +codegen warps 16 depth 1: 543 instructions, 40 registers (declared 48, register file 24576 of 65536) +codegen warps 16 depth 2: 543 instructions, 40 registers (declared 48, register file 24576 of 65536) +codegen warps 16 depth 4: 543 instructions, 46 registers (declared 48, register file 24576 of 65536) +codegen warps 16 depth 8: 543 instructions, 60 registers (declared 64, register file 32768 of 65536) +codegen warps 32 depth 1: 547 instructions, 40 registers (declared 48, register file 49152 of 65536) +codegen warps 32 depth 2: 547 instructions, 40 registers (declared 48, register file 49152 of 65536) +codegen warps 32 depth 4: 547 instructions, 46 registers (declared 48, register file 49152 of 65536) +codegen warps 32 depth 8: 547 instructions, 60 registers (declared 64, register file 65536 of 65536) +gpu_router_test: 69 checks, 0 failed: PASS +./build/baseline/gpu_router_test --sim +sim depth 8 norm: ok ids equal, w max abs 4.14e-08, x' max abs 1.67e-07 (of 2.05), tables ok, margin 1.40e-01 +sim depth 8 norm seed 12: ok ids equal, w max abs 2.88e-08, x' max abs 1.67e-07 (of 2.03), tables ok, margin 7.86e-02 +sim depth 8 no-norm: ok ids equal, w max abs 2.89e-08, x' max abs 1.33e-07 (of 2.05), tables ok, margin 2.17e-02 +sim depth 4 norm: ok ids equal, w max abs 5.29e-08, x' max abs 3.03e-07 (of 2.04), tables ok, margin 5.94e-02 +sim depth 1 norm: ok ids equal, w max abs 5.22e-08, x' max abs 2.82e-07 (of 2.00), tables ok, margin 4.43e-02 +sim depth 2 norm out_scale 2^64: ok ids equal, w max abs 5.07e-08, x' max abs 1.37e-07 (of 2.08), tables ok, margin 1.20e-01 +sim mutant 1: caught (bad mask 5) ids DIFFER, w max abs 0.00e+00, x' max abs 3.45e-01 (of 2.07), tables ok, margin 1.39e-01 +sim mutant 2: caught (bad mask 1) ids DIFFER, w max abs 0.00e+00, x' max abs 1.81e-07 (of 2.07), tables ok, margin 1.39e-01 +sim mutant 3: caught (bad mask 8) ids equal, w max abs 2.02e-08, x' max abs 1.81e-07 (of 2.07), tables WRONG, margin 1.39e-01 +sim mutant 4: caught (bad mask 2) ids equal, w max abs 6.91e-01, x' max abs 1.81e-07 (of 2.07), tables ok, margin 1.39e-01 +sim: 630654 warp issues in total +gpu_router_test: 10 checks, 0 failed: PASS +build/baseline/gpu_bf16_gemv_test --host-only +host-only: emulation, oracle, budgets +emulation vs oracle: abs 3.577e-08, scale 63.821 +codegen rows 1 warps 4 depth 8: 266 instructions, 60 registers (declared 64, register file 8192 of 65536) +codegen rows 1 warps 8 depth 8: 234 instructions, 60 registers (declared 64, register file 16384 of 65536) +codegen rows 1 warps 16 depth 8: 218 instructions, 60 registers (declared 64, register file 32768 of 65536) +codegen rows 1 warps 32 depth 8: 210 instructions, 60 registers (declared 64, register file 65536 of 65536) +gpu_bf16_gemv_test: 185 checks, 0 failed: PASS +build/baseline/gpu_bf16_gemv_test --sim +sim k 2048 n 100 rows 1 warps 8 depth 8 grid 2: ok 0 of 100 rows differ from the emulation (bit-identical) +sim k 2048 n 100 rows 1 warps 8 depth 4 grid 3: ok 0 of 100 rows differ from the emulation (bit-identical) +sim k 2048 n 64 rows 1 warps 8 depth 1 grid 2: ok 0 of 64 rows differ from the emulation (bit-identical) +sim k 2048 n 96 rows 2 warps 8 depth 4 grid 2: ok 0 of 96 rows differ from the emulation (bit-identical) +sim k 2048 n 96 rows 4 warps 8 depth 4 grid 1: ok 0 of 96 rows differ from the emulation (bit-identical) +sim k 512 n 70 rows 1 warps 8 depth 2 grid 2: ok 0 of 70 rows differ from the emulation (bit-identical) +sim k 512 n 70 rows 2 warps 4 depth 1 grid 3: ok 0 of 70 rows differ from the emulation (bit-identical) +sim k 4096 n 40 rows 1 warps 8 depth 16 grid 2: ok 0 of 40 rows differ from the emulation (bit-identical) +sim mutant 1: caught 64 of 64 rows differ from the emulation +sim mutant 2: caught 64 of 64 rows differ from the emulation +sim mutant 3: caught 64 of 64 rows differ from the emulation +sim: 297068 warp issues in total +gpu_bf16_gemv_test: 11 checks, 0 failed: PASS +build/baseline/gpu_fp8gemm_test --host-only +host-only: emulation, permutation, budgets +emulation vs oracle: worst relative error 2.00e-08 of the term scale +codegen k 2048 lane 16 mt 8 warps 16: 797 instructions, 107 registers (declared 112, register file 57344 of 65536), shared 16384 B +codegen k 4096 lane 16 mt 8 warps 16: 797 instructions, 107 registers (declared 112, register file 57344 of 65536), shared 16384 B +codegen k 1024 lane 16 mt 8 warps 16: 788 instructions, 104 registers (declared 112, register file 57344 of 65536), shared 16384 B +codegen k 768 lane 8 mt 8 warps 16: 683 instructions, 103 registers (declared 104, register file 53248 of 65536), shared 8192 B +codegen k 768 lane 8 mt 8 warps 8: 731 instructions, 103 registers (declared 104, register file 26624 of 65536), shared 8192 B +codegen k 2048 lane 8 mt 8 warps 16: 541 instructions, 103 registers (declared 104, register file 53248 of 65536), shared 8192 B +codegen k 2048 lane 16 mt 4 warps 16: 509 instructions, 99 registers (declared 104, register file 53248 of 65536), shared 8192 B +codegen k 2048 lane 16 mt 8 warps 32: 765 instructions, 107 registers (declared 112, register file 114688 of 65536) DOES NOT FIT, shared 16384 B +codegen k 2048 lane 16 mt 8 warps 8: 861 instructions, 107 registers (declared 112, register file 28672 of 65536), shared 16384 B +codegen k 2048 lane 16 mt 4 warps 8: 541 instructions, 99 registers (declared 104, register file 26624 of 65536), shared 8192 B +codegen k 4096 lane 16 mt 4 warps 8: 541 instructions, 99 registers (declared 104, register file 26624 of 65536), shared 8192 B +gpu_fp8gemm_test: 53 checks, 0 failed: PASS +build/baseline/gpu_fp8gemm_test --sim +sim k 2048 n 40 lane 16 mt 8 warps 16 grid 2: ok 0 of 600 outputs differ from the emulation (bit-identical) +sim k 4096 n 20 lane 16 mt 8 warps 16 grid 1: ok 0 of 220 outputs differ from the emulation (bit-identical) +sim k 1024 n 33 lane 16 mt 8 warps 16 grid 2: ok 0 of 99 outputs differ from the emulation (bit-identical) +sim k 768 n 130 lane 8 mt 8 warps 16 grid 2: ok 0 of 2730 outputs differ from the emulation (bit-identical) +sim k 768 n 24 lane 8 mt 8 warps 8 grid 1: ok 0 of 264 outputs differ from the emulation (bit-identical) +sim k 2048 n 16 lane 16 mt 4 warps 16 grid 1: ok 0 of 160 outputs differ from the emulation (bit-identical) +sim mutant 1: caught 600 of 600 outputs differ from the emulation +sim mutant 2: caught 600 of 600 outputs differ from the emulation +sim mutant 3: caught 600 of 600 outputs differ from the emulation +sim: 3444454 warp issues in total +gpu_fp8gemm_test: 9 checks, 0 failed: PASS +build/baseline/gpu_gpr_boundary_test +BE_RELEASE_KEEPS_MARKER2_POINTER KILLED the second marker word is unmapped before SCRATCH is freed (1 failing case(s), first: m_cleanup_free_scratch_sync_words_unmapped_before_free) +fp8 gemv sweep: 2091 variants, 0 below peak + 2 +router peak 46 -> declared 48 +decode attn peak 124 -> declared 128 +matmul fragment kernels: 117 built, 12 at a boundary (session declares the raw peak), 0 of those selected for a model shape +gpu_gpr_boundary_test: 298 checks, 0 failed: PASS +./build/baseline/gpu_cmdlist_test --host-only +codegen axpy: 23 insns, peak 12 gprs, declared 16 +codegen res add|norm: 128 insns, peak 40 gprs, declared 48 +codegen res combine|norm: 264 insns, peak 49 gprs, declared 56 +codegen res add: 45 insns, peak 28 gprs, declared 32 +codegen swiglu: 29 insns, peak 16 gprs, declared 24 +codegen argmax: 165 insns, peak 32 gprs, declared 40 +codegen argmax indexed: 160 insns, peak 40 gprs, declared 48 +host-only: 20 checks, 0 failed: PASS +./build/baseline/gpu_cmdlist_test --sim +sim res mode 5 scale 1 mutant 0: x identical, y 0/2048 outside tolerance +sim res mode 5 scale 1 mutant 1: x identical, y 2047/2048 outside tolerance +sim res mode 6 scale 1 mutant 0: x identical, y 0/2048 outside tolerance +sim res mode 6 scale 1 mutant 1: x DIFFERS, y 2047/2048 outside tolerance +sim res mode 5 scale 2^64 mutant 0: x identical, y 0/2048 outside tolerance +sim res mode 5 scale 2^64 mutant 1: x identical, y 2047/2048 outside tolerance +sim res mode 6 scale 2^64 mutant 0: x identical, y 0/2048 outside tolerance +sim res mode 6 scale 2^64 mutant 1: x DIFFERS, y 2048/2048 outside tolerance +sim swiglu mutant 0: 0/6144 outside tolerance +sim swiglu mutant 1: 6144/6144 outside tolerance +sim argmax tie 0 mutant 0: index 151625 value 49.9996 (ref 151625) +sim argmax tie 0 mutant 1: index 151625 value 49.9996 (ref 151625) +sim argmax tie 1 mutant 0: index 1007 value 60 (ref 1007) +sim argmax tie 1 mutant 1: index 28784 value 49.9999 (ref 1007) +sim: 39 checks, 0 failed: PASS +./build/baseline/gpu_decode_graph_test --host-only +dgraph prefetch 0 (red 0) +fp8 knobs: variant 1 barrier 0 (wfi+inval_all) cta_budget 0 shape 0/0/0 cached 0 +ok: RES NORM builds (101 instructions, peak 40 registers) +ok: RES ADD builds (45 instructions, peak 28 registers) +ok: RES COMBINE|NORM builds (264 instructions, peak 49 registers) +ok: SWIGLU builds (29 instructions, peak 16 registers) +ok: ARGMAX identity builds (165 instructions, peak 32 registers) +ok: ARGMAX indexed builds (160 instructions, peak 40 registers) +ok: SWIGLU mutant 1 builds (29 instructions, peak 16 registers) +ok: RES COMBINE|NORM mutant 2 builds (246 instructions, peak 49 registers) +ok: RES ADD|COMBINE refused by codegen +ok: fp8 record without a list: BAD_ARGS +ok: bf16 record without a list: BAD_ARGS +ok: router record without a list: BAD_ARGS +ok: decode attn record without a list: BAD_ARGS +ok: fp8 record with tab_va 0: BAD_ARGS +ok: bf16 record with x_va 0: BAD_ARGS +ok: router record with a NULL router: BAD_ARGS +ok: decode attn record with a NULL cache: BAD_ARGS +ok: graph create with an empty config: BAD_ARGS +host-only: 18 checks, 0 failed: PASS +BE_RELEASE_KEEPS_SEM_POINTER KILLED the semaphore word is unmapped before SCRATCH is freed (1 failing case(s), first: m_cleanup_free_scratch_sync_words_unmapped_before_free) +BE_CLOSE_KEEPS_MARKER_POINTER KILLED close unmaps the first marker word (1 failing case(s), first: m_close_unmaps_every_sync_word) +BE_CLOSE_KEEPS_MARKER2_POINTER KILLED close unmaps the second marker word (1 failing case(s), first: m_close_unmaps_every_sync_word) +BE_CLOSE_KEEPS_SEM_POINTER KILLED close unmaps the semaphore word (1 failing case(s), first: m_close_unmaps_every_sync_word) +BE_CLOSE_NOT_CALLED KILLED close really closes the driver (36 failing case(s), first: m_success_driver_counts) +BE_CLOSE_ERROR_IGNORED KILLED a failed close is reported (CLEANUP) (2 failing case(s), first: m_cleanup_close_name_step_state) +WRAP_POISON_NOT_COMPLEMENT KILLED the poison word is the complement of the expected sum (7 failing case(s), first: m_vec_success_returns_zero) +WRAP_POISON_CONSTANT KILLED the poison word never collides with a legitimate sum (0xdeadbeef is one) (7 failing case(s), first: m_vec_success_returns_zero) +WRAP_ENGINE_FAILURE_IGNORED KILLED an engine failure (here a cleanup fault) fails the wrapper (1 failing case(s), first: m_vec_cleanup_fault_returns_nonzero) +WRAP_ORACLE_IGNORED KILLED the host oracle decides success, not the engine (1 failing case(s), first: m_vec_wrong_math_returns_nonzero) +WRAP_PARITY_FLAG_FORCED KILLED parity_verified follows the oracle (1 failing case(s), first: m_vec_wrong_math_parity_not_verified) +WRAP_MARKER_NOT_REPORTED KILLED the completion marker is reported (1 failing case(s), first: m_vec_success_completion_marker_and_semaphore) +WRAP_SEMAPHORE_NOT_REPORTED KILLED the semaphore value is reported (1 failing case(s), first: m_vec_success_completion_marker_and_semaphore) +WRAP_LAUNCH_TIME_NOT_REPORTED KILLED the launch time is reported (1 failing case(s), first: m_vec_success_timestamps) +WRAP_DONE_TIME_NOT_REPORTED KILLED the completion time is reported (1 failing case(s), first: m_vec_success_timestamps) +WRAP_ELAPSED_NOT_REPORTED KILLED the elapsed time is reported (1 failing case(s), first: m_vec_success_timestamps) +WRAP_SM_ARCH_NOT_REPORTED KILLED the architecture is reported (1 failing case(s), first: m_vec_success_shape_fields) +WRAP_ELEMENT_COUNT_NOT_REPORTED KILLED the element count is reported (1 failing case(s), first: m_vec_success_shape_fields) +WRAP_NULL_GUARD_DROPPED KILLED a NULL argument is refused before any use (harness exit 139 (crash or abort)) +WRAP_ZERO_COUNT_GUARD SURVIVED_REDUNDANT a zero element count is refused by the wrapper (redundant: the engine refuses element_count 0 as INVALID_ARGS (src/omega_gpu_engine.c job_valid) and the wrapper then returns -1, so the result is the same refusal) +WRAP_MARKER_TIMEOUT KILLED the first marker wait limit is 5000 ms (1 failing case(s), first: m_vec_success_timeouts_are_5000_each) +WRAP_SEMAPHORE_TIMEOUT KILLED the semaphore wait limit is 5000 ms (1 failing case(s), first: m_vec_success_timeouts_are_5000_each) +WRAP_MARKER2_TIMEOUT KILLED the second marker wait limit is 5000 ms (1 failing case(s), first: m_vec_success_timeouts_are_5000_each) +WRAP_VISIBILITY_TIMEOUT SURVIVED_REDUNDANT the visibility limit is 5000 ms (redundant: the Blackwell barrier callback ignores its timeout argument (it is a CPU dsb sy that cannot wait), so no host observation depends on the value) +WRAP_FLAGS_ALL_PROTECTIONS KILLED the wrapper runs with every protection on (flags 0) (2 failing case(s), first: m_vec_success_timeouts_are_5000_each) +WRAP_BACKEND_NOT_INSTALLED KILLED the wrapper installs the Blackwell backend itself (13 failing case(s), first: m_vec_success_returns_zero) +WRAP_PROGRAM_LENGTH KILLED the whole encoded program is handed to the engine (7 failing case(s), first: m_vec_success_returns_zero) +WRAP_MARKER_CHECK SURVIVED_REDUNDANT second check of the marker payload (redundant: the backend wait_word already refuses any first-marker value other than 0x44444444 (UNKNOWN_STATE), so the engine fails before this line is reached) +WRAP_SEMAPHORE_CHECK SURVIVED_REDUNDANT second check of the semaphore value (redundant: the backend wait_word already refuses any semaphore value other than DONE (6), so the engine fails before this line is reached) +mutants: 120 total, 107 killed, 13 survived as redundant, 0 survived as test gaps (receipt /tmp/mutrun.vMuPOg/out.json) +CUDA++ HOST TESTS PASS (33 targets) diff --git a/evidence/LEARN53-L777/binaries.sha256 b/evidence/LEARN53-L777/binaries.sha256 new file mode 100644 index 00000000..ec46ecf2 --- /dev/null +++ b/evidence/LEARN53-L777/binaries.sha256 @@ -0,0 +1,11 @@ +6d869b3bd3086489bdfeda6338314de8ad18cf740ea94aea322f937d347f9927 build/learn53/mutant-stride.elf +43e9c59b7706c1253b23271d4192397084706b71308779747e5d90b5c487f9e1 build/learn53/mutant-tail.elf +8dc4ac12b02ec351772d682b1b77681bbb73cc89dc2c1e8ff26036e514d6a333 build/learn53/mutant-tolerance.elf +b4ebb832261e0bdcdb58bd7ad1b59f2b7da732658886e892b29b11b794d957d4 build/learn53/mutant-wrong-op.elf +26ce1d235f29625c13a3229aac43a1a6293c00e848e9014be4d936283bad299e build/learn53/red.elf +6e5e767d1175ad4e187dc1e496b5eaf83df362117810c6993adaef92274cec0d build/learn53/stream-check.elf +474c6d7d2200aad721d744106f430bed8ded85dba8a34a931829165d4cf73466 build/learn53/stream.elf +c903ed879c506e1bbb35453ba39bfa1e41bbfa0f160cd7e4d5d8980a4bd80aa2 build/learn53/stream-input.elf +194c899909d0cad4911674b7e1ca6370f4773bb524fc5dcedcc60e9d415fd7a9 build/learn53/stream-red.elf +e34796a6b14823e321d1f6b92fb0be22ba8aec705daa3835979eb5a39c2877c7 build/learn53/stream-unit.elf +06682c257f1465736569fd17ea6d42933c4dc82f361420c6b60dfdef10d2c681 build/learn53/unit.elf diff --git a/evidence/LEARN53-L777/bootstrap.log b/evidence/LEARN53-L777/bootstrap.log new file mode 100644 index 00000000..be820a3f --- /dev/null +++ b/evidence/LEARN53-L777/bootstrap.log @@ -0,0 +1 @@ +PASS source-only seed bootstrap and compiler fixpoint diff --git a/evidence/LEARN53-L777/cli-0.out b/evidence/LEARN53-L777/cli-0.out new file mode 100644 index 00000000..5b0ec86a --- /dev/null +++ b/evidence/LEARN53-L777/cli-0.out @@ -0,0 +1 @@ +HOST_ONLY 0 diff --git a/evidence/LEARN53-L777/cli-0.status b/evidence/LEARN53-L777/cli-0.status new file mode 100644 index 00000000..d4cfddaa --- /dev/null +++ b/evidence/LEARN53-L777/cli-0.status @@ -0,0 +1,3 @@ +emitter_rc=0 +cli_rc=0 +12 evidence/LEARN53-L777/cli-0.out \ No newline at end of file diff --git a/evidence/LEARN53-L777/cli-1.out b/evidence/LEARN53-L777/cli-1.out new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777/cli-1.status b/evidence/LEARN53-L777/cli-1.status new file mode 100644 index 00000000..09d39cf5 --- /dev/null +++ b/evidence/LEARN53-L777/cli-1.status @@ -0,0 +1,3 @@ +emitter_rc=0 +cli_rc=1 +0 evidence/LEARN53-L777/cli-1.out \ No newline at end of file diff --git a/evidence/LEARN53-L777/cli-2.out b/evidence/LEARN53-L777/cli-2.out new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777/cli-2.status b/evidence/LEARN53-L777/cli-2.status new file mode 100644 index 00000000..a0b5d496 --- /dev/null +++ b/evidence/LEARN53-L777/cli-2.status @@ -0,0 +1,3 @@ +emitter_rc=0 +cli_rc=65 +0 evidence/LEARN53-L777/cli-2.out \ No newline at end of file diff --git a/evidence/LEARN53-L777/cli-3.out b/evidence/LEARN53-L777/cli-3.out new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777/cli-3.status b/evidence/LEARN53-L777/cli-3.status new file mode 100644 index 00000000..f14d89ed --- /dev/null +++ b/evidence/LEARN53-L777/cli-3.status @@ -0,0 +1,3 @@ +emitter_rc=0 +cli_rc=65 +0 evidence/LEARN53-L777/cli-3.out \ No newline at end of file diff --git a/evidence/LEARN53-L777/cli-4.out b/evidence/LEARN53-L777/cli-4.out new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777/cli-4.status b/evidence/LEARN53-L777/cli-4.status new file mode 100644 index 00000000..313b2171 --- /dev/null +++ b/evidence/LEARN53-L777/cli-4.status @@ -0,0 +1,3 @@ +emitter_rc=0 +cli_rc=65 +0 evidence/LEARN53-L777/cli-4.out \ No newline at end of file diff --git a/evidence/LEARN53-L777/cli-5.out b/evidence/LEARN53-L777/cli-5.out new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777/cli-5.status b/evidence/LEARN53-L777/cli-5.status new file mode 100644 index 00000000..b208c4da --- /dev/null +++ b/evidence/LEARN53-L777/cli-5.status @@ -0,0 +1,3 @@ +emitter_rc=0 +cli_rc=77 +0 evidence/LEARN53-L777/cli-5.out \ No newline at end of file diff --git a/evidence/LEARN53-L777/cli-red-status.txt b/evidence/LEARN53-L777/cli-red-status.txt new file mode 100644 index 00000000..0fdf0c7c --- /dev/null +++ b/evidence/LEARN53-L777/cli-red-status.txt @@ -0,0 +1,3 @@ +emitter_rc=0 +stub_rc=0 +valid_cli_red_check_rc=1 \ No newline at end of file diff --git a/evidence/LEARN53-L777/cli-red.out b/evidence/LEARN53-L777/cli-red.out new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777/green-compile.log b/evidence/LEARN53-L777/green-compile.log new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777/green.log b/evidence/LEARN53-L777/green.log new file mode 100644 index 00000000..fc7a6cb3 --- /dev/null +++ b/evidence/LEARN53-L777/green.log @@ -0,0 +1,71 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 diff --git a/evidence/LEARN53-L777/host.txt b/evidence/LEARN53-L777/host.txt new file mode 100644 index 00000000..e3c8a6cd --- /dev/null +++ b/evidence/LEARN53-L777/host.txt @@ -0,0 +1 @@ +Linux spark-b87b 7.0.0-1019-nvidia #19~24.04.2-Ubuntu SMP PREEMPT_DYNAMIC Sun Sep 6 18:35:11 UTC 2 aarch64 aarch64 aarch64 GNU/Linux diff --git a/evidence/LEARN53-L777/independent-arithmetic.json b/evidence/LEARN53-L777/independent-arithmetic.json new file mode 100644 index 00000000..b7cb3993 --- /dev/null +++ b/evidence/LEARN53-L777/independent-arithmetic.json @@ -0,0 +1,66 @@ +{ + "tool": "WolframLanguageEvaluator", + "role": "external independent mathematical oracle, not a runtime dependency", + "evaluations": [ + { + "input": "<|\"magicCUL1LittleEndian\"->FromDigits[Reverse[ToCharacterCode[\"CUL1\"]],256],\"guard\"->FromDigits[\"A5A5A5A5\",16],\"u32add\"->Mod[{4294967295,7,9}+{1,4,6},2^32],\"sum\"->Mod[Total[{4294967295,2,3}],2^32],\"matmul\"->Mod[{{1,2},{3,4}}.{{5,6,7},{8,9,10}},2^32],\"matmulOverflow\"->Mod[{{4294967295,2},{3,4}}.{{5,6,7},{8,9,10}},2^32]|>", + "output": { + "magicCUL1LittleEndian": 827086147, + "guard": 2779096485, + "u32add": [ + 0, + 11, + 15 + ], + "sum": 4, + "matmul": [ + [ + 21, + 24, + 27 + ], + [ + 47, + 54, + 61 + ] + ], + "matmulOverflow": [ + [ + 11, + 12, + 13 + ], + [ + 47, + 54, + 61 + ] + ] + } + }, + { + "input": "<|\"matmul302\"->{{1,2,3},{4,5,6},{7,8,9}}.{{1,2},{3,4},{5,6}},\"reduce17wrap\"->Mod[17 (2^32-1),2^32],\"extent17stride15\"->((17-1)15+1),\"manifestLargest\"->96+4(2((17-1)15+1)),\"outputLargest\"->4(((17-1)15+1)+2)|>", + "output": { + "matmul302": [ + [ + 22, + 28 + ], + [ + 49, + 64 + ], + [ + 76, + 100 + ] + ], + "reduce17wrap": 4294967279, + "extent17stride15": 241, + "manifestLargest": 2024, + "outputLargest": 972 + } + } + ] +} \ No newline at end of file diff --git a/evidence/LEARN53-L777/mutant-stride-compile.log b/evidence/LEARN53-L777/mutant-stride-compile.log new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777/mutant-stride-elf.txt b/evidence/LEARN53-L777/mutant-stride-elf.txt new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777/mutant-stride-elf.txt @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777/mutant-stride.diff b/evidence/LEARN53-L777/mutant-stride.diff new file mode 100644 index 00000000..aaef03f2 --- /dev/null +++ b/evidence/LEARN53-L777/mutant-stride.diff @@ -0,0 +1,11 @@ +--- native/learn53/task.om ++++ mutant/task.om +@@ -240,7 +240,7 @@ + if ne col 0 + ret 2779096485 + end +-a = kw add 24 mul row kw 8 ++a = kw add 24 row + b = kw add add 24 kw 11 mul row kw 9 + ret and add a b 4294967295 + end diff --git a/evidence/LEARN53-L777/mutant-stride.log b/evidence/LEARN53-L777/mutant-stride.log new file mode 100644 index 00000000..6bc5d5a6 --- /dev/null +++ b/evidence/LEARN53-L777/mutant-stride.log @@ -0,0 +1,77 @@ +PASS 1 +FAIL 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +FAIL 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +FAIL 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +FAIL 70 +PASS 71 +PASS 72 +PASS 73 +FAIL 74 +PASS 75 +PASS 76 +PASS 77 diff --git a/evidence/LEARN53-L777/mutant-stride.status b/evidence/LEARN53-L777/mutant-stride.status new file mode 100644 index 00000000..6f8a0592 --- /dev/null +++ b/evidence/LEARN53-L777/mutant-stride.status @@ -0,0 +1 @@ +mutant_stride_rc=1 \ No newline at end of file diff --git a/evidence/LEARN53-L777/mutant-tail-compile.log b/evidence/LEARN53-L777/mutant-tail-compile.log new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777/mutant-tail-elf.txt b/evidence/LEARN53-L777/mutant-tail-elf.txt new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777/mutant-tail-elf.txt @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777/mutant-tail.diff b/evidence/LEARN53-L777/mutant-tail.diff new file mode 100644 index 00000000..13ffe93f --- /dev/null +++ b/evidence/LEARN53-L777/mutant-tail.diff @@ -0,0 +1,11 @@ +--- native/learn53/task.om ++++ mutant/task.om +@@ -259,7 +259,7 @@ + if ne kc add kw 13 1 2779096485 + ret 1 + end +-for i ulong kw 13 ++for i ulong sub kw 13 1 + if ne kc add i 1 kexpect i + ret 1 + end diff --git a/evidence/LEARN53-L777/mutant-tail.log b/evidence/LEARN53-L777/mutant-tail.log new file mode 100644 index 00000000..380ba13d --- /dev/null +++ b/evidence/LEARN53-L777/mutant-tail.log @@ -0,0 +1,77 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +FAIL 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +FAIL 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +FAIL 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +FAIL 68 +FAIL 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +FAIL 76 +PASS 77 diff --git a/evidence/LEARN53-L777/mutant-tail.status b/evidence/LEARN53-L777/mutant-tail.status new file mode 100644 index 00000000..6ea45668 --- /dev/null +++ b/evidence/LEARN53-L777/mutant-tail.status @@ -0,0 +1 @@ +mutant_tail_rc=1 \ No newline at end of file diff --git a/evidence/LEARN53-L777/mutant-tolerance-compile.log b/evidence/LEARN53-L777/mutant-tolerance-compile.log new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777/mutant-tolerance-elf.txt b/evidence/LEARN53-L777/mutant-tolerance-elf.txt new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777/mutant-tolerance-elf.txt @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777/mutant-tolerance.diff b/evidence/LEARN53-L777/mutant-tolerance.diff new file mode 100644 index 00000000..c867e63d --- /dev/null +++ b/evidence/LEARN53-L777/mutant-tolerance.diff @@ -0,0 +1,11 @@ +--- native/learn53/task.om ++++ mutant/task.om +@@ -154,7 +154,7 @@ + if eq kw 16 0 + ret 65 + end +-if ne kw 21 0 ++if ne kw 21 kw 21 + ret 65 + end + if ne kw 22 0 diff --git a/evidence/LEARN53-L777/mutant-tolerance.log b/evidence/LEARN53-L777/mutant-tolerance.log new file mode 100644 index 00000000..c27ac04d --- /dev/null +++ b/evidence/LEARN53-L777/mutant-tolerance.log @@ -0,0 +1,77 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +FAIL 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +FAIL 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 diff --git a/evidence/LEARN53-L777/mutant-tolerance.status b/evidence/LEARN53-L777/mutant-tolerance.status new file mode 100644 index 00000000..dc094c38 --- /dev/null +++ b/evidence/LEARN53-L777/mutant-tolerance.status @@ -0,0 +1 @@ +mutant_tolerance_rc=1 \ No newline at end of file diff --git a/evidence/LEARN53-L777/mutant-wrong-op-compile.log b/evidence/LEARN53-L777/mutant-wrong-op-compile.log new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777/mutant-wrong-op-elf.txt b/evidence/LEARN53-L777/mutant-wrong-op-elf.txt new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777/mutant-wrong-op-elf.txt @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777/mutant-wrong-op.diff b/evidence/LEARN53-L777/mutant-wrong-op.diff new file mode 100644 index 00000000..4d1325f6 --- /dev/null +++ b/evidence/LEARN53-L777/mutant-wrong-op.diff @@ -0,0 +1,11 @@ +--- native/learn53/task.om ++++ mutant/task.om +@@ -242,7 +242,7 @@ + end + a = kw add 24 mul row kw 8 + b = kw add add 24 kw 11 mul row kw 9 +-ret and add a b 4294967295 ++ret 0 + end + fn keval n ulong c ulong to int + status = kvalid n diff --git a/evidence/LEARN53-L777/mutant-wrong-op.log b/evidence/LEARN53-L777/mutant-wrong-op.log new file mode 100644 index 00000000..a6cf510a --- /dev/null +++ b/evidence/LEARN53-L777/mutant-wrong-op.log @@ -0,0 +1,77 @@ +PASS 1 +FAIL 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +FAIL 8 +PASS 9 +PASS 10 +FAIL 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +FAIL 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +FAIL 70 +PASS 71 +PASS 72 +PASS 73 +FAIL 74 +FAIL 75 +PASS 76 +PASS 77 diff --git a/evidence/LEARN53-L777/mutant-wrong-op.status b/evidence/LEARN53-L777/mutant-wrong-op.status new file mode 100644 index 00000000..003adc44 --- /dev/null +++ b/evidence/LEARN53-L777/mutant-wrong-op.status @@ -0,0 +1 @@ +mutant_wrong-op_rc=1 \ No newline at end of file diff --git a/evidence/LEARN53-L777/public-frame.bin b/evidence/LEARN53-L777/public-frame.bin new file mode 100644 index 00000000..40200097 Binary files /dev/null and b/evidence/LEARN53-L777/public-frame.bin differ diff --git a/evidence/LEARN53-L777/red-compile.log b/evidence/LEARN53-L777/red-compile.log new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777/red.log b/evidence/LEARN53-L777/red.log new file mode 100644 index 00000000..1f4d1c34 --- /dev/null +++ b/evidence/LEARN53-L777/red.log @@ -0,0 +1,71 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +FAIL 8 +FAIL 9 +FAIL 10 +FAIL 11 +FAIL 12 +FAIL 13 +FAIL 14 +FAIL 15 +FAIL 16 +FAIL 17 +FAIL 18 +FAIL 19 +FAIL 20 +FAIL 21 +FAIL 22 +FAIL 23 +FAIL 24 +FAIL 25 +FAIL 26 +FAIL 27 +FAIL 28 +FAIL 29 +FAIL 30 +FAIL 31 +FAIL 32 +FAIL 33 +FAIL 34 +FAIL 35 +FAIL 36 +FAIL 37 +FAIL 38 +FAIL 39 +FAIL 40 +FAIL 41 +FAIL 42 +FAIL 43 +FAIL 44 +FAIL 45 +FAIL 46 +FAIL 47 +FAIL 48 +FAIL 49 +FAIL 50 +FAIL 51 +FAIL 52 +FAIL 53 +FAIL 54 +PASS 55 +FAIL 56 +FAIL 57 +FAIL 58 +FAIL 59 +FAIL 60 +FAIL 61 +FAIL 62 +FAIL 63 +PASS 64 +PASS 65 +FAIL 66 +FAIL 67 +PASS 68 +PASS 69 +FAIL 70 +PASS 71 diff --git a/evidence/LEARN53-L777/replay-results.json b/evidence/LEARN53-L777/replay-results.json new file mode 100644 index 00000000..7845831d --- /dev/null +++ b/evidence/LEARN53-L777/replay-results.json @@ -0,0 +1,56 @@ +{ + "source": "11ad6a0a7783f5d221de79111d6abba4ee1ae52f", + "compiler_sha256": "191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9", + "results": [ + { + "name": "unit", + "build_and_byte_comparison": { + "output": "06682c257f1465736569fd17ea6d42933c4dc82f361420c6b60dfdef10d2c681 out/unit.elf", + "exit_code": 0, + "error": null + }, + "execution": { + "output": "rc=0", + "exit_code": 0, + "error": null + } + }, + { + "name": "stream-unit", + "build_and_byte_comparison": { + "output": "e34796a6b14823e321d1f6b92fb0be22ba8aec705daa3835979eb5a39c2877c7 out/stream-unit.elf", + "exit_code": 0, + "error": null + }, + "execution": { + "output": "rc=0", + "exit_code": 0, + "error": null + } + }, + { + "name": "stream", + "build_and_byte_comparison": { + "output": "474c6d7d2200aad721d744106f430bed8ded85dba8a34a931829165d4cf73466 out/stream.elf", + "exit_code": 0, + "error": null + } + }, + { + "name": "stream-input", + "build_and_byte_comparison": { + "output": "c903ed879c506e1bbb35453ba39bfa1e41bbfa0f160cd7e4d5d8980a4bd80aa2 out/stream-input.elf", + "exit_code": 0, + "error": null + } + }, + { + "name": "stream-check", + "build_and_byte_comparison": { + "output": "6e5e767d1175ad4e187dc1e496b5eaf83df362117810c6993adaef92274cec0d out/stream-check.elf", + "exit_code": 0, + "error": null + } + } + ] +} \ No newline at end of file diff --git a/evidence/LEARN53-L777/replay-static-elf.txt b/evidence/LEARN53-L777/replay-static-elf.txt new file mode 100644 index 00000000..b8ae0a16 --- /dev/null +++ b/evidence/LEARN53-L777/replay-static-elf.txt @@ -0,0 +1,14 @@ + +Elf file type is EXEC (Executable file) +Entry point 0x4000b0 +There are 2 program headers, starting at offset 64 + +Program Headers: + Type Offset VirtAddr PhysAddr + FileSiz MemSiz Flags Align + LOAD 0x0000000000000000 0x0000000000400000 0x0000000000400000 + 0x0000000000002394 0x0000000000002394 R E 0x1000 + LOAD 0x0000000000000000 0x0000000010000000 0x0000000010000000 + 0x0000000000000000 0x0000000000802830 RW 0x1000 + +There is no dynamic section in this file. diff --git a/evidence/LEARN53-L777/replay-stream-syscalls.log b/evidence/LEARN53-L777/replay-stream-syscalls.log new file mode 100644 index 00000000..ff39c390 --- /dev/null +++ b/evidence/LEARN53-L777/replay-stream-syscalls.log @@ -0,0 +1,18 @@ +2075828 execve("/usr/bin/timeout", ["timeout", "10", "out/stream.elf"], 0xffffd797f178 /* 18 vars */) = 0 +2075828 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 +2075828 openat(AT_FDCWD, "/lib/aarch64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 +2075828 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\360\206\2\0\0\0\0\0"..., 832) = 832 +2075828 openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3 +2075828 openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3 +2075828 read(3, "# Locale name alias data base.\n#"..., 4096) = 2996 +2075828 read(3, "", 4096) = 0 +2075828 openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) +2075828 openat(AT_FDCWD, "/usr/lib/locale/C.utf8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = 3 +2075828 openat(AT_FDCWD, "/usr/lib/aarch64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY|O_CLOEXEC) = 3 +2075829 execve("out/stream.elf", ["out/stream.elf"], 0xffffde4b43f8 /* 18 vars */) = 0 +2075829 read(0, "\210\0\0\0CUL1\1\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\3\0\0\0\1\0\0\0"..., 5137) = 172 +2075829 read(0, "", 4965) = 0 +2075829 write(1, "HOST_ONLY 0\n", 12) = 12 +2075829 +++ exited with 0 +++ +2075828 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2075829, si_uid=1000, si_status=0, si_utime=0, si_stime=0} --- +2075828 +++ exited with 0 +++ diff --git a/evidence/LEARN53-L777/replay-stream-unit.log b/evidence/LEARN53-L777/replay-stream-unit.log new file mode 100644 index 00000000..82c72349 --- /dev/null +++ b/evidence/LEARN53-L777/replay-stream-unit.log @@ -0,0 +1,17 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 diff --git a/evidence/LEARN53-L777/replay-unit.log b/evidence/LEARN53-L777/replay-unit.log new file mode 100644 index 00000000..4b615435 --- /dev/null +++ b/evidence/LEARN53-L777/replay-unit.log @@ -0,0 +1,77 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 diff --git a/evidence/LEARN53-L777/review-L778.md b/evidence/LEARN53-L777/review-L778.md new file mode 100644 index 00000000..4a13dad3 --- /dev/null +++ b/evidence/LEARN53-L777/review-L778.md @@ -0,0 +1,26 @@ +# L778 independent review report + +## Verdict and exact source +Reviewed exact Git source `11ad6a0a7783f5d221de79111d6abba4ee1ae52f` (base `80f3a2492eef315106feebfdffcb32de39be7d95`) from `/home/drakestapleton/workspace/hermes-desk/cudapp-learn-L777`. Worktree HEAD matched the requested source; the only pre-existing untracked content observed was `evidence/LEARN53-L777/`. I did not modify the product worktree, ledger, GitHub, services, GPU, or another worktree. + +**Findings:** No Critical, Important, or Minor correctness defect found within the exercised native public domain slice. This is not an approval of the full #52/#53 acceptance or merge/release. The work explicitly and correctly scopes itself as a native-host domain adapter, not task authentication, a sandbox, production evaluator, GPU path, or complete evaluation service. + +## Independent executions + +- Verified compiler SHA256: `191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9`; host was AArch64 Linux. Compiled source reconstructed from the exact Git commit, not the mutable product worktree; compiler invocations used timeout 30s, binaries timeout 10s, and output was placed in `/home/drakestapleton/handoffs/cuda-learn-L777-review/`. +- Native core replay (`task.om + fixtures.om + unit.om`): static AArch64 EXEC, exit 0, **77/77 PASS**. Concatenated source SHA256 `741a00d9c622f81c39b4835450596ae0784b8eef4c32d2353f1182da148f49dc`; binary SHA256 `06682c257f1465736569fd17ea6d42933c4dc82f361420c6b60dfdef10d2c681`. +- Frame replay (`task.om + wire.om + fixtures.om + stream-fixtures.om + stream-unit.om`): static AArch64 EXEC, exit 0, **17/17 PASS**. Source SHA256 `b8cfde3997cfc5707c15dd01e8044707a963c39894a0b449c4ebed417a9609de`; binary SHA256 `e34796a6b14823e321d1f6b92fb0be22ba8aec705daa3835979eb5a39c2877c7`. +- Additional behavioral `.om` probe independently exercised a forged `u32` count and confirmed `kvalid` leaves the manifest unchanged on rejection; exercised stride/count rejection then valid recovery; and corrupted a sparse matmul output padding word and confirmed mismatch, then valid recovery. Exit 0. Source is retained at `probe.om` and `probe-full.om`; source SHA256 `9ccd5dc198d54d679c39455ee376c6fdbadc8ee389e502311dfa2527ab1eadb5`; binary SHA256 `1f76316bc3cfab78609c90d5445aa6c2113e048fbbfbeca81daa8b2d7ffc1fd8`. +- Independently compiled and exercised the data-only stream with public fixture modes: valid frame exit 0 and exactly 12 stdout bytes (`HOST_ONLY 0\n`); wrong result exit 1, truncated/extra/forged-length exit 65, final-pool refusal exit 77. All failures had zero stdout. Stream binary SHA256 `474c6d7d2200aad721d744106f430bed8ded85dba8a34a931829165d4cf73466`; emitter SHA256 `c903ed879c506e1bbb35453ba39bfa1e41bbfa0f160cd7e4d5d8980a4bd80aa2`. + +The reviewed tests include the requested length boundaries 0, 95, 4097 and `2^64-1`, count bounds, target/pool/tolerance policy controls, wrong outputs, canaries/padding, reuse after refusal, and literal expected values. The contract itself appropriately limits the oracle claim to exact modular-u32 arithmetic. + +## Declined to judge / review limits + +I did not judge or grant evidence for: trusted framework binding/authentication of task, compiler, evaluator, candidate/launch, or output; immutable custody, deduplication, split secrecy, attempt/budget accounting, sealing, evaluator/recorder substitution resistance; execution sandboxing or pipe-stall deadlines; floating-point tolerance, FP reduction order, NaN/Inf/signed-zero/subnormal behavior; generated candidate correctness; GPU/native device memory or actual input immutability during device execution; performance/timing, qualification, learned search/training; Omega #653 attachment, CUDApp #15/#16/#17 migration, #10/#24/#35 gates, full consuming graph, independent judge, or production release. No sealed tasks, hardware, services, or hidden tasks were accessed. This was a bounded native host-domain review, not the broad legacy host suite or full repository/source-closure audit. + +## Artifacts + +Exact report path: `/home/drakestapleton/handoffs/cuda-learn-L777/review-L778.md` + +Probe and replay artifacts: `/home/drakestapleton/handoffs/cuda-learn-L777-review/` (including probe source `.om`, concatenated sources, build logs, binaries, outputs, and stream mode inputs/outputs). \ No newline at end of file diff --git a/evidence/LEARN53-L777/review-core.out b/evidence/LEARN53-L777/review-core.out new file mode 100644 index 00000000..4b615435 --- /dev/null +++ b/evidence/LEARN53-L777/review-core.out @@ -0,0 +1,77 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 diff --git a/evidence/LEARN53-L777/review-frame.out b/evidence/LEARN53-L777/review-frame.out new file mode 100644 index 00000000..82c72349 --- /dev/null +++ b/evidence/LEARN53-L777/review-frame.out @@ -0,0 +1,17 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 diff --git a/evidence/LEARN53-L777/review-parent-status.txt b/evidence/LEARN53-L777/review-parent-status.txt new file mode 100644 index 00000000..a195da32 --- /dev/null +++ b/evidence/LEARN53-L777/review-parent-status.txt @@ -0,0 +1 @@ +independent_probe_parent_rc=0 \ No newline at end of file diff --git a/evidence/LEARN53-L777/review-parent-verification.txt b/evidence/LEARN53-L777/review-parent-verification.txt new file mode 100644 index 00000000..7829f002 --- /dev/null +++ b/evidence/LEARN53-L777/review-parent-verification.txt @@ -0,0 +1,8 @@ +[{"path": "native/learn53/stream.om", "same": true}, {"path": "native/learn53/task.om", "same": true}, {"path": "native/learn53/wire.om", "same": true}, {"path": "tests/learn53/fixtures.om", "same": true}, {"path": "tests/learn53/stream-check.om", "same": true}, {"path": "tests/learn53/stream-fixtures.om", "same": true}, {"path": "tests/learn53/stream-input.om", "same": true}, {"path": "tests/learn53/stream-unit.om", "same": true}, {"path": "tests/learn53/unit.om", "same": true}] +hashes +core.elf 06682c257f1465736569fd17ea6d42933c4dc82f361420c6b60dfdef10d2c681 +frame.elf e34796a6b14823e321d1f6b92fb0be22ba8aec705daa3835979eb5a39c2877c7 +probe.elf 1f76316bc3cfab78609c90d5445aa6c2113e048fbbfbeca81daa8b2d7ffc1fd8 +probe-full.om 9ccd5dc198d54d679c39455ee376c6fdbadc8ee389e502311dfa2527ab1eadb5 +stream.elf 474c6d7d2200aad721d744106f430bed8ded85dba8a34a931829165d4cf73466 +emitter.elf c903ed879c506e1bbb35453ba39bfa1e41bbfa0f160cd7e4d5d8980a4bd80aa2 \ No newline at end of file diff --git a/evidence/LEARN53-L777/review-probe-full.om b/evidence/LEARN53-L777/review-probe-full.om new file mode 100644 index 00000000..fe0daf7f --- /dev/null +++ b/evidence/LEARN53-L777/review-probe-full.om @@ -0,0 +1,428 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +fn main to int +vec +note Independently test count arithmetic and no mutation on rejected manifest. +tw 11 4294967295 +for i ulong 4096 +put saved i get kt i +end +if ne kvalid 136 65 +ret 1 +end +for i ulong 4096 +if ne get saved i get kt i +ret 2 +end +end +vec +note Stride/count boundary rejection followed by recovery. +tw 8 32 +tw 11 94 +if ne keval 136 28 65 +ret 3 +end +vec +if ne keval 136 28 0 +ret 4 +end +note Matmul sparse output padding is checked at every physical word. +mat +cw 4 0 +if ne keval 144 36 1 +ret 5 +end +mat +if ne keval 144 36 0 +ret 6 +end +ret 0 +end diff --git a/evidence/LEARN53-L777/review-probe.om b/evidence/LEARN53-L777/review-probe.om new file mode 100644 index 00000000..5d97ef99 --- /dev/null +++ b/evidence/LEARN53-L777/review-probe.om @@ -0,0 +1,38 @@ +fn main to int +vec +note Independently test count arithmetic and no mutation on rejected manifest. +tw 11 4294967295 +for i ulong 4096 +put saved i get kt i +end +if ne kvalid 136 65 +ret 1 +end +for i ulong 4096 +if ne get saved i get kt i +ret 2 +end +end +vec +note Stride/count boundary rejection followed by recovery. +tw 8 32 +tw 11 94 +if ne keval 136 28 65 +ret 3 +end +vec +if ne keval 136 28 0 +ret 4 +end +note Matmul sparse output padding is checked at every physical word. +mat +cw 4 0 +if ne keval 144 36 1 +ret 5 +end +mat +if ne keval 144 36 0 +ret 6 +end +ret 0 +end diff --git a/evidence/LEARN53-L777/review-probe.out b/evidence/LEARN53-L777/review-probe.out new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777/source.sha256 b/evidence/LEARN53-L777/source.sha256 new file mode 100644 index 00000000..4b75e022 --- /dev/null +++ b/evidence/LEARN53-L777/source.sha256 @@ -0,0 +1,9 @@ +c0577085ecf43f1217f808f6dd9d2c8a23369f89b3d61b8535feec0689885944 native/learn53/stream.om +5cb929e58af85d82d83a449c8d50d6be94e6377d2f7b9e888258148e746f605a native/learn53/task.om +0982af7c252ce6234689310f1251e125d80830c6b66b9f5fc10b5b1fc869d9b1 native/learn53/wire.om +e354fbecbf719fd28fb736c1a685a72ef14dd2137d947bc8b085f787f87e73c1 tests/learn53/fixtures.om +00af4dbadd66334269bd93f6a323bdfc8a729d192f62dd4722b3e4b9a84e79a9 tests/learn53/stream-check.om +97dfb3d8dd523b167c4813fdca8ea8022771f77630df646046bd9623815cf74f tests/learn53/stream-fixtures.om +e78761593851f5030ac3c98ff8e611a4176549905c3431426f8cd4cfcb27b294 tests/learn53/stream-input.om +019de5f335b6bf9c765e82ca6a308290233c677c37dac61fdbae66aeec8fe79f tests/learn53/stream-unit.om +70ba454d3ae1c52c02af8668f271d352269141e35ad17246bfcdf86d602deb8a tests/learn53/unit.om diff --git a/evidence/LEARN53-L777/stream-check-compile.log b/evidence/LEARN53-L777/stream-check-compile.log new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777/stream-check-elf.txt b/evidence/LEARN53-L777/stream-check-elf.txt new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777/stream-check-elf.txt @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777/stream-compile.log b/evidence/LEARN53-L777/stream-compile.log new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777/stream-elf.txt b/evidence/LEARN53-L777/stream-elf.txt new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777/stream-elf.txt @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777/stream-green.log b/evidence/LEARN53-L777/stream-green.log new file mode 100644 index 00000000..82c72349 --- /dev/null +++ b/evidence/LEARN53-L777/stream-green.log @@ -0,0 +1,17 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 diff --git a/evidence/LEARN53-L777/stream-input-compile.log b/evidence/LEARN53-L777/stream-input-compile.log new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777/stream-input-elf.txt b/evidence/LEARN53-L777/stream-input-elf.txt new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777/stream-input-elf.txt @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777/stream-red-compile.log b/evidence/LEARN53-L777/stream-red-compile.log new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777/stream-red-elf.txt b/evidence/LEARN53-L777/stream-red-elf.txt new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777/stream-red-elf.txt @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777/stream-red.log b/evidence/LEARN53-L777/stream-red.log new file mode 100644 index 00000000..7badf23b --- /dev/null +++ b/evidence/LEARN53-L777/stream-red.log @@ -0,0 +1,17 @@ +PASS 1 +FAIL 2 +FAIL 3 +FAIL 4 +FAIL 5 +FAIL 6 +FAIL 7 +FAIL 8 +FAIL 9 +FAIL 10 +FAIL 11 +FAIL 12 +FAIL 13 +FAIL 14 +FAIL 15 +FAIL 16 +PASS 17 diff --git a/evidence/LEARN53-L777/stream-unit-compile.log b/evidence/LEARN53-L777/stream-unit-compile.log new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777/stream-unit-elf.txt b/evidence/LEARN53-L777/stream-unit-elf.txt new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777/stream-unit-elf.txt @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777/stream-unit-final-compile.log b/evidence/LEARN53-L777/stream-unit-final-compile.log new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777/stream-unit-final.log b/evidence/LEARN53-L777/stream-unit-final.log new file mode 100644 index 00000000..82c72349 --- /dev/null +++ b/evidence/LEARN53-L777/stream-unit-final.log @@ -0,0 +1,17 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 diff --git a/evidence/LEARN53-L777/stream-unit-final.status b/evidence/LEARN53-L777/stream-unit-final.status new file mode 100644 index 00000000..de6d3ac6 --- /dev/null +++ b/evidence/LEARN53-L777/stream-unit-final.status @@ -0,0 +1 @@ +stream-unit_rc=0 \ No newline at end of file diff --git a/evidence/LEARN53-L777/unit-compile.log b/evidence/LEARN53-L777/unit-compile.log new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777/unit-elf.txt b/evidence/LEARN53-L777/unit-elf.txt new file mode 100644 index 00000000..085fb1c5 --- /dev/null +++ b/evidence/LEARN53-L777/unit-elf.txt @@ -0,0 +1,20 @@ +ELF Header: + Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 + Class: ELF64 + Data: 2's complement, little endian + Version: 1 (current) + OS/ABI: UNIX - System V + ABI Version: 0 + Type: EXEC (Executable file) + Machine: AArch64 + Version: 0x1 + Entry point address: 0x4000b0 + Start of program headers: 64 (bytes into file) + Start of section headers: 0 (bytes into file) + Flags: 0x0 + Size of this header: 64 (bytes) + Size of program headers: 56 (bytes) + Number of program headers: 2 + Size of section headers: 0 (bytes) + Number of section headers: 0 + Section header string table index: 0 diff --git a/evidence/LEARN53-L777/unit-final-compile.log b/evidence/LEARN53-L777/unit-final-compile.log new file mode 100644 index 00000000..e69de29b diff --git a/evidence/LEARN53-L777/unit-final.log b/evidence/LEARN53-L777/unit-final.log new file mode 100644 index 00000000..4b615435 --- /dev/null +++ b/evidence/LEARN53-L777/unit-final.log @@ -0,0 +1,77 @@ +PASS 1 +PASS 2 +PASS 3 +PASS 4 +PASS 5 +PASS 6 +PASS 7 +PASS 8 +PASS 9 +PASS 10 +PASS 11 +PASS 12 +PASS 13 +PASS 14 +PASS 15 +PASS 16 +PASS 17 +PASS 18 +PASS 19 +PASS 20 +PASS 21 +PASS 22 +PASS 23 +PASS 24 +PASS 25 +PASS 26 +PASS 27 +PASS 28 +PASS 29 +PASS 30 +PASS 31 +PASS 32 +PASS 33 +PASS 34 +PASS 35 +PASS 36 +PASS 37 +PASS 38 +PASS 39 +PASS 40 +PASS 41 +PASS 42 +PASS 43 +PASS 44 +PASS 45 +PASS 46 +PASS 47 +PASS 48 +PASS 49 +PASS 50 +PASS 51 +PASS 52 +PASS 53 +PASS 54 +PASS 55 +PASS 56 +PASS 57 +PASS 58 +PASS 59 +PASS 60 +PASS 61 +PASS 62 +PASS 63 +PASS 64 +PASS 65 +PASS 66 +PASS 67 +PASS 68 +PASS 69 +PASS 70 +PASS 71 +PASS 72 +PASS 73 +PASS 74 +PASS 75 +PASS 76 +PASS 77 diff --git a/evidence/LEARN53-L777/unit-final.status b/evidence/LEARN53-L777/unit-final.status new file mode 100644 index 00000000..ec784dd8 --- /dev/null +++ b/evidence/LEARN53-L777/unit-final.status @@ -0,0 +1 @@ +unit_rc=0 \ No newline at end of file diff --git a/native/learn53/catalog.om b/native/learn53/catalog.om new file mode 100644 index 00000000..0b0153ac --- /dev/null +++ b/native/learn53/catalog.om @@ -0,0 +1,151 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Eight fixed public development tasks. Not a sealed pool or a process runner. +fn kput p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn kbase id ulong to void +for i ulong 4096 +put kt i 0 +end +kput 0 827086147 +kput 1 1 +kput 3 1 +kput 5 3 +kput 6 1 +kput 7 1 +kput 8 2 +kput 9 2 +kput 10 2 +kput 11 5 +kput 12 5 +kput 13 5 +kput 14 1 +kput 16 id +kput 17 1 +kput 19 1 +kput 20 1 +end +fn klinear id ulong to void +if eq id 1 +kput 2 1 +kput 15 101 +kput 24 4294967295 +kput 25 111 +kput 26 7 +kput 27 222 +kput 28 9 +kput 29 1 +kput 30 333 +kput 31 4 +kput 32 444 +kput 33 6 +ret +end +if eq id 4 +kput 2 2 +kput 15 201 +kput 9 0 +kput 10 1 +kput 12 0 +kput 13 1 +kput 24 4294967295 +kput 25 111 +kput 26 2 +kput 27 222 +kput 28 3 +ret +end +n = ulong 8 +if or eq id 3 eq id 6 +n = 17 +end +kput 5 n +kput 8 1 +kput 10 1 +kput 11 n +if le id 3 +kput 2 1 +kput 9 1 +kput 12 n +kput 13 n +kput 15 add 100 id +a = ulong 7 +b = ulong 9 +if eq id 3 +a = 4294967295 +b = 3 +end +for i ulong n +kput add 24 i a +kput add add 24 n i b +end +else +kput 2 2 +kput 9 0 +kput 12 0 +kput 13 1 +kput 15 add 197 id +for i ulong n +kput add 24 i 4294967295 +end +end +end +fn kmatrix id ulong to void +kput 2 3 +if eq id 7 +kput 5 2 +kput 6 3 +kput 7 2 +kput 8 3 +kput 9 4 +kput 10 4 +kput 11 5 +kput 12 7 +kput 13 7 +kput 15 301 +kput 24 1 +kput 25 2 +kput 26 999 +kput 27 3 +kput 28 4 +kput 29 5 +kput 30 6 +kput 31 7 +kput 32 999 +kput 33 8 +kput 34 9 +kput 35 10 +else +kput 5 3 +kput 6 2 +kput 7 3 +kput 8 3 +kput 9 2 +kput 10 2 +kput 11 9 +kput 12 6 +kput 13 6 +kput 15 302 +for i ulong 9 +kput add 24 i add i 1 +end +for i ulong 6 +kput add 33 i add i 1 +end +end +end +fn kload id ulong to ulong +note Reject before modifying either caller buffer. Valid loads never touch ko. +if or eq id 0 gt id 8 +ret 0 +end +kbase id +if le id 6 +klinear id +else +kmatrix id +end +ret add 96 mul 4 add kw 11 kw 12 +end diff --git a/native/learn53/omega-adapter.om b/native/learn53/omega-adapter.om new file mode 100644 index 00000000..7e31a343 --- /dev/null +++ b/native/learn53/omega-adapter.om @@ -0,0 +1,86 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Compose with exact omega653.lock core. No fork, runner, signer or cost collector. +note LT/LPin/LC/status/exit are trusted executor inputs, not candidate claims. +fn aword p ulong v ulong to void +for i ulong 4 +put LWant add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn aobserve id ulong status ulong code ulong n ulong to ulong +tn = kload id +if eq tn 0 +ret 10 +end +if ne kvalid tn 0 +ret 10 +end +for i ulong 256 +put LWant i 0 +end +aword 0 2779096485 +for i ulong kw 13 +aword add i 1 kexpect i +end +aword add kw 13 1 2779096485 +want = mul 4 add kw 13 2 +ret lobserve status 0 code want n +end +fn afields to bool +for i ulong 8 +a = mul i 32 +id = add i 1 +n = kload id +if ne get LT a id +ret false +end +if ne get LT add a 1 2 +ret false +end +if ne get LT add a 2 1 +ret false +end +if ne get LT add a 3 kw 2 +ret false +end +if ne get LT add a 4 1 +ret false +end +if ne get LT add a 5 1 +ret false +end +if ne get LT add a 6 53 +ret false +end +if ne get LT add a 7 1 +ret false +end +if ne get LT add a 28 n +ret false +end +if ne get LT add a 29 mul 4 add kw 13 2 +ret false +end +if ne get LT add a 30 1000000 +ret false +end +if ne get LT add a 31 0 +ret false +end +end +ret true +end +fn abegin budget ulong to ulong +note Canonical active-run refusal preserves the existing run. +if eq get LS 0 1 +ret 20 +end +if eq afields false +note Invalid count invokes canonical fresh-run invalidation, including stale scores. +ret lbegin 0 1 budget +end +ret lbegin 8 1 budget +end +fn aattempt idx ulong ordinal ulong status ulong code ulong n ulong to ulong +outcome = aobserve add idx 1 status code n +ret lattempt idx ordinal outcome +end diff --git a/native/learn53/omega653.lock b/native/learn53/omega653.lock new file mode 100644 index 00000000..0dc614ae --- /dev/null +++ b/native/learn53/omega653.lock @@ -0,0 +1,12 @@ +{ + "schema": "cudapp-learn53-omega653-source-lock-v1", + "repository": "https://github.com/aien-dev/omega-mv.git", + "revision": "84d03c5523f39ca1045d1c313c5f62597779462b", + "path": "src/learning/benchmark/core.om", + "sha256": "a5a2e74c815f9ca6a90dbdfbfc7ecc343f0362c824064f2058e9d1d7c119c40c", + "contract": "docs/learning/benchmark-v1.md", + "license_file": "LICENSE", + "license": "AGPL-3.0", + "construction": "explicit immutable source export; no mutable sibling or prebuilt override", + "scope": "bounded public host component only; full653 independent review and final acceptance remain outside this pin receipt" +} diff --git a/native/learn53/stream.om b/native/learn53/stream.om new file mode 100644 index 00000000..27142fc2 --- /dev/null +++ b/native/learn53/stream.om @@ -0,0 +1,39 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Public developer replay only; trusted framework attachment remains NOT_RUN. +note No launch, timing, candidate source, model, credentials, files or network. +text verdict "HOST_ONLY 0\n" +fn kpublish to int +p = ulong 0 +for i ulong 13 +if ge p len verdict +ret 0 +end +w = write 1 verdict p sub len verdict p +if le w 0 +ret 74 +end +p = add p ulong w +end +ret 74 +end +fn main to int +n = ulong 0 +for i ulong 5138 +if ge n 5137 +ret 65 +end +r = read 0 packet n sub 5137 n +if lt r 0 +ret 74 +end +if eq r 0 +status = kframe n +if ne status 0 +ret status +end +ret kpublish +end +n = add n ulong r +end +ret 65 +end diff --git a/native/learn53/task.om b/native/learn53/task.om new file mode 100644 index 00000000..66426e46 --- /dev/null +++ b/native/learn53/task.om @@ -0,0 +1,268 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note CUL1 public domain adapter. See docs/learn53/CONTRACT.md. +note Caller owns/pins kt; only ko contains candidate observations. No code execution. +global kt uchar 4096 +global ko uchar 1032 +fn kw i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get kt add mul i 4 j mul j 8 +end +ret v +end +fn kc i ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get ko add mul i 4 j mul j 8 +end +ret v +end +fn kshape to ulong +op = kw 2 +m = kw 5 +n = kw 6 +k = kw 7 +if eq op 3 +if eq m 2 +if eq n 3 +if eq k 2 +ret 301 +end +end +end +if eq m 3 +if eq n 2 +if eq k 3 +ret 302 +end +end +end +ret 0 +end +if ne n 1 +ret 0 +end +if ne k 1 +ret 0 +end +base = mul op 100 +if eq m 3 +ret add base 1 +end +if eq m 8 +ret add base 2 +end +if eq m 17 +ret add base 3 +end +ret 0 +end +fn kextent rows ulong cols ulong stride ulong to ulong +ret add mul sub rows 1 stride cols +end +fn kstrides to int +op = kw 2 +m = kw 5 +if eq op 3 +if lt kw 8 kw 7 +ret 65 +end +if lt kw 9 kw 6 +ret 65 +end +if lt kw 10 kw 6 +ret 65 +end +if ne kw 11 kextent m kw 7 kw 8 +ret 65 +end +if ne kw 12 kextent kw 7 kw 6 kw 9 +ret 65 +end +if ne kw 13 kextent m kw 6 kw 10 +ret 65 +end +ret 0 +end +if eq kw 8 0 +ret 65 +end +if ne kw 11 kextent m 1 kw 8 +ret 65 +end +if eq op 2 +if ne kw 9 0 +ret 65 +end +if ne kw 12 0 +ret 65 +end +if ne kw 10 1 +ret 65 +end +if ne kw 13 1 +ret 65 +end +ret 0 +end +if eq kw 9 0 +ret 65 +end +if eq kw 10 0 +ret 65 +end +if ne kw 12 kextent m 1 kw 9 +ret 65 +end +if ne kw 13 kextent m 1 kw 10 +ret 65 +end +ret 0 +end +fn kvalid n ulong to int +note All variable reads follow size/count validation. Bounds precede arithmetic. +if lt n 96 +ret 65 +end +if gt n 4096 +ret 65 +end +if ne kw 0 827086147 +ret 65 +end +if ne kw 1 1 +ret 69 +end +if gt kw 11 256 +ret 65 +end +if gt kw 12 256 +ret 65 +end +if eq kw 13 0 +ret 65 +end +if gt kw 13 256 +ret 65 +end +if ne n add 96 mul 4 add kw 11 kw 12 +ret 65 +end +if ne kw 23 0 +ret 65 +end +if eq kw 16 0 +ret 65 +end +if ne kw 21 0 +ret 65 +end +if ne kw 22 0 +ret 65 +end +if lt kw 2 1 +ret 69 +end +if gt kw 2 3 +ret 69 +end +if ne kw 3 1 +ret 69 +end +if ne kw 4 0 +ret 69 +end +if ne kw 17 1 +ret 69 +end +if ne kw 18 0 +ret 69 +end +if ne kw 19 1 +ret 69 +end +if ne kw 20 1 +ret 69 +end +if eq kw 14 0 +ret 65 +end +if gt kw 14 3 +ret 65 +end +if ne kw 14 1 +ret 77 +end +family = kshape +if eq family 0 +ret 69 +end +if ne kw 15 family +ret 65 +end +for i ulong 3 +if gt kw add i 8 32 +ret 65 +end +end +ret kstrides +end +fn ksum to ulong +v = ulong 0 +for i ulong kw 5 +v = and add v kw add 24 mul i kw 8 4294967295 +end +ret v +end +fn kdot row ulong col ulong to ulong +v = ulong 0 +for i ulong kw 7 +a = kw add 24 add mul row kw 8 i +b = kw add add 24 kw 11 add mul i kw 9 col +v = and add v mul a b 4294967295 +end +ret v +end +fn kexpect pos ulong to ulong +op = kw 2 +if eq op 2 +ret ksum +end +stride = kw 10 +row = div pos stride +col = rem pos stride +if eq op 3 +if ge col kw 6 +ret 2779096485 +end +ret kdot row col +end +if ne col 0 +ret 2779096485 +end +a = kw add 24 mul row kw 8 +b = kw add add 24 kw 11 mul row kw 9 +ret and add a b 4294967295 +end +fn keval n ulong c ulong to int +status = kvalid n +if ne status 0 +ret status +end +note Candidate result length is not trusted. No caller-supplied PASS or tolerance. +if ne c mul 4 add kw 13 2 +ret 65 +end +if ne kc 0 2779096485 +ret 1 +end +if ne kc add kw 13 1 2779096485 +ret 1 +end +for i ulong kw 13 +if ne kc add i 1 kexpect i +ret 1 +end +end +ret 0 +end diff --git a/native/learn53/wire.om b/native/learn53/wire.om new file mode 100644 index 00000000..5dfc1ca3 --- /dev/null +++ b/native/learn53/wire.om @@ -0,0 +1,42 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Public data-only frame decoder. Not a sandbox or task-custody service. +global packet uchar 5137 +fn kp p ulong to ulong +v = ulong 0 +for j ulong 4 +v = or v shl ulong get packet add p j mul j 8 +end +ret v +end +fn kframe n ulong to int +if lt n 8 +ret 65 +end +if gt n 5136 +ret 65 +end +t = kp 0 +if lt t 96 +ret 65 +end +if gt t 4096 +ret 65 +end +if gt t sub n 8 +ret 65 +end +c = kp add t 4 +if gt c 1032 +ret 65 +end +if ne n add add t c 8 +ret 65 +end +for i ulong t +put kt i get packet add i 4 +end +for i ulong c +put ko i get packet add add t 8 i +end +ret keval t c +end diff --git a/tests/learn53/catalog-check.om b/tests/learn53/catalog-check.om new file mode 100644 index 00000000..907f4dd3 --- /dev/null +++ b/tests/learn53/catalog-check.om @@ -0,0 +1,34 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Emitter stream checker; first byte selects expected catalog, remaining bytes task. +global CBuf uchar 258 +fn main to int +pos = ulong 0 +done = false +while eq done false bound 259 +r = read 0 CBuf pos sub 258 pos +if lt r 0 +ret 1 +end +if eq r 0 +done = true +else +pos = add pos ulong r +if eq pos 258 +ret 1 +end +end +end +if eq pos 0 +ret 1 +end +n = kload ulong get CBuf 0 +if or eq n 0 ne pos add n 1 +ret 1 +end +for i ulong n +if ne get kt i get CBuf add i 1 +ret 1 +end +end +ret 0 +end diff --git a/tests/learn53/catalog-export.om b/tests/learn53/catalog-export.om new file mode 100644 index 00000000..f0ba8377 --- /dev/null +++ b/tests/learn53/catalog-export.om @@ -0,0 +1,37 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Development fixture emitter: exactly one input byte, public catalog ID1..8. +global CIn uchar 2 +fn main to int +pos = ulong 0 +done = false +while eq done false bound 3 +r = read 0 CIn pos sub 2 pos +if lt r 0 +ret 74 +end +if eq r 0 +done = true +else +pos = add pos ulong r +if eq pos 2 +ret 65 +end +end +end +if ne pos 1 +ret 65 +end +n = kload ulong get CIn 0 +if eq n 0 +ret 77 +end +pos = 0 +while lt pos n bound 257 +w = write 1 kt pos sub n pos +if le w 0 +ret 74 +end +pos = add pos ulong w +end +ret 0 +end diff --git a/tests/learn53/catalog-fixtures.om b/tests/learn53/catalog-fixtures.om new file mode 100644 index 00000000..fcba7427 --- /dev/null +++ b/tests/learn53/catalog-fixtures.om @@ -0,0 +1,95 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Literal output oracle only. No kexpect/keval calls construct expected values. +fn csize id ulong to ulong +if eq id 1 +ret 136 +end +if eq id 2 +ret 160 +end +if eq id 3 +ret 232 +end +if eq id 4 +ret 116 +end +if eq id 5 +ret 128 +end +if eq id 6 +ret 164 +end +if eq id 7 +ret 144 +end +if eq id 8 +ret 156 +end +ret 0 +end +fn coutn id ulong to ulong +if eq id 1 +ret 28 +end +if eq id 2 +ret 40 +end +if eq id 3 +ret 76 +end +if and ge id 4 le id 6 +ret 12 +end +if eq id 7 +ret 36 +end +if eq id 8 +ret 32 +end +ret 0 +end +fn cvalues id ulong to void +for i ulong 258 +cw i 2779096485 +end +if eq id 1 +cw 1 0 +cw 3 11 +cw 5 15 +end +if eq id 2 +for i ulong 8 +cw add i 1 16 +end +end +if eq id 3 +for i ulong 17 +cw add i 1 2 +end +end +if eq id 4 +cw 1 4 +end +if eq id 5 +cw 1 4294967288 +end +if eq id 6 +cw 1 4294967279 +end +if eq id 7 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end +if eq id 8 +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +end +end diff --git a/tests/learn53/catalog-unit.om b/tests/learn53/catalog-unit.om new file mode 100644 index 00000000..440383d1 --- /dev/null +++ b/tests/learn53/catalog-unit.om @@ -0,0 +1,66 @@ +note SPDX-License-Identifier: AGPL-3.0-only +fn ctest to void +for i ulong 8 +id = add i 1 +cvalues id +n = kload id +check eq n csize id +check eq kvalid n 0 +check eq kw 16 id +check eq kw 14 1 +check eq kw 4 0 +check eq kw 21 0 +check eq kw 22 0 +check eq keval n coutn id 0 +last = sub div coutn id 4 2 +cw last 4294967294 +check eq keval n coutn id 1 +end +end +fn cstable to void +n = kload 1 +cvalues 1 +for i ulong 4096 +put saved i get kt i +end +check eq kload 0 0 +check eq kload 9 0 +check eq kload 18446744073709551615 0 +same = true +for i ulong 4096 +if ne get saved i get kt i +same = false +end +end +check same +check eq keval n 28 0 +note Loading a task must not forge or erase observed candidate output. +cw 3 12 +check eq kload 1 136 +check eq kc 3 12 +check eq keval 136 28 1 +note Poisoned task policy is reset by compiled catalog, not honored. +tw 21 1 +tw 22 99 +tw 14 3 +tw 16 99 +tw 28 0 +check eq kload 1 136 +cvalues 1 +check eq keval 136 28 0 +same = true +for i ulong 4096 +if ne get saved i get kt i +same = false +end +end +check same +end +fn main to int +ctest +cstable +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/tests/learn53/fixtures.om b/tests/learn53/fixtures.om new file mode 100644 index 00000000..9d8e9065 --- /dev/null +++ b/tests/learn53/fixtures.om @@ -0,0 +1,122 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixtures, never sealed evaluation. Expected literals independently checked with Wolfram. +text okmsg "PASS " +text badmsg "FAIL " +global nums uchar 32 +global tally ulong 2 +global saved uchar 4096 +fn digit n ulong to void +if ge n 10 +digit div n 10 +end +put nums 0 uchar add 48 rem n 10 +w = write 1 nums 0 1 +end +fn check yes bool to void +put tally 0 add get tally 0 1 +if yes +w = write 1 okmsg 0 len okmsg +else +w = write 1 badmsg 0 len badmsg +put tally 1 add get tally 1 1 +end +digit get tally 0 +put nums 0 10 +w = write 1 nums 0 1 +end +fn tw p ulong v ulong to void +for i ulong 4 +put kt add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn cw p ulong v ulong to void +for i ulong 4 +put ko add mul p 4 i uchar and shr v mul i 8 255 +end +end +fn header op ulong to void +for i ulong 4096 +put kt i 0 +end +for i ulong 258 +cw i 2779096485 +end +tw 0 827086147 +tw 1 1 +tw 2 op +tw 3 1 +tw 5 3 +tw 6 1 +tw 7 1 +tw 8 2 +tw 9 2 +tw 10 2 +tw 11 5 +tw 12 5 +tw 13 5 +tw 14 1 +tw 15 add mul op 100 1 +tw 16 1 +tw 17 1 +tw 19 1 +tw 20 1 +end +fn vec to void +header 1 +tw 24 4294967295 +tw 25 111 +tw 26 7 +tw 27 222 +tw 28 9 +tw 29 1 +tw 30 333 +tw 31 4 +tw 32 444 +tw 33 6 +cw 1 0 +cw 3 11 +cw 5 15 +end +fn red to void +header 2 +tw 9 0 +tw 10 1 +tw 12 0 +tw 13 1 +tw 24 4294967295 +tw 25 111 +tw 26 2 +tw 27 222 +tw 28 3 +cw 1 4 +end +fn mat to void +header 3 +tw 5 2 +tw 6 3 +tw 7 2 +tw 8 3 +tw 9 4 +tw 10 4 +tw 11 5 +tw 12 7 +tw 13 7 +tw 24 1 +tw 25 2 +tw 26 999 +tw 27 3 +tw 28 4 +tw 29 5 +tw 30 6 +tw 31 7 +tw 32 999 +tw 33 8 +tw 34 9 +tw 35 10 +cw 1 21 +cw 2 24 +cw 3 27 +cw 5 47 +cw 6 54 +cw 7 61 +end diff --git a/tests/learn53/omega-unit.om b/tests/learn53/omega-unit.om new file mode 100644 index 00000000..c28de8a0 --- /dev/null +++ b/tests/learn53/omega-unit.om @@ -0,0 +1,231 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note SYNTHETIC unit metadata, pins and costs, NEVER a real benchmark record. +fn afix to void +for i ulong 2048 +put LT i 0 +end +for i ulong 24 +put LS i 0 +end +for i ulong 8 +id = add i 1 +a = mul i 32 +n = kload id +put LT a id +put LT add a 1 2 +put LT add a 2 1 +put LT add a 3 kw 2 +put LT add a 4 1 +put LT add a 5 1 +put LT add a 6 53 +put LT add a 7 1 +for j ulong 20 +put LT add a add 8 j add add mul i 100 j 1 +end +put LT add a 28 csize id +put LT add a 29 coutn id +put LT add a 30 1000000 +end +for i ulong 4 +put LPin i add i 1 +put LPin add i 4 add i 1 +put LPin add i 8 add i 5 +put LPin add i 12 add i 5 +end +for i ulong 9 +put LC i 0 +end +put LC 0 10 +put LC 1 20 +put LC 2 30 +put LC 3 40 +put LC 4 50 +put LC 5 60 +put LC 6 4096 +end +fn agood id ulong to void +cvalues id +for i ulong 256 +put LGot i get ko i +end +end +fn aobs to void +for i ulong 8 +id = add i 1 +agood id +check eq aobserve id 0 0 coutn id 0 +put LGot sub coutn id 1 0 +check eq aobserve id 0 0 coutn id 7 +end +agood 1 +check eq aobserve 0 0 0 28 10 +check eq aobserve 9 0 0 28 10 +check eq aobserve 18446744073709551615 0 0 28 10 +check eq aobserve 1 0 0 0 9 +check eq aobserve 1 0 0 27 7 +check eq aobserve 1 0 0 257 10 +check eq aobserve 1 0 0 18446744073709551615 10 +check eq aobserve 1 0 101 0 8 +check eq aobserve 1 7 0 28 10 +for i ulong 6 +check eq aobserve 1 add i 1 0 28 add i 1 +end +note A task mutation is discarded; correct output for weakened task is wrong. +n = kload 1 +tw 28 0 +tw 21 1 +tw 22 99 +tw 14 3 +check eq aobserve 1 0 0 28 0 +check eq kw 28 9 +check eq kw 21 0 +check eq kw 22 0 +check eq kw 14 1 +cw 5 6 +for i ulong 28 +put LGot i get ko i +end +check eq aobserve 1 0 0 28 7 +note Wrong logical output, skipped write, dense stride, PASS spoof, wrong task. +for i ulong 4 +agood 1 +if eq i 0 +cw 3 12 +end +if eq i 1 +cw 5 2779096485 +end +if eq i 2 +cw 2 11 +cw 3 15 +cw 5 2779096485 +end +if eq i 3 +cw 1 1397965136 +end +for j ulong 28 +put LGot j get ko j +end +check eq aobserve 1 0 0 28 7 +end +agood 1 +check eq aobserve 2 0 0 28 7 +end +fn aall to void +afix +check eq abegin 1000 0 +check eq abegin 1000 20 +for i ulong 8 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 8 +check eq get LS 5 8 +check eq get LS 3 8 +check eq get LS 16 8 +check eq get LS 14 4096 +note A subsequent invalid begin clears old completed-valid state. +put LT 1 3 +check eq abegin 1000 1 +check eq get LS 18 0 +end +fn amissing to void +afix +check eq abegin 1000 0 +for i ulong 7 +id = add i 1 +agood id +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 30 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +agood 1 +check eq aattempt 0 1 0 0 28 0 +check eq aattempt 0 1 0 0 28 28 +check eq lfinish 28 +check eq get LS 18 0 +afix +check eq abegin 1000 0 +check eq aattempt 8 1 0 0 28 27 +check eq lfinish 27 +end +fn abad to void +afix +check eq abegin 1000 0 +for i ulong 8 +id = add i 1 +agood id +if eq id 8 +put LGot 4 0 +end +check eq aattempt i 1 0 0 coutn id 0 +end +check eq lfinish 0 +check eq get LS 18 1 +check eq get LS 4 7 +check eq get LS 5 7 +note A valid experiment can report failure, never silently drop that task. +check eq get LS 1 8 +check eq get LS 3 8 +end +fn apins to void +for i ulong 8 +afix +check eq abegin 1000 0 +p = add i 4 +if ge i 4 +p = add i 8 +end +put LPin p 999 +agood 1 +check eq aattempt 0 1 0 0 28 26 +check eq get LS 4 0 +check eq lfinish 26 +end +afix +check eq abegin 1000 0 +put LC 0 18446744073709551615 +agood 1 +check eq aattempt 0 1 0 0 28 23 +check eq get LS 4 0 +check eq lfinish 23 +afix +check eq abegin 1 0 +agood 1 +check eq aattempt 0 1 0 0 28 29 +check eq lfinish 29 +check eq get LS 18 0 +end +fn ameta to void +for i ulong 32 +if or lt i 8 ge i 28 +afix +put LT i 999 +check eq abegin 1000 1 +check eq get LS 18 0 +end +end +afix +for i ulong 4 +put LT add i 8 0 +end +check eq abegin 1000 6 +check eq get LS 18 0 +end +fn main to int +aobs +aall +amissing +abad +apins +ameta +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/tests/learn53/stream-check.om b/tests/learn53/stream-check.om new file mode 100644 index 00000000..6beb46af --- /dev/null +++ b/tests/learn53/stream-check.om @@ -0,0 +1,28 @@ +note SPDX-License-Identifier: AGPL-3.0-only +text expected "HOST_ONLY 0\n" +global seen uchar 32 +fn main to int +n = ulong 0 +for j ulong 33 +if ge n 32 +ret 1 +end +r = read 0 seen n sub 32 n +if lt r 0 +ret 74 +end +if eq r 0 +if ne n len expected +ret 1 +end +for i ulong n +if ne get seen i get expected i +ret 1 +end +end +ret 0 +end +n = add n ulong r +end +ret 1 +end diff --git a/tests/learn53/stream-fixtures.om b/tests/learn53/stream-fixtures.om new file mode 100644 index 00000000..75059f18 --- /dev/null +++ b/tests/learn53/stream-fixtures.om @@ -0,0 +1,18 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Native data-frame tests. No generated program is compiled or executed here. +fn pw p ulong v ulong to void +for i ulong 4 +put packet add p i uchar and shr v mul i 8 255 +end +end +fn frame to void +vec +pw 0 136 +for i ulong 136 +put packet add 4 i get kt i +end +pw 140 28 +for i ulong 28 +put packet add 144 i get ko i +end +end diff --git a/tests/learn53/stream-input.om b/tests/learn53/stream-input.om new file mode 100644 index 00000000..efa694d4 --- /dev/null +++ b/tests/learn53/stream-input.om @@ -0,0 +1,31 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note Public fixture emitter, not candidate generation or a heldout task. +fn main to int +r = read 0 nums 0 1 +if ne r 1 +ret 64 +end +mode = ulong get nums 0 +frame +n = ulong 172 +if eq mode 1 +pw 148 9 +end +if eq mode 2 +n = 171 +end +if eq mode 3 +n = 173 +end +if eq mode 4 +pw 0 4294967295 +end +if eq mode 5 +pw 60 3 +end +w = write 1 packet 0 n +if ne w long n +ret 74 +end +ret 0 +end diff --git a/tests/learn53/stream-unit.om b/tests/learn53/stream-unit.om new file mode 100644 index 00000000..811ee488 --- /dev/null +++ b/tests/learn53/stream-unit.om @@ -0,0 +1,42 @@ +fn main to int +frame +check eq kframe 172 0 +check eq kframe 0 65 +check eq kframe 7 65 +check eq kframe 5137 65 +check eq kframe 18446744073709551615 65 +check eq kframe 171 65 +check eq kframe 173 65 +pw 0 4294967295 +check eq kframe 172 65 +frame +pw 0 4097 +check eq kframe 172 65 +frame +pw 0 95 +check eq kframe 172 65 +frame +pw 140 4294967295 +check eq kframe 172 65 +frame +pw 140 1033 +check eq kframe 172 65 +frame +pw 140 0 +check eq kframe 144 65 +frame +pw 148 9 +check eq kframe 172 1 +frame +pw 88 1 +check eq kframe 172 65 +frame +pw 60 3 +check eq kframe 172 77 +frame +check eq kframe 172 0 +if ne get tally 1 0 +ret 1 +end +ret 0 +end diff --git a/tests/learn53/unit.om b/tests/learn53/unit.om new file mode 100644 index 00000000..f6cf5d54 --- /dev/null +++ b/tests/learn53/unit.om @@ -0,0 +1,321 @@ +fn valid to void +vec +check eq kvalid 136 0 +check eq keval 136 28 0 +red +check eq kvalid 116 0 +check eq keval 116 12 0 +mat +check eq kvalid 144 0 +check eq keval 144 36 0 +note Wraparound multiply, independently derived answers, not signed/FP comparison. +tw 24 4294967295 +cw 1 11 +cw 2 12 +cw 3 13 +check eq keval 144 36 0 +end +fn invalid to void +vec +check eq kvalid 0 65 +check eq kvalid 95 65 +check eq kvalid 4097 65 +check eq kvalid 18446744073709551615 65 +check eq kvalid 135 65 +check eq kvalid 137 65 +tw 0 0 +check eq kvalid 136 65 +vec +tw 1 2 +check eq kvalid 136 69 +vec +tw 11 4294967295 +check eq kvalid 136 65 +vec +tw 12 257 +check eq kvalid 136 65 +vec +tw 13 0 +check eq kvalid 136 65 +vec +tw 13 257 +check eq kvalid 136 65 +vec +tw 23 1 +check eq kvalid 136 65 +vec +tw 16 0 +check eq kvalid 136 65 +vec +tw 17 0 +check eq kvalid 136 69 +vec +tw 11 4 +check eq kvalid 132 65 +vec +tw 9 3 +check eq kvalid 136 65 +vec +tw 10 3 +check eq kvalid 136 65 +end +fn policy to void +vec +tw 2 4 +check eq kvalid 136 69 +vec +tw 3 2 +check eq kvalid 136 69 +vec +tw 4 1 +check eq kvalid 136 69 +vec +tw 21 1 +check eq kvalid 136 65 +vec +tw 22 1 +check eq kvalid 136 65 +vec +tw 14 2 +check eq kvalid 136 77 +vec +tw 14 3 +check eq kvalid 136 77 +vec +tw 14 0 +check eq kvalid 136 65 +vec +tw 14 4 +check eq kvalid 136 65 +vec +tw 15 201 +check eq kvalid 136 65 +vec +tw 18 1 +check eq kvalid 136 69 +vec +tw 19 0 +check eq kvalid 136 69 +vec +tw 20 121 +check eq kvalid 136 69 +vec +tw 5 4 +check eq kvalid 136 69 +vec +tw 5 4294967295 +check eq kvalid 136 69 +vec +tw 8 0 +check eq kvalid 136 65 +vec +tw 8 4294967295 +check eq kvalid 136 65 +vec +tw 6 2 +check eq kvalid 136 69 +mat +tw 8 1 +check eq kvalid 144 65 +mat +tw 9 2 +check eq kvalid 144 65 +mat +tw 10 2 +check eq kvalid 144 65 +end +fn wrong to void +vec +cw 3 12 +check eq keval 136 28 1 +note Skipped writes retain initialization poison. +vec +cw 1 2779096485 +check eq keval 136 28 1 +vec +cw 5 2779096485 +check eq keval 136 28 1 +note Dense writer ignores declared output stride; both logical/padding fail. +vec +cw 2 11 +cw 3 15 +cw 5 2779096485 +check eq keval 136 28 1 +vec +cw 0 0 +check eq keval 136 28 1 +vec +cw 6 0 +check eq keval 136 28 1 +vec +cw 2 0 +check eq keval 136 28 1 +note A memorized old answer fails a changed input, no candidate judge flags. +vec +tw 28 10 +check eq keval 136 28 1 +cw 5 16 +check eq keval 136 28 0 +vec +check eq keval 136 0 65 +check eq keval 136 24 65 +check eq keval 136 29 65 +check eq keval 136 1033 65 +check eq keval 136 18446744073709551615 65 +note A claimed PASS is just wrong bytes, never parsed as a result. +vec +cw 1 1397965136 +check eq keval 136 28 1 +red +cw 1 3 +check eq keval 116 12 1 +mat +cw 7 60 +check eq keval 144 36 1 +end +fn repeat to void +vec +for i ulong 4096 +put saved i get kt i +end +check eq keval 136 28 0 +same = true +for i ulong 4096 +if ne get saved i get kt i +same = false +end +end +check same +note No cached success after refusal, then recover. +tw 21 1 +check eq keval 136 28 65 +vec +cw 3 7 +check eq keval 136 28 1 +vec +check eq keval 136 28 0 +end +fn shapes to void +note Nonzero odd-tail shape17, different inputs, fixed literal each output. +header 1 +tw 5 17 +tw 8 1 +tw 9 1 +tw 10 1 +tw 11 17 +tw 12 17 +tw 13 17 +tw 15 103 +for i ulong 17 +tw add 24 i 4294967295 +tw add 41 i 3 +cw add 1 i 2 +end +check eq keval 232 76 0 +cw 17 0 +check eq keval 232 76 1 +note Registered length8 reduction with explicit wraparound answer. +header 2 +tw 5 8 +tw 8 1 +tw 9 0 +tw 10 1 +tw 11 8 +tw 12 0 +tw 13 1 +tw 15 202 +for i ulong 8 +tw add 24 i 4294967295 +end +cw 1 4294967288 +check eq keval 128 12 0 +end +fn more to void +note Other registered families and largest admitted vector footprint. +header 1 +tw 5 8 +tw 8 1 +tw 9 1 +tw 10 1 +tw 11 8 +tw 12 8 +tw 13 8 +tw 15 102 +for i ulong 8 +tw add 24 i 7 +tw add 32 i 9 +cw add 1 i 16 +end +check eq keval 160 40 0 +header 2 +tw 5 17 +tw 8 1 +tw 9 0 +tw 10 1 +tw 11 17 +tw 12 0 +tw 13 1 +tw 15 203 +for i ulong 17 +tw add 24 i 4294967295 +end +cw 1 4294967279 +check eq keval 164 12 0 +header 3 +tw 5 3 +tw 6 2 +tw 7 3 +tw 8 3 +tw 9 2 +tw 10 2 +tw 11 9 +tw 12 6 +tw 13 6 +tw 15 302 +for i ulong 9 +tw add 24 i add i 1 +end +for i ulong 6 +tw add 33 i add i 1 +end +cw 1 22 +cw 2 28 +cw 3 49 +cw 4 64 +cw 5 76 +cw 6 100 +check eq keval 156 32 0 +header 1 +tw 5 17 +tw 8 15 +tw 9 15 +tw 10 15 +tw 11 241 +tw 12 241 +tw 13 241 +tw 15 103 +for i ulong 17 +tw add 24 mul i 15 4294967295 +tw add 265 mul i 15 3 +cw add 1 mul i 15 2 +end +check eq keval 2024 972 0 +cw 241 0 +check eq keval 2024 972 1 +tw 8 16 +tw 11 257 +check eq kvalid 2088 65 +end +fn main to int +valid +more +invalid +policy +wrong +repeat +shapes +if ne get tally 1 0 +ret 1 +end +ret 0 +end