aien-train
AIEN training programme: language-model history, GB10 constraints and the route to training on the project engine. Plans and runnable checks are distinguished.
Brought by drakestapleton
GitHub aien-dev/aien-train#28 (code only)
Fetch it
curl -fsSL https://interplane.io/drakestapleton/aien-train/patches/1ee877ffd074d283.bundle -o 1ee877ffd074d283.bundle git fetch 1ee877ffd074d283.bundle refs/pull/28/head
Provenance
github-import 1
aien-dev/aien-train
28
27ed727eb60f9ee422ce88e727bc2491a585391b
{"kind":"github-import","owner":"aien-dev","repo":"aien-train","number":28,"url":"https://github.com/aien-dev/aien-train/pull/28","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:40:32Z","metadata":"unavailable","state_derived":true}
Changes
diff --git a/docs/si19/ORIG1-CONTRACT-v2.md b/docs/si19/ORIG1-CONTRACT-v2.md new file mode 100644 index 0000000..617b11d --- /dev/null +++ b/docs/si19/ORIG1-CONTRACT-v2.md @@ -0,0 +1,82 @@ +# ORIG-1 contract v2: integrity admission and workload-disjoint splits + +aien-train#24. Supersedes sections 2 (admission), 6 (splits) and the retrieval row +of section 7 of `ORIG1-CONTRACT.md` for every v2 run. `ORIG1-CONTRACT.md` itself +is unchanged and still governs the v1 runs and their evidence. Everything not +named here (consumer, record layout, features, target, normalization, budgets, +provenance, allow-list) is copied unchanged from v1. + +## 1. Why a v2 (audit of the v1 data) + +`omexpmain` mode `A` over the v1 owner file (A, fnv `16622604375676129865`) and +the v1 SEALED-FINAL file (B, fnv `12602815733741495377`), evidence in +`evidence/SI19-ORIG1-v2/`: + +| counter | value | reading | +|---|---|---| +| B records whose workload (core, M, N, job seed) occurs in A | 738 / 738 | the harness regenerates the same jobs from fixed seeds: SEALED-FINAL re-measured exactly the workloads of the development file | +| of those, same oracle arm | 710 / 738 | the re-measurement mostly repeats the label | +| B state keys (core, pressure, M, N) present in A | 738 / 738 | | +| A duplicate state keys | 155 | TRAIN measures every shape twice (154) plus one repeated H2 shape | +| A workloads under two family words | 240 | H3 is the H1 jobs under pressure | +| A H1/H2 records whose log2 shape family holds a TRAIN record of the same core | 116 / 240 | half the "unseen" shapes sit in a family that TRAIN covers | + +No TEST (M, N) key occurs in TRAIN, so the v1 candidate did not train on test +shapes. The v1 sealed set was nevertheless not a fresh sample: it repeated the +development TEST workloads whose numbers had been inspected in ORIG-2, and half +of them share a shape family with TRAIN. That supports, but does not by itself +prove, the retrieval parity seen in v1: the per-family decision is smooth enough +that a neighbour in the same log2 cell carries the label. + +## 2. Admission v2 (`oxadm2`) + +Whole-file refusals (nothing admitted): size not a positive multiple of 256 or +above 524288 bytes (-1); a split conflict (-11, section 3). Otherwise every +record gets one code, the first failing check in this order, and the count of +each code is reported (`RQ`): + +| code | reason | +|---|---| +| -2 | unsupported format: magic or version | +| -3 | unsupported enumeration: family word above 5, core class other than 0 (Cortex-X925) or 1 (Cortex-A725), pressure bucket above 1, arm count other than 6 | +| -4 | shape or calls out of range: M or N outside 1..8192, M N above 2^19, calls outside 1..2^20 | +| -9 | wrong profile: cache bytes not the class value, state bytes not (M N + M + N) 8 | +| -14 | unpaired: the record is not the complete arm set of this state: arms 0..4 eligible (mask exactly 31), measured and verified; arm 5 (planted) not eligible, not measured, not verified; arms 6, 7 absent | +| -10 | out of range: a measured ps per call at or above 2^40 (the integer record's analogue of a non-finite value) | +| -7 | unverified: digest mismatches during the table (word 31 != 0) | +| -8 | sequence not above the previous record's | +| -15 | duplicate state: an earlier admitted record has the same state key (core class, pressure bucket, M, N); the job seed is operand data, not state | +| 0 | admitted | + +Pairing is per record because one omexp-v1 record carries every arm of one +state; a paired comparison needs a cost for any arm any policy may choose. + +## 3. Workload-family splits (frozen) + +Family of a record: `(fm, fn) = (floor(log2 M), floor(log2 N))` (`oxcell`). +Split of a family: `h` = FNV-1a 64 over the two bytes `fm, fn`; `k = (h >> 32) mod 10`; +k 0..5 TRAIN, 6..7 VALIDATION, 8..9 HELD-OUT (`oxhspl`). The table over the +whole domain (168 families, 100 / 32 / 36) is `docs/si19/orig1-v2-splits.txt`, +printed by `omexpmain` mode `S` and compared byte for byte by +`tests/si19/run-omexp.sh`. The record's family word (word 2) is not used. + +Consequences: a shape, and every pressure bucket and job seed of it, lives in +exactly one split; held-out families are absent from TRAIN and VALIDATION by +construction, and `oxdisj` re-checks every admitted pair (same family or same +shape in two splits refuses the file, -11). Refused records are in no split. + +## 4. Retrieval v2 + +The nearest TRAIN record of the same core class **and the same pressure +bucket** by L1 on (lg16 M, lg16 N), lowest index on a tie; its cheapest +admissible arm if admissible in the decision, else arm 0. (v1 ignored pressure.) + +## 5. Tests + +`tests/si19/omexp-test.om` (`tadm2`, `trefuse2`, `tdup2`, `tsplit2`, `tnear2`, +`taudit`): every code above through a single-word mutation that refuses only that +record and counts it once; duplicates (same key with another seed, a later +duplicate of a refused record, two later duplicates); split values computed +outside the unit; pairwise disjointness; a planted split conflict; v2 retrieval +pressure; the audit counters. `tests/si19/run-omexp.sh` adds 10 v2 mutants to the +6 v1 mutants; each must fail the unchanged test. diff --git a/docs/si19/ORIG1-CONTRACT.md b/docs/si19/ORIG1-CONTRACT.md new file mode 100644 index 0000000..3bc8982 --- /dev/null +++ b/docs/si19/ORIG1-CONTRACT.md @@ -0,0 +1,183 @@ +# ORIG-1: original mini-model selector task and owner-controlled experience dataset + +aien-train#24, child of #19. Frozen before any ORIG-2 training. A change to any +numbered rule below is a new contract version, never an edit of this one. + +Status words used here: PASS, FAIL, INCONCLUSIVE, NOT_RUN, BLOCKED. Host-only +results are development results, never hardware qualification. + +## 1. The consumer (pinned) + +| item | identity | +|---|---| +| consumer | the Omega empirical cost model's matvec realization choice, `rx_cm_decide` in `src/runtime/rx_costmodel.{c,h}`, exercised by `tests/runtime/rx_empirical_optimizer.c` (`make test-empirical`) | +| repository, revision | aien-dev/omega-mv `18c653b3101fa09c157dca8d222efab41ab5e89d` (main, 2026-10-25); the consumer files are byte-identical to `a0eafa39` | +| record tap | `tests/runtime/rx_empirical_optimizer.c` at `1ec813726aef5f5abf8ab449c5d8bd9738f88d2e` (branch `feat/731-orig4-shadow-advice`): `OMEGA_EMPIRICAL_RECORDS=<path>` appends one record per cost table; default off; nothing in the consumer reads it | +| admissible-candidate generator | the consumer's `eligible` bit mask: an arm is admissible only when its forked differential verification passed (`g_verified`) and the caller allows it. The reference arm (0) is always admissible | +| transformation family | integer matvec `y = A x` realizations on one AArch64 core: 0 `reference` (compiled), 1 `scalar`, 2 `unroll2`, 3 `unroll4_dual` (M12 emitters), 4 `quad4` (R10), 5 `planted_wrong` (never admissible). Cap: 8 arms (`RX_CM_ARMS`) | +| incumbent planner | `omega_matvec_dispatch`'s fixed rule: `unroll2` when N <= 8, else `unroll4_dual` | +| verifier | every timed run's output digest equals the reference digest for that job (`time_arm`); a table with any mismatch is ineligible | +| cost | picoseconds per call, best of 5 rounds per arm, rotating order (`truth_table`) | +| hardware profile | DGX Spark host: `Linux 7.0.0-1019-nvidia aarch64`; core classes from MIDR: 0 Cortex-X925 (last private cache 2097152 B), 1 Cortex-A725 (524288 B), 2 other (1048576 B) | +| compiler for the .om side | seeded `omc` sha256 `191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9` (the pin of `docs/si19/dependencies.json`, R5b, source omega-mv `29b12760`); the R6 compiler `734f0a39...6b61` (omega-mv main `seed/out/omc`) must also compile every unit unchanged | + +The scorer ranks the admissible arms of one decision. It never proposes an arm, +never widens `eligible`, and has no execution authority: deterministic code +generates, verifies, selects and runs. + +## 2. Record format `omexp-v1` + +One record is 32 little-endian 64-bit words (256 bytes). A file is a whole +number of records, at most 2048. + +| word | field | rule | +|---|---|---| +| 0 | magic | 3553143591248351811 (`0x314f4d4558505243`) | +| 1 | version | 1 | +| 2 | family | 0 train grid, 1 validation grid, 2 H1 unseen shapes, 3 H2 thin-heavy mix, 4 H3 = H1 shapes under memory pressure | +| 3 | core class | 0, 1 or 2 | +| 4 | pressure bucket | 0..15; the consumer uses 0 and 1 | +| 5, 6 | M, N | 1..8192 each | +| 7 | calls | timed calls per measurement, >= 1 | +| 8 | job seed | the consumer's job seed (operands are regenerated from it) | +| 9 | state bytes | (M*N + M + N) * 8 | +| 10 | cache bytes | must equal the class value of section 1 (profile check) | +| 11 | thermal C | recorded, never a feature | +| 12 | eligible mask | bit 0 must be set; no bit at or above the arm count | +| 13 | arm count | 1..8 | +| 14 | sequence | strictly increasing within a file | +| 15 | monotonic ns | recorded, never a feature | +| 16..23 | ps per call, arm 0..7 | 0 = not measured; an eligible arm must be measured | +| 24..31 | per arm verified flag (24..29), reference digest (30), mismatches (31) | word 31 must be 0 | + +A decision instance is one record: the state is words 2..13, the candidates +are the arms whose eligible bit, measurement and verified flag are all set. +Incorrect results are ineligible (word 31 != 0 refuses the record). An +unmeasured cost is unknown (0), never a fabricated number. + +## 3. Typed features (frozen) + +All quantities are integers in 1/16 units, converted to binary32 exactly with +`wmbits n 4`. `lg16 v` for v >= 1 with bit length L and e = L - 1 is +`(v << 4 >> e) + 16 (e - 1)`: floor(log2 v) plus a truncated 4-bit fraction. + +State vector x (12): + +| j | value | note | +|---|---|---| +| 0 | 16 | constant 1 (bias) | +| 1 | lg16 M | | +| 2 | lg16 N | | +| 3 | (lg16 M * lg16 N) >> 8 | log2 M * log2 N / 16 | +| 4 | (lg16 N * lg16 N) >> 8 | (log2 N)^2 / 16 | +| 5 | 16 if N <= 3 else 0 | | +| 6 | 16 if N rem 4 != 0 else 0 | | +| 7 | max(0, lg16 state_bytes - lg16 cache_bytes), capped at 256 | doublings past the private cache | +| 8, 9, 10 | 16 for the matching core class 0, 1, 2 | one hot | +| 11 | 16 * min(pressure, 15) | | + +Candidate vector c (8): 16 at the arm's index, 0 elsewhere. The model input is +x (affine: per arm) or x concatenated with c (nonlinear). Thermal state, calls, +seed, sequence and time are never features. These are the consumer's own +basis (spec/empirical-optimizer.md, "Features and targets") plus core and +pressure as inputs instead of cells. + +## 4. Target and objective (frozen) + +Per (record, admissible arm a): `t16 = lg16 ps_a - lg16 ps_0`, the cost of the +arm relative to the always-admissible reference, in 1/16 log2 units. The +reference anchors the scale, and argmin over arms of t16 is argmin of ps. + +Normalization is fitted on the TRAIN partition only: `mu16` = floor of the mean +of t16 over train pairs; `sh` = max(0, bitlen(s16) - 5) where s16 is the +integer square root of the mean of (t16 - mu16)^2. The learning target is +`y = (t16 - mu16) / 2^(4 + sh)` as binary32, exact while |t16 - mu16| < 2^24. +The predicted score is in the same units; selection is the arm with the +smallest score among admissible arms, lowest index on a tie. The loss is the +squared error of the score against y, summed over the admissible arms of a +record and averaged over records. + +## 5. Provenance, authorization, privacy + +- Random initialization only. No pretrained weights, teacher outputs or logits, + distilled answers, external model traces, or pretrained tokenizer anywhere in + the primary arm. The test `tprovenance` fails if the checkpoint image carries + any lineage word other than the declared seed and the admitted dataset hash. +- A dataset file is admitted only when its FNV-1a 64 over all bytes appears in + `docs/si19/orig1-datasets.txt` with status `AUTHORIZED` (owner measurement) or + `SYNTHETIC` (project fixture). `REVOKED` refuses; an absent hash refuses. + The list is public and holds hashes only. +- The owner dataset stays local: `~/.local/state/aien-train/orig1/` on the + Spark (mode 0600). Public artifacts carry its hash, record counts and the + receipts of runs over it, never the bytes. Releasing it is a separate owner + decision; it holds no personal data (hardware timings of a public harness). +- Synthetic fixture: `native/si19/omexpfix.om` writes a labelled SYNTHETIC + record file from a seeded generator with a planted cost structure. Fixture + evidence and real-record evidence are reported under separate headings and + never mixed in one number. + +## 6. Splits (frozen, by family and shape lineage) + +| partition | families | lineage rule | +|---|---|---| +| TRAIN | 0 | the consumer's training grid, M in {1,4,16,64,256,1024}, N in {1,2,3,5,8,12,16,33,64,100,256,512,1024}; two timing passes of each shape stay together | +| DEV | 1 | validation grid, M in {2,8,32,128,512}, N in {4,6,10,24,48,200,700}: no M or N value shared with TRAIN | +| TEST-H1 | 2 | 60 log-uniform shapes per core with no M or N value seen in TRAIN or DEV | +| TEST-H2 | 3 | thin-heavy mix: unseen M values; 70% reuse TRAIN N values in 1..7 (declared partial lineage overlap) | +| TEST-H3 | 4 | the H1 shapes under memory pressure, a condition absent from TRAIN and DEV (out-of-distribution) | + +The loader refuses a file in which any TEST-H1 (M, N) key also appears in +TRAIN or DEV (future/held-out contamination). The trainer admits only TRAIN +records; DEV is used for the lr choice and early stopping; TEST is read only +by the evaluation mode after the checkpoint is final. There is no sealed +judge-held holdout on this machine: every TEST number here is +development-only. ORIG-3 obtains a sealed test set by running the tap again +after the candidate checkpoint is frozen (the records do not exist at training +time), which is the only sealing available without an independent operator. + +## 7. Baselines (frozen) + +| name | choice | +|---|---| +| fixed rule (incumbent) | arm 2 when N <= 8 else arm 3, if admissible, else arm 0 | +| always reference | arm 0 | +| best static | the single arm with the lowest total TRAIN cost for that core class | +| retrieval | the TRAIN record of the same core class nearest in (lg16 M, lg16 N) by L1 distance (lowest sequence on a tie); choose its cheapest admissible arm | +| affine | per-arm linear scorer on x (8 x 12 = 96 parameters), trained as in ORIG-2 | +| oracle | the cheapest admissible arm of the record (analysis bound only) | +| controls | untrained scorer (declared init), shuffled targets (t16 permuted among train pairs by the trainer RNG), no-update run (lr = 0; parameters must stay bit-identical) | + +Metric: total chosen cost over oracle cost, sum of ps per call over the +partition's records (unweighted by calls), per core class and overall; top-1 +agreement with the oracle; paired per-record wins and losses against each +baseline. + +## 8. Budgets and stop rules (predeclared) + +| item | limit | +|---|---| +| seeds | trainer 19024; init from the same LCG as `wsrand` | +| nonlinear model | at most 100000 trainable parameters (engineering budget, not an optimum); ORIG-2's first model is 705 | +| learning rate | one of 2^-8, 2^-10, 2^-12 chosen on DEV loss; nothing is chosen on TEST | +| epochs | at most 64 full passes over TRAIN, per-record order from the trainer RNG; stop early when DEV loss has not improved for 16 epochs | +| updates | at most 2^20 | +| data | at most 2048 records per file; at most one owner dataset per run | +| memory | program image under 16 MiB; checkpoint under 64 KiB | +| wall | compile + tests + one training run under 30 minutes on the host | +| failed experiments | counted in the evidence README; a failed or inconclusive run is kept | + +A hardware (GB10) run is not part of ORIG-1 or ORIG-2: NOT_RUN. Any later +Spark experiment needs an exclusive reservation and never loads a second model +beside the resident service. + +## 9. Acceptance mapping + +| #24 acceptance | where | +|---|---| +| versioned manifest, exact identities | `docs/si19/orig1-manifest.json`, this file | +| provenance tests | `tests/si19/omexp-test.om` `tprovenance`, `tallow` | +| refusal tests: revoked, unauthorized, corrupt, duplicate, wrong profile, contaminated | `tests/si19/omexp-test.om` `trefuse*` | +| family/episode isolation, holdout boundary testable | `tsplit`, `tleak` | +| baselines, units, fixture vs real, stop rules explicit | sections 4, 7, 8 | +| consent-safe dataset local, public fixtures synthetic | section 5 | +| missing real experience or sealed holdout = BLOCKED/development-only | section 6; receipts say `development-only` | diff --git a/docs/si19/orig1-datasets.txt b/docs/si19/orig1-datasets.txt new file mode 100644 index 0000000..68bbc4d --- /dev/null +++ b/docs/si19/orig1-datasets.txt @@ -0,0 +1,3 @@ +16622604375676129865 AUTHORIZED owner-records-20261025T034737Z-738-records-local-only +3415637669635212362 SYNTHETIC fixture-seed7-100-records +626048380840256264 SYNTHETIC fixture-seed7-780-records diff --git a/docs/si19/orig1-manifest.json b/docs/si19/orig1-manifest.json new file mode 100644 index 0000000..c0d3f03 --- /dev/null +++ b/docs/si19/orig1-manifest.json @@ -0,0 +1,39 @@ +{ + "schema": "si19-orig1-manifest-v1", + "issue": "aien-dev/aien-train#24", + "owner_issue": "aien-dev/aien-train#19", + "contract": "docs/si19/ORIG1-CONTRACT.md", + "consumer": { + "repository": "aien-dev/omega-mv", + "commit": "18c653b3101fa09c157dca8d222efab41ab5e89d", + "files": ["src/runtime/rx_costmodel.c", "src/runtime/rx_costmodel.h", "tests/runtime/rx_empirical_optimizer.c", "spec/empirical-optimizer.md"], + "record_tap_commit": "1ec813726aef5f5abf8ab449c5d8bd9738f88d2e", + "record_tap_branch": "feat/731-orig4-shadow-advice", + "tap_env": "OMEGA_EMPIRICAL_RECORDS", + "incumbent": "omega_matvec_dispatch fixed rule: unroll2 when N <= 8 else unroll4_dual", + "verifier": "output digest equal to the reference digest per timed run; mismatches word must be 0", + "cost_unit": "picoseconds per call, best of 5 rounds, rotating arm order" + }, + "arms": ["reference", "scalar", "unroll2", "unroll4_dual", "quad4", "planted_wrong"], + "arm_cap": 8, + "hardware_profile": { + "host": "Linux 7.0.0-1019-nvidia aarch64 (DGX Spark)", + "core_classes": {"0": {"name": "Cortex-X925", "cache_bytes": 2097152}, "1": {"name": "Cortex-A725", "cache_bytes": 524288}, "2": {"name": "other", "cache_bytes": 1048576}}, + "gpu": "NOT_RUN; a GB10 run needs an exclusive reservation and is outside ORIG-1/ORIG-2" + }, + "record_format": {"name": "omexp-v1", "bytes": 256, "words": 32, "max_records_per_file": 2048, "magic": 3553143591248351811}, + "features": {"state": 12, "candidate_one_hot": 8, "units": "1/16 fixed point, exact binary32 via wmbits n 4", "definition": "ORIG1-CONTRACT.md section 3"}, + "target": "t16 = lg16 ps_arm - lg16 ps_reference; standardized on TRAIN (mu16, shift sh); squared error; argmin selection", + "splits": {"TRAIN": [0], "DEV": [1], "TEST": [2, 3, 4], "lineage_rule": "family = consumer shape family; H3 shares H1 shapes (pressure OOD); H2 shares thin N values with TRAIN (declared)", "sealed_final_holdout": "not available on this machine; ORIG-3 runs a fresh tap after the candidate hash is pinned"}, + "baselines": ["fixed_rule", "always_reference", "best_static", "retrieval", "affine", "oracle_bound"], + "controls": ["untrained", "shuffled_targets", "no_update"], + "budgets": {"seed": 19024, "nonlinear_param_ceiling": 100000, "first_model_params": 705, "lr_grid_pow2": [-8, -10, -12], "max_epochs": 64, "patience_epochs": 16, "max_updates": 1048576, "checkpoint_bytes_max": 65536, "image_bytes_max": 16777216, "host_wall_minutes_max": 30}, + "datasets": { + "allow_list": "docs/si19/orig1-datasets.txt", + "owner": {"status": "AUTHORIZED", "fnv1a64": "16622604375676129865", "sha256": "403156f5ca34479715d2f96fabcbd11b9cab3fd4668e9dd3a41a6eb89b128d37", "records": 738, "bytes": 188928, "families": {"0": 308, "1": 70, "2": 120, "3": 120, "4": 120}, "collected": "2026-10-25T03:47:37Z to 03:48:39Z, host CPU only, harness binary sha256 d26aec0296c77b39d0c5147dd60e4be936d5b032c127d9eb0928a9d7e76f81ee, 20222 digest-checked runs, 0 mismatches", "location": "local only: ~/.local/state/aien-train/orig1/records-20261025T034737Z.bin (0600)", "personal_data": "none: hardware timings of a public harness"}, + "fixtures": [{"status": "SYNTHETIC", "generator": "native/si19/omexpfix.om sxgen 7 100", "fnv1a64": "3415637669635212362"}, {"status": "SYNTHETIC", "generator": "native/si19/omexpfix.om sxgen 7 780", "fnv1a64": "626048380840256264"}] + }, + "compiler": {"sha256": "191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9", "also_compiles_with": "734f0a39319fbfa930bcc62cb30dbf06d47d78e126372b74f5baf478e6126b61"}, + "dependencies": "docs/si19/dependencies.json (unchanged pins)", + "status": {"contract": "FROZEN", "owner_dataset": "AUTHORIZED, local", "sealed_holdout": "BLOCKED_OPERATOR (development-only TEST)", "hardware": "NOT_RUN"} +} diff --git a/docs/si19/orig1-v2-splits.txt b/docs/si19/orig1-v2-splits.txt new file mode 100644 index 0000000..3c06f40 --- /dev/null +++ b/docs/si19/orig1-v2-splits.txt @@ -0,0 +1,168 @@ +0 0 0 +0 1 0 +0 2 2 +0 3 0 +0 4 1 +0 5 0 +0 6 0 +0 7 2 +0 8 0 +0 9 1 +0 10 0 +0 11 0 +0 12 2 +0 13 0 +1 0 0 +1 1 1 +1 2 0 +1 3 2 +1 4 1 +1 5 0 +1 6 2 +1 7 0 +1 8 0 +1 9 2 +1 10 0 +1 11 0 +1 12 2 +1 13 0 +2 0 0 +2 1 0 +2 2 0 +2 3 1 +2 4 1 +2 5 0 +2 6 2 +2 7 0 +2 8 2 +2 9 0 +2 10 0 +2 11 0 +2 12 0 +2 13 2 +3 0 0 +3 1 1 +3 2 2 +3 3 0 +3 4 0 +3 5 0 +3 6 0 +3 7 2 +3 8 2 +3 9 0 +3 10 1 +3 11 0 +3 12 0 +3 13 2 +4 0 0 +4 1 0 +4 2 2 +4 3 0 +4 4 0 +4 5 2 +4 6 0 +4 7 1 +4 8 2 +4 9 0 +4 10 1 +4 11 0 +4 12 0 +4 13 1 +5 0 0 +5 1 1 +5 2 0 +5 3 2 +5 4 0 +5 5 0 +5 6 1 +5 7 0 +5 8 2 +5 9 0 +5 10 0 +5 11 1 +5 12 0 +5 13 2 +6 0 0 +6 1 0 +6 2 0 +6 3 1 +6 4 0 +6 5 2 +6 6 1 +6 7 0 +6 8 0 +6 9 1 +6 10 0 +6 11 2 +6 12 1 +6 13 0 +7 0 0 +7 1 1 +7 2 2 +7 3 0 +7 4 1 +7 5 0 +7 6 0 +7 7 0 +7 8 2 +7 9 0 +7 10 1 +7 11 0 +7 12 0 +8 0 0 +8 1 0 +8 2 2 +8 3 0 +8 4 1 +8 5 0 +8 6 0 +8 7 2 +8 8 2 +8 9 0 +8 10 1 +8 11 0 +9 0 0 +9 1 1 +9 2 0 +9 3 2 +9 4 1 +9 5 0 +9 6 2 +9 7 0 +9 8 2 +9 9 0 +9 10 0 +10 0 0 +10 1 0 +10 2 0 +10 3 1 +10 4 1 +10 5 0 +10 6 2 +10 7 0 +10 8 0 +10 9 1 +11 0 0 +11 1 1 +11 2 2 +11 3 0 +11 4 0 +11 5 0 +11 6 0 +11 7 2 +11 8 0 +12 0 0 +12 1 0 +12 2 2 +12 3 0 +12 4 0 +12 5 2 +12 6 0 +12 7 1 +13 0 0 +13 1 1 +13 2 0 +13 3 2 +13 4 0 +13 5 0 +13 6 1 diff --git a/evidence/SI19-ORIG1-v2/README.md b/evidence/SI19-ORIG1-v2/README.md new file mode 100644 index 0000000..db608c4 --- /dev/null +++ b/evidence/SI19-ORIG1-v2/README.md @@ -0,0 +1,43 @@ +# SI19-ORIG1-v2: integrity audit and v2 admission (aien-train#24) + +Host run of `tests/si19/run-omexp.sh` at source commit `e95862f` (see +`run/summary.txt`), compiler `191b776e...` (pin), the same test unit also under +R6 `734f0a39...`. Host CPU only; no GPU, service or model process touched. + +``` +D=~/.local/state/aien-train +OUT=$PWD/evidence/SI19-ORIG1-v2/run RECORDS=$D/orig1/records-20261025T034737Z.bin \ +AUDIT_A=$D/orig1/records-20261025T034737Z.bin AUDIT_B=$D/orig3/records-sealed-20261025T042409Z.bin \ +nice -n 19 sh tests/si19/run-omexp.sh # exit 0, SI19_ORIG1_RUN_PASS +``` + +| item | result | +|---|---| +| `omexp-test` (pin and R6) | PASS, 11654 checks each | +| mutants | 16/16 killed (6 v1, 10 v2: pairing, duplicate, unsupported core, split by family word, range, disjointness, sequence, retrieval pressure, duplicate key without pressure, audit oracle) | +| split table (mode S) | 168 families, 100 TRAIN / 32 VALIDATION / 36 HELD-OUT, identical to `docs/si19/orig1-v2-splits.txt` | +| v2 admission, SYNTHETIC fixture 780 | 468 admitted; 310 duplicate state (-15), 2 shape (-4) | +| v2 admission, v1 owner file 738 | 583 admitted; 155 duplicate state (-15): the second TRAIN pass of every shape plus one repeated H2 shape | + +## Audit: v1 SEALED-FINAL against the v1 development file + +A = owner file (fnv `16622604375676129865`, sha256 `403156f5...8d37`), B = SEALED-FINAL +(fnv `12602815733741495377`, sha256 `99da7bd9...7fd7`); `run/audit.stdout`. + +| counter | value | +|---|---| +| B workloads (core, M, N, job seed) present in A | 738 / 738 (TRAIN 308, DEV 70, H1 120, H2 120, H3 120) | +| matched B records with the same oracle arm as A | 710 / 738 | +| B state keys present in A | 738 / 738 | +| A duplicate state keys | 155 | +| A workloads under two family words (H1 = H3 jobs) | 240 | +| A H1 + H2 records whose log2 shape family holds a TRAIN record of the same core | 116 / 240 | + +Finding: the v1 sealed set was a re-measurement of exactly the development +workloads (the harness regenerates jobs from fixed seeds), not new workloads. +There was no TRAIN/TEST shape overlap, but half of the "unseen" shapes share a +log2 shape family with TRAIN, and the TEST workloads re-measured as SEALED had +been inspected during ORIG-2. The v1 verdict (INCONCLUSIVE) stays as sealed; it +is evidence about re-measurement noise, not about generalization to new +workload families. v2 (`docs/si19/ORIG1-CONTRACT-v2.md`) splits by workload +family and refuses unpaired, duplicate and unsupported records with counts. diff --git a/evidence/SI19-ORIG1-v2/run/audit.rc b/evidence/SI19-ORIG1-v2/run/audit.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/audit.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/audit.stderr b/evidence/SI19-ORIG1-v2/run/audit.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/audit.stdout b/evidence/SI19-ORIG1-v2/run/audit.stdout new file mode 100644 index 0000000..c4e2fba --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/audit.stdout @@ -0,0 +1,17 @@ +a_records=738 +b_records=738 +a_fnv=16622604375676129865 +b_fnv=12602815733741495377 +audit_0=738 +audit_1=308 +audit_2=70 +audit_3=120 +audit_4=120 +audit_5=120 +audit_6=710 +audit_7=738 +audit_8=155 +audit_9=240 +audit_10=116 +audit_11=240 +audit_12=360 diff --git a/evidence/SI19-ORIG1-v2/run/build.sha256 b/evidence/SI19-ORIG1-v2/run/build.sha256 new file mode 100644 index 0000000..4fa51bc --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/build.sha256 @@ -0,0 +1,9 @@ +cffe6349af5d9146fd0e04b9c5e6ce4d0fc5f22c6b3405db3fe20fe5eed7997c fixture-7-780.bin +33678f31ce0adfa694f7618b7839eb46869a4e62b35fd051ae18d88609bd255f forged.bin +55ba82b78b413b7b2e42e5f0e6560564560f15b01bb881b04e0cdf1a4928ebaa unauth.bin +d4e68fd43a53566b8fce460226f1b3f88b08079f3676edd38fb323319306af86 unlisted.bin +5341e6b2646979a70e57653007a1f310169421ec9bdd9f1a5648f75ade005af1 zero.bin +9931289224c1cb8d095cbe7078076dd15cc602c7e58877ec472d1739b0347b02 omexp.elf +9ffbb5b55fd74324706a47e2a0a381ae8a8c6fc2f623c9d7d9e911a55f01bbcc omexp-test.elf +feb2f5d9cbd5e68012f662c773fd151ce24285489220ae6b9321f791475e8a11 omexp.om +1356585c5eba61474b68b1457017b42fd03d9a2d2aaf7e642b864d917ee9f12e omexp-test.om diff --git a/evidence/SI19-ORIG1-v2/run/deps-check.txt b/evidence/SI19-ORIG1-v2/run/deps-check.txt new file mode 100644 index 0000000..3b96361 --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/deps-check.txt @@ -0,0 +1,4 @@ +add32.om: OK +mul32.om: OK +metadata.om: OK +affine.om: OK diff --git a/evidence/SI19-ORIG1-v2/run/gen-fixture-7-780.rc b/evidence/SI19-ORIG1-v2/run/gen-fixture-7-780.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/gen-fixture-7-780.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/gen-fixture-7-780.stderr b/evidence/SI19-ORIG1-v2/run/gen-fixture-7-780.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/gen-fixture-7-780.stdout b/evidence/SI19-ORIG1-v2/run/gen-fixture-7-780.stdout new file mode 100644 index 0000000..23c2690 --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/gen-fixture-7-780.stdout @@ -0,0 +1,2 @@ +fixture_bytes=199680 +data_fnv=626048380840256264 diff --git a/evidence/SI19-ORIG1-v2/run/inspect-fixture.rc b/evidence/SI19-ORIG1-v2/run/inspect-fixture.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/inspect-fixture.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/inspect-fixture.stderr b/evidence/SI19-ORIG1-v2/run/inspect-fixture.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/inspect-fixture.stdout b/evidence/SI19-ORIG1-v2/run/inspect-fixture.stdout new file mode 100644 index 0000000..c5913cd --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/inspect-fixture.stdout @@ -0,0 +1,17 @@ +status=0 +allow=2 +records=780 +data_fnv=626048380840256264 +family_0=156 +family_1=156 +family_2=156 +family_3=156 +family_4=156 +static_core0=4 +static_core1=0 +part=0 core=0 n=78 oracle=64469577 rule=98643394 reference=107028887 static=64824398 retrieval=64469577 rule_top1=18 retrieval_top1=78 +part=0 core=1 n=78 oracle=108533338 rule=171655787 reference=109168015 static=109168015 retrieval=108533338 rule_top1=30 retrieval_top1=78 +part=1 core=0 n=78 oracle=31977500 rule=49913808 reference=53562569 static=31977500 retrieval=31977500 rule_top1=0 retrieval_top1=78 +part=1 core=1 n=78 oracle=52908705 rule=86333033 reference=53150444 static=53150444 retrieval=53082784 rule_top1=28 retrieval_top1=64 +part=2 core=0 n=234 oracle=9181328 rule=15369162 reference=15124099 static=9324285 retrieval=9181328 rule_top1=34 retrieval_top1=234 +part=2 core=1 n=234 oracle=14885054 rule=23482580 reference=15202497 static=15202497 retrieval=15030358 rule_top1=86 retrieval_top1=165 diff --git a/evidence/SI19-ORIG1-v2/run/inspect-forged.rc b/evidence/SI19-ORIG1-v2/run/inspect-forged.rc new file mode 100644 index 0000000..69a893a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/inspect-forged.rc @@ -0,0 +1 @@ +66 diff --git a/evidence/SI19-ORIG1-v2/run/inspect-forged.stderr b/evidence/SI19-ORIG1-v2/run/inspect-forged.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/inspect-forged.stdout b/evidence/SI19-ORIG1-v2/run/inspect-forged.stdout new file mode 100644 index 0000000..5269dbc --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/inspect-forged.stdout @@ -0,0 +1 @@ +SELECT dataset refused status=-7 diff --git a/evidence/SI19-ORIG1-v2/run/inspect-owner.rc b/evidence/SI19-ORIG1-v2/run/inspect-owner.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/inspect-owner.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/inspect-owner.stderr b/evidence/SI19-ORIG1-v2/run/inspect-owner.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/inspect-owner.stdout b/evidence/SI19-ORIG1-v2/run/inspect-owner.stdout new file mode 100644 index 0000000..abf62cb --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/inspect-owner.stdout @@ -0,0 +1,17 @@ +status=0 +allow=1 +records=738 +data_fnv=16622604375676129865 +family_0=308 +family_1=70 +family_2=120 +family_3=120 +family_4=120 +static_core0=4 +static_core1=4 +part=0 core=0 n=154 oracle=598629162 rule=1046547680 reference=1004717635 static=600874751 retrieval=598629172 rule_top1=5 retrieval_top1=153 +part=0 core=1 n=154 oracle=1333277451 rule=2417876895 reference=1413657028 static=1349748707 retrieval=1333463280 rule_top1=0 retrieval_top1=153 +part=1 core=0 n=35 oracle=114072181 rule=203790073 reference=195903796 static=114072181 retrieval=114072181 rule_top1=0 retrieval_top1=35 +part=1 core=1 n=35 oracle=258287978 rule=471627146 reference=275273405 static=260695885 retrieval=263706928 rule_top1=0 retrieval_top1=27 +part=2 core=0 n=180 oracle=1962560697 rule=3059664398 reference=2973421931 static=1971954321 retrieval=1962695471 rule_top1=0 retrieval_top1=176 +part=2 core=1 n=180 oracle=3233131109 rule=4677941058 reference=3530152424 static=3277482059 retrieval=3246320510 rule_top1=0 retrieval_top1=144 diff --git a/evidence/SI19-ORIG1-v2/run/inspect-unauth.rc b/evidence/SI19-ORIG1-v2/run/inspect-unauth.rc new file mode 100644 index 0000000..3fdcd7c --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/inspect-unauth.rc @@ -0,0 +1 @@ +67 diff --git a/evidence/SI19-ORIG1-v2/run/inspect-unauth.stderr b/evidence/SI19-ORIG1-v2/run/inspect-unauth.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/inspect-unauth.stdout b/evidence/SI19-ORIG1-v2/run/inspect-unauth.stdout new file mode 100644 index 0000000..3b15ef7 --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/inspect-unauth.stdout @@ -0,0 +1 @@ +SELECT dataset not authorized status=-13 diff --git a/evidence/SI19-ORIG1-v2/run/inspect-unlisted.rc b/evidence/SI19-ORIG1-v2/run/inspect-unlisted.rc new file mode 100644 index 0000000..69a893a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/inspect-unlisted.rc @@ -0,0 +1 @@ +66 diff --git a/evidence/SI19-ORIG1-v2/run/inspect-unlisted.stderr b/evidence/SI19-ORIG1-v2/run/inspect-unlisted.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/inspect-unlisted.stdout b/evidence/SI19-ORIG1-v2/run/inspect-unlisted.stdout new file mode 100644 index 0000000..0d83e22 --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/inspect-unlisted.stdout @@ -0,0 +1 @@ +SELECT dataset refused status=-2 diff --git a/evidence/SI19-ORIG1-v2/run/inspect-zero.rc b/evidence/SI19-ORIG1-v2/run/inspect-zero.rc new file mode 100644 index 0000000..69a893a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/inspect-zero.rc @@ -0,0 +1 @@ +66 diff --git a/evidence/SI19-ORIG1-v2/run/inspect-zero.stderr b/evidence/SI19-ORIG1-v2/run/inspect-zero.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/inspect-zero.stdout b/evidence/SI19-ORIG1-v2/run/inspect-zero.stdout new file mode 100644 index 0000000..0d83e22 --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/inspect-zero.stdout @@ -0,0 +1 @@ +SELECT dataset refused status=-2 diff --git a/evidence/SI19-ORIG1-v2/run/mutant1.compile.rc b/evidence/SI19-ORIG1-v2/run/mutant1.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant1.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/mutant1.compile.stderr b/evidence/SI19-ORIG1-v2/run/mutant1.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant1.rc b/evidence/SI19-ORIG1-v2/run/mutant1.rc new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant1.rc @@ -0,0 +1 @@ +1 diff --git a/evidence/SI19-ORIG1-v2/run/mutant1.stderr b/evidence/SI19-ORIG1-v2/run/mutant1.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant1.stdout b/evidence/SI19-ORIG1-v2/run/mutant1.stdout new file mode 100644 index 0000000..e853759 --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant1.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_FAIL check=10 diff --git a/evidence/SI19-ORIG1-v2/run/mutant10.compile.rc b/evidence/SI19-ORIG1-v2/run/mutant10.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant10.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/mutant10.compile.stderr b/evidence/SI19-ORIG1-v2/run/mutant10.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant10.rc b/evidence/SI19-ORIG1-v2/run/mutant10.rc new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant10.rc @@ -0,0 +1 @@ +1 diff --git a/evidence/SI19-ORIG1-v2/run/mutant10.stderr b/evidence/SI19-ORIG1-v2/run/mutant10.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant10.stdout b/evidence/SI19-ORIG1-v2/run/mutant10.stdout new file mode 100644 index 0000000..9c6418f --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant10.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_FAIL check=1498 diff --git a/evidence/SI19-ORIG1-v2/run/mutant11.compile.rc b/evidence/SI19-ORIG1-v2/run/mutant11.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant11.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/mutant11.compile.stderr b/evidence/SI19-ORIG1-v2/run/mutant11.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant11.rc b/evidence/SI19-ORIG1-v2/run/mutant11.rc new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant11.rc @@ -0,0 +1 @@ +1 diff --git a/evidence/SI19-ORIG1-v2/run/mutant11.stderr b/evidence/SI19-ORIG1-v2/run/mutant11.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant11.stdout b/evidence/SI19-ORIG1-v2/run/mutant11.stdout new file mode 100644 index 0000000..395149f --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant11.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_FAIL check=1904 diff --git a/evidence/SI19-ORIG1-v2/run/mutant12.compile.rc b/evidence/SI19-ORIG1-v2/run/mutant12.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant12.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/mutant12.compile.stderr b/evidence/SI19-ORIG1-v2/run/mutant12.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant12.rc b/evidence/SI19-ORIG1-v2/run/mutant12.rc new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant12.rc @@ -0,0 +1 @@ +1 diff --git a/evidence/SI19-ORIG1-v2/run/mutant12.stderr b/evidence/SI19-ORIG1-v2/run/mutant12.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant12.stdout b/evidence/SI19-ORIG1-v2/run/mutant12.stdout new file mode 100644 index 0000000..b6ab26e --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant12.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_FAIL check=11337 diff --git a/evidence/SI19-ORIG1-v2/run/mutant13.compile.rc b/evidence/SI19-ORIG1-v2/run/mutant13.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant13.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/mutant13.compile.stderr b/evidence/SI19-ORIG1-v2/run/mutant13.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant13.rc b/evidence/SI19-ORIG1-v2/run/mutant13.rc new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant13.rc @@ -0,0 +1 @@ +1 diff --git a/evidence/SI19-ORIG1-v2/run/mutant13.stderr b/evidence/SI19-ORIG1-v2/run/mutant13.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant13.stdout b/evidence/SI19-ORIG1-v2/run/mutant13.stdout new file mode 100644 index 0000000..0841fe2 --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant13.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_FAIL check=1922 diff --git a/evidence/SI19-ORIG1-v2/run/mutant14.compile.rc b/evidence/SI19-ORIG1-v2/run/mutant14.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant14.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/mutant14.compile.stderr b/evidence/SI19-ORIG1-v2/run/mutant14.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant14.rc b/evidence/SI19-ORIG1-v2/run/mutant14.rc new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant14.rc @@ -0,0 +1 @@ +1 diff --git a/evidence/SI19-ORIG1-v2/run/mutant14.stderr b/evidence/SI19-ORIG1-v2/run/mutant14.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant14.stdout b/evidence/SI19-ORIG1-v2/run/mutant14.stdout new file mode 100644 index 0000000..d0cfe04 --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant14.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_FAIL check=11353 diff --git a/evidence/SI19-ORIG1-v2/run/mutant15.compile.rc b/evidence/SI19-ORIG1-v2/run/mutant15.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant15.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/mutant15.compile.stderr b/evidence/SI19-ORIG1-v2/run/mutant15.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant15.rc b/evidence/SI19-ORIG1-v2/run/mutant15.rc new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant15.rc @@ -0,0 +1 @@ +1 diff --git a/evidence/SI19-ORIG1-v2/run/mutant15.stderr b/evidence/SI19-ORIG1-v2/run/mutant15.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant15.stdout b/evidence/SI19-ORIG1-v2/run/mutant15.stdout new file mode 100644 index 0000000..a6d925d --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant15.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_FAIL check=1502 diff --git a/evidence/SI19-ORIG1-v2/run/mutant16.compile.rc b/evidence/SI19-ORIG1-v2/run/mutant16.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant16.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/mutant16.compile.stderr b/evidence/SI19-ORIG1-v2/run/mutant16.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant16.rc b/evidence/SI19-ORIG1-v2/run/mutant16.rc new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant16.rc @@ -0,0 +1 @@ +1 diff --git a/evidence/SI19-ORIG1-v2/run/mutant16.stderr b/evidence/SI19-ORIG1-v2/run/mutant16.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant16.stdout b/evidence/SI19-ORIG1-v2/run/mutant16.stdout new file mode 100644 index 0000000..1444520 --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant16.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_FAIL check=11646 diff --git a/evidence/SI19-ORIG1-v2/run/mutant2.compile.rc b/evidence/SI19-ORIG1-v2/run/mutant2.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant2.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/mutant2.compile.stderr b/evidence/SI19-ORIG1-v2/run/mutant2.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant2.rc b/evidence/SI19-ORIG1-v2/run/mutant2.rc new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant2.rc @@ -0,0 +1 @@ +1 diff --git a/evidence/SI19-ORIG1-v2/run/mutant2.stderr b/evidence/SI19-ORIG1-v2/run/mutant2.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant2.stdout b/evidence/SI19-ORIG1-v2/run/mutant2.stdout new file mode 100644 index 0000000..e853759 --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant2.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_FAIL check=10 diff --git a/evidence/SI19-ORIG1-v2/run/mutant3.compile.rc b/evidence/SI19-ORIG1-v2/run/mutant3.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant3.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/mutant3.compile.stderr b/evidence/SI19-ORIG1-v2/run/mutant3.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant3.rc b/evidence/SI19-ORIG1-v2/run/mutant3.rc new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant3.rc @@ -0,0 +1 @@ +1 diff --git a/evidence/SI19-ORIG1-v2/run/mutant3.stderr b/evidence/SI19-ORIG1-v2/run/mutant3.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant3.stdout b/evidence/SI19-ORIG1-v2/run/mutant3.stdout new file mode 100644 index 0000000..12f896c --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant3.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_FAIL check=81 diff --git a/evidence/SI19-ORIG1-v2/run/mutant4.compile.rc b/evidence/SI19-ORIG1-v2/run/mutant4.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant4.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/mutant4.compile.stderr b/evidence/SI19-ORIG1-v2/run/mutant4.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant4.rc b/evidence/SI19-ORIG1-v2/run/mutant4.rc new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant4.rc @@ -0,0 +1 @@ +1 diff --git a/evidence/SI19-ORIG1-v2/run/mutant4.stderr b/evidence/SI19-ORIG1-v2/run/mutant4.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant4.stdout b/evidence/SI19-ORIG1-v2/run/mutant4.stdout new file mode 100644 index 0000000..6233cba --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant4.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_FAIL check=67 diff --git a/evidence/SI19-ORIG1-v2/run/mutant5.compile.rc b/evidence/SI19-ORIG1-v2/run/mutant5.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant5.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/mutant5.compile.stderr b/evidence/SI19-ORIG1-v2/run/mutant5.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant5.rc b/evidence/SI19-ORIG1-v2/run/mutant5.rc new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant5.rc @@ -0,0 +1 @@ +1 diff --git a/evidence/SI19-ORIG1-v2/run/mutant5.stderr b/evidence/SI19-ORIG1-v2/run/mutant5.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant5.stdout b/evidence/SI19-ORIG1-v2/run/mutant5.stdout new file mode 100644 index 0000000..60fbe8e --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant5.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_FAIL check=1448 diff --git a/evidence/SI19-ORIG1-v2/run/mutant6.compile.rc b/evidence/SI19-ORIG1-v2/run/mutant6.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant6.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/mutant6.compile.stderr b/evidence/SI19-ORIG1-v2/run/mutant6.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant6.rc b/evidence/SI19-ORIG1-v2/run/mutant6.rc new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant6.rc @@ -0,0 +1 @@ +1 diff --git a/evidence/SI19-ORIG1-v2/run/mutant6.stderr b/evidence/SI19-ORIG1-v2/run/mutant6.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant6.stdout b/evidence/SI19-ORIG1-v2/run/mutant6.stdout new file mode 100644 index 0000000..3f7ee74 --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant6.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_FAIL check=1461 diff --git a/evidence/SI19-ORIG1-v2/run/mutant7.compile.rc b/evidence/SI19-ORIG1-v2/run/mutant7.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant7.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/mutant7.compile.stderr b/evidence/SI19-ORIG1-v2/run/mutant7.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant7.rc b/evidence/SI19-ORIG1-v2/run/mutant7.rc new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant7.rc @@ -0,0 +1 @@ +1 diff --git a/evidence/SI19-ORIG1-v2/run/mutant7.stderr b/evidence/SI19-ORIG1-v2/run/mutant7.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant7.stdout b/evidence/SI19-ORIG1-v2/run/mutant7.stdout new file mode 100644 index 0000000..c991ad0 --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant7.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_FAIL check=1832 diff --git a/evidence/SI19-ORIG1-v2/run/mutant8.compile.rc b/evidence/SI19-ORIG1-v2/run/mutant8.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant8.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/mutant8.compile.stderr b/evidence/SI19-ORIG1-v2/run/mutant8.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant8.rc b/evidence/SI19-ORIG1-v2/run/mutant8.rc new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant8.rc @@ -0,0 +1 @@ +1 diff --git a/evidence/SI19-ORIG1-v2/run/mutant8.stderr b/evidence/SI19-ORIG1-v2/run/mutant8.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant8.stdout b/evidence/SI19-ORIG1-v2/run/mutant8.stdout new file mode 100644 index 0000000..1e6c7dd --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant8.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_FAIL check=1936 diff --git a/evidence/SI19-ORIG1-v2/run/mutant9.compile.rc b/evidence/SI19-ORIG1-v2/run/mutant9.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant9.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/mutant9.compile.stderr b/evidence/SI19-ORIG1-v2/run/mutant9.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant9.rc b/evidence/SI19-ORIG1-v2/run/mutant9.rc new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant9.rc @@ -0,0 +1 @@ +1 diff --git a/evidence/SI19-ORIG1-v2/run/mutant9.stderr b/evidence/SI19-ORIG1-v2/run/mutant9.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/mutant9.stdout b/evidence/SI19-ORIG1-v2/run/mutant9.stdout new file mode 100644 index 0000000..57efc17 --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/mutant9.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_FAIL check=1742 diff --git a/evidence/SI19-ORIG1-v2/run/omexp-test-r6.compile.rc b/evidence/SI19-ORIG1-v2/run/omexp-test-r6.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/omexp-test-r6.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/omexp-test-r6.compile.stderr b/evidence/SI19-ORIG1-v2/run/omexp-test-r6.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/omexp-test-r6.rc b/evidence/SI19-ORIG1-v2/run/omexp-test-r6.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/omexp-test-r6.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/omexp-test-r6.stderr b/evidence/SI19-ORIG1-v2/run/omexp-test-r6.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/omexp-test-r6.stdout b/evidence/SI19-ORIG1-v2/run/omexp-test-r6.stdout new file mode 100644 index 0000000..928701b --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/omexp-test-r6.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_PASS checks=11654 diff --git a/evidence/SI19-ORIG1-v2/run/omexp-test.compile.rc b/evidence/SI19-ORIG1-v2/run/omexp-test.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/omexp-test.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/omexp-test.compile.stderr b/evidence/SI19-ORIG1-v2/run/omexp-test.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/omexp-test.rc b/evidence/SI19-ORIG1-v2/run/omexp-test.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/omexp-test.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/omexp-test.stderr b/evidence/SI19-ORIG1-v2/run/omexp-test.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/omexp-test.stdout b/evidence/SI19-ORIG1-v2/run/omexp-test.stdout new file mode 100644 index 0000000..928701b --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/omexp-test.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_PASS checks=11654 diff --git a/evidence/SI19-ORIG1-v2/run/omexp.compile.rc b/evidence/SI19-ORIG1-v2/run/omexp.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/omexp.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/omexp.compile.stderr b/evidence/SI19-ORIG1-v2/run/omexp.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/raw.sha256 b/evidence/SI19-ORIG1-v2/run/raw.sha256 new file mode 100644 index 0000000..092a2e7 --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/raw.sha256 @@ -0,0 +1,95 @@ +592ed8d1562078fd0e98cc97271dd0f912159fa9f63fa774c30097ee5b7919e0 audit.stdout +2c618bf3218aaba84b066b123dffe7e85f5580fbb613e0bb6cc2cacb8d8c3ecf gen-fixture-7-780.stdout +0b9c714f8d07c4e6aac4ddd18e025b51fdb0241f265947a7b0b391f30a20e0c5 inspect-fixture.stdout +01570d57997450513eb2a15819bc185bbfa7444380ee8ba28dd4bce2a3b2d1b0 inspect-forged.stdout +57153e57e461426ae647ef53247bfd6511956e4b0662437f89a4fec8b18abeb5 inspect-owner.stdout +85526a188ef465a5a8127be983f4647e748379921b66a776ed8ad0d1f7b8bf56 inspect-unauth.stdout +6d31e2563ee6c3b938c33cbcb0eff63caef49c94e9f939ad4d3f5ed82e186da1 inspect-unlisted.stdout +6d31e2563ee6c3b938c33cbcb0eff63caef49c94e9f939ad4d3f5ed82e186da1 inspect-zero.stdout +35b51a18419b285580d1d96d3900ed1a13c688b171264b9564359df5983025cc mutant1.stdout +abe74bec92303bfde8cc1ea4af3ff8f132a023f1476b7b8a65832754ad923d27 mutant10.stdout +69473d475cb649dcb00195060e5ba1d53eccbc0dc406f74adeca369a469e57db mutant11.stdout +a1a17523c00dfb3ea12fc3387a31e2a9fa7fe36e5483adb80b4ccad02db2cb86 mutant12.stdout +d147f07aee39b3dfa29ba72e00a004e7150f3f4b215f074fb30a7ad35bafdfe4 mutant13.stdout +43bf80b4ede78e4d13ab1dd0208cc7bdbf1784d7aedc1ac57a80048c3c211b61 mutant14.stdout +448b03edaa010ee0b1c6ee7572ad3223f442bf2eec5b535d051381e9ecd54102 mutant15.stdout +3765296b79c5b0ce86a5f9a297423bf8b011930361cfe0b1e3c1154001b6a526 mutant16.stdout +35b51a18419b285580d1d96d3900ed1a13c688b171264b9564359df5983025cc mutant2.stdout +505f093c868127f8b04478590cadc146208ae8d74e346b052a790e7f18f25415 mutant3.stdout +05c6035930154a5ab0e406d004a6545d266a274ca9ca7385fedcc60dad006e9f mutant4.stdout +c3ef90c15337b853ff4f83e8b55a877dcc07d8b918ede3856d7185458ef4a0c3 mutant5.stdout +df888a1eb88efaaea4c76fd1ede5f9b1610ac11d032d3a12bc305d6319e7c2ae mutant6.stdout +af9bbf5be571a17bb5c4cd4658f23581fe0c99790a3ceadb9564de780b3eb1ad mutant7.stdout +8ab3b993c24c840ea9ad3db415772bba02749276015e7842a90e12393ac14a9d mutant8.stdout +e2ea8b159480c7cf3ae1a47b71e82a30a3441120c48e5e6622f176e96da09e57 mutant9.stdout +f37b1cc71d245cdd5d2fc528cae161a08941cefb1c4c608b8ceff8a475cfc333 omexp-test-r6.stdout +f37b1cc71d245cdd5d2fc528cae161a08941cefb1c4c608b8ceff8a475cfc333 omexp-test.stdout +fa590c857a5a95f3a562668260d974cbda83a9b319f854743b2fd26132dc2521 v2-fixture.stdout +12e8f2b7b400b5c3a73b6078d130060e53110b577d67b979b3daf7dd1e32ace3 v2-owner.stdout +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa audit.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa gen-fixture-7-780.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa inspect-fixture.rc +8e37bed9dff3949ffd23ae638260dff869f5cc26e551f2a9e5e289a8888949fa inspect-forged.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa inspect-owner.rc +7f3d905fd916ac40ded4007bbe76e90633bb99a856b7bf512eaf5ae1e91f6ca7 inspect-unauth.rc +8e37bed9dff3949ffd23ae638260dff869f5cc26e551f2a9e5e289a8888949fa inspect-unlisted.rc +8e37bed9dff3949ffd23ae638260dff869f5cc26e551f2a9e5e289a8888949fa inspect-zero.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa mutant1.compile.rc +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 mutant1.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa mutant10.compile.rc +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 mutant10.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa mutant11.compile.rc +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 mutant11.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa mutant12.compile.rc +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 mutant12.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa mutant13.compile.rc +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 mutant13.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa mutant14.compile.rc +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 mutant14.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa mutant15.compile.rc +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 mutant15.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa mutant16.compile.rc +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 mutant16.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa mutant2.compile.rc +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 mutant2.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa mutant3.compile.rc +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 mutant3.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa mutant4.compile.rc +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 mutant4.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa mutant5.compile.rc +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 mutant5.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa mutant6.compile.rc +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 mutant6.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa mutant7.compile.rc +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 mutant7.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa mutant8.compile.rc +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 mutant8.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa mutant9.compile.rc +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 mutant9.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa omexp-test-r6.compile.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa omexp-test-r6.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa omexp-test.compile.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa omexp-test.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa omexp.compile.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa v2-fixture.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa v2-owner.rc +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 mutant1.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 mutant10.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 mutant11.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 mutant12.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 mutant13.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 mutant14.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 mutant15.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 mutant16.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 mutant2.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 mutant3.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 mutant4.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 mutant5.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 mutant6.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 mutant7.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 mutant8.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 mutant9.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 omexp-test-r6.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 omexp-test.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 omexp.compile.stderr +2d9047e59e6b3fbd583b1d3f29057d9bcfd639322335b377967d8b0793af6e97 deps-check.txt diff --git a/evidence/SI19-ORIG1-v2/run/splits.stderr b/evidence/SI19-ORIG1-v2/run/splits.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/splits.txt b/evidence/SI19-ORIG1-v2/run/splits.txt new file mode 100644 index 0000000..3c06f40 --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/splits.txt @@ -0,0 +1,168 @@ +0 0 0 +0 1 0 +0 2 2 +0 3 0 +0 4 1 +0 5 0 +0 6 0 +0 7 2 +0 8 0 +0 9 1 +0 10 0 +0 11 0 +0 12 2 +0 13 0 +1 0 0 +1 1 1 +1 2 0 +1 3 2 +1 4 1 +1 5 0 +1 6 2 +1 7 0 +1 8 0 +1 9 2 +1 10 0 +1 11 0 +1 12 2 +1 13 0 +2 0 0 +2 1 0 +2 2 0 +2 3 1 +2 4 1 +2 5 0 +2 6 2 +2 7 0 +2 8 2 +2 9 0 +2 10 0 +2 11 0 +2 12 0 +2 13 2 +3 0 0 +3 1 1 +3 2 2 +3 3 0 +3 4 0 +3 5 0 +3 6 0 +3 7 2 +3 8 2 +3 9 0 +3 10 1 +3 11 0 +3 12 0 +3 13 2 +4 0 0 +4 1 0 +4 2 2 +4 3 0 +4 4 0 +4 5 2 +4 6 0 +4 7 1 +4 8 2 +4 9 0 +4 10 1 +4 11 0 +4 12 0 +4 13 1 +5 0 0 +5 1 1 +5 2 0 +5 3 2 +5 4 0 +5 5 0 +5 6 1 +5 7 0 +5 8 2 +5 9 0 +5 10 0 +5 11 1 +5 12 0 +5 13 2 +6 0 0 +6 1 0 +6 2 0 +6 3 1 +6 4 0 +6 5 2 +6 6 1 +6 7 0 +6 8 0 +6 9 1 +6 10 0 +6 11 2 +6 12 1 +6 13 0 +7 0 0 +7 1 1 +7 2 2 +7 3 0 +7 4 1 +7 5 0 +7 6 0 +7 7 0 +7 8 2 +7 9 0 +7 10 1 +7 11 0 +7 12 0 +8 0 0 +8 1 0 +8 2 2 +8 3 0 +8 4 1 +8 5 0 +8 6 0 +8 7 2 +8 8 2 +8 9 0 +8 10 1 +8 11 0 +9 0 0 +9 1 1 +9 2 0 +9 3 2 +9 4 1 +9 5 0 +9 6 2 +9 7 0 +9 8 2 +9 9 0 +9 10 0 +10 0 0 +10 1 0 +10 2 0 +10 3 1 +10 4 1 +10 5 0 +10 6 2 +10 7 0 +10 8 0 +10 9 1 +11 0 0 +11 1 1 +11 2 2 +11 3 0 +11 4 0 +11 5 0 +11 6 0 +11 7 2 +11 8 0 +12 0 0 +12 1 0 +12 2 2 +12 3 0 +12 4 0 +12 5 2 +12 6 0 +12 7 1 +13 0 0 +13 1 1 +13 2 0 +13 3 2 +13 4 0 +13 5 0 +13 6 1 diff --git a/evidence/SI19-ORIG1-v2/run/summary.txt b/evidence/SI19-ORIG1-v2/run/summary.txt new file mode 100644 index 0000000..af667dd --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/summary.txt @@ -0,0 +1,149 @@ +build_dir=/tmp/si19orig1.YgtSF6 +source_commit=e95862fac4a91b8d3dc79aec6d71773fe73f40d4 +host=Linux 7.0.0-1019-nvidia aarch64 +compiler_sha256=191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9 +r6_compiler_sha256=734f0a39319fbfa930bcc62cb30dbf06d47d78e126372b74f5baf478e6126b61 compile_rc=0 +omexp-test rc=0 wall_ms=21 SI19_OMEXP_TEST_PASS checks=11654 +omexp-test-r6 rc=0 SI19_OMEXP_TEST_PASS checks=11654 +gen-fixture-7-780 rc=0 fixture_bytes=199680 data_fnv=626048380840256264 +inspect-fixture rc=0 wall_ms=17 +status=0 +allow=2 +records=780 +data_fnv=626048380840256264 +family_0=156 +family_1=156 +family_2=156 +family_3=156 +family_4=156 +static_core0=4 +static_core1=0 +part=0 core=0 n=78 oracle=64469577 rule=98643394 reference=107028887 static=64824398 retrieval=64469577 rule_top1=18 retrieval_top1=78 +part=0 core=1 n=78 oracle=108533338 rule=171655787 reference=109168015 static=109168015 retrieval=108533338 rule_top1=30 retrieval_top1=78 +part=1 core=0 n=78 oracle=31977500 rule=49913808 reference=53562569 static=31977500 retrieval=31977500 rule_top1=0 retrieval_top1=78 +part=1 core=1 n=78 oracle=52908705 rule=86333033 reference=53150444 static=53150444 retrieval=53082784 rule_top1=28 retrieval_top1=64 +part=2 core=0 n=234 oracle=9181328 rule=15369162 reference=15124099 static=9324285 retrieval=9181328 rule_top1=34 retrieval_top1=234 +part=2 core=1 n=234 oracle=14885054 rule=23482580 reference=15202497 static=15202497 retrieval=15030358 rule_top1=86 retrieval_top1=165 +v2-fixture rc=0 wall_ms=20 +v2_status=0 +allow=2 +records=780 +data_fnv=626048380840256264 +admitted=468 +refused_reason_1=0 +refused_reason_2=0 +refused_reason_3=0 +refused_reason_4=2 +refused_reason_5=0 +refused_reason_6=0 +refused_reason_7=0 +refused_reason_8=0 +refused_reason_9=0 +refused_reason_10=0 +refused_reason_11=0 +refused_reason_12=0 +refused_reason_13=0 +refused_reason_14=0 +refused_reason_15=310 +split_0_families=58 +split_0_core_0=147 +split_0_core_1=147 +split_1_families=19 +split_1_core_0=42 +split_1_core_1=42 +split_2_families=17 +split_2_core_0=45 +split_2_core_1=45 +v2_split_table=c072d49843ecb5162fa03323790254cd96c96b9138461c80562d6051ed84f4cb families=168 identical_to_docs=yes +inspect-zero rc=66 wall_ms=4 +inspect-unlisted rc=66 wall_ms=5 +inspect-forged rc=66 wall_ms=4 +inspect-unauth rc=67 wall_ms=5 +SELECT dataset refused status=-2 +SELECT dataset refused status=-2 +SELECT dataset refused status=-7 +SELECT dataset not authorized status=-13 +owner_records=/home/drakestapleton/.local/state/aien-train/orig1/records-20261025T034737Z.bin sha256=403156f5ca34479715d2f96fabcbd11b9cab3fd4668e9dd3a41a6eb89b128d37 bytes=188928 +inspect-owner rc=0 wall_ms=10 +status=0 +allow=1 +records=738 +data_fnv=16622604375676129865 +family_0=308 +family_1=70 +family_2=120 +family_3=120 +family_4=120 +static_core0=4 +static_core1=4 +part=0 core=0 n=154 oracle=598629162 rule=1046547680 reference=1004717635 static=600874751 retrieval=598629172 rule_top1=5 retrieval_top1=153 +part=0 core=1 n=154 oracle=1333277451 rule=2417876895 reference=1413657028 static=1349748707 retrieval=1333463280 rule_top1=0 retrieval_top1=153 +part=1 core=0 n=35 oracle=114072181 rule=203790073 reference=195903796 static=114072181 retrieval=114072181 rule_top1=0 retrieval_top1=35 +part=1 core=1 n=35 oracle=258287978 rule=471627146 reference=275273405 static=260695885 retrieval=263706928 rule_top1=0 retrieval_top1=27 +part=2 core=0 n=180 oracle=1962560697 rule=3059664398 reference=2973421931 static=1971954321 retrieval=1962695471 rule_top1=0 retrieval_top1=176 +part=2 core=1 n=180 oracle=3233131109 rule=4677941058 reference=3530152424 static=3277482059 retrieval=3246320510 rule_top1=0 retrieval_top1=144 +v2-owner rc=0 wall_ms=20 +v2_status=0 +allow=1 +records=738 +data_fnv=16622604375676129865 +admitted=583 +refused_reason_1=0 +refused_reason_2=0 +refused_reason_3=0 +refused_reason_4=0 +refused_reason_5=0 +refused_reason_6=0 +refused_reason_7=0 +refused_reason_8=0 +refused_reason_9=0 +refused_reason_10=0 +refused_reason_11=0 +refused_reason_12=0 +refused_reason_13=0 +refused_reason_14=0 +refused_reason_15=155 +split_0_families=72 +split_0_core_0=166 +split_0_core_1=164 +split_1_families=24 +split_1_core_0=50 +split_1_core_1=58 +split_2_families=25 +split_2_core_0=76 +split_2_core_1=69 +audit rc=0 a_sha256=403156f5ca34479715d2f96fabcbd11b9cab3fd4668e9dd3a41a6eb89b128d37 b_sha256=99da7bd92c7591265a6044e96aff38d53cd0e2e91457af49002d429e682f7fd7 +a_records=738 +b_records=738 +a_fnv=16622604375676129865 +b_fnv=12602815733741495377 +audit_0=738 +audit_1=308 +audit_2=70 +audit_3=120 +audit_4=120 +audit_5=120 +audit_6=710 +audit_7=738 +audit_8=155 +audit_9=240 +audit_10=116 +audit_11=240 +audit_12=360 +mutant1 omexp.om rc=1 SI19_OMEXP_TEST_FAIL check=10 :: if ne oxword r 31 1 +mutant2 omexp.om rc=1 SI19_OMEXP_TEST_FAIL check=10 :: if ne oxword r add 24 a 0 +mutant3 omexp.om rc=1 SI19_OMEXP_TEST_FAIL check=81 :: ret 0 +mutant4 omexp.om rc=1 SI19_OMEXP_TEST_FAIL check=67 :: if lt oxseq r oxseq sub r 1 +mutant5 omexp.om rc=1 SI19_OMEXP_TEST_FAIL check=1448 :: if and eq b 82 eq k 8 +mutant6 omexp.om rc=1 SI19_OMEXP_TEST_FAIL check=1461 :: put XF 3 long shr mul lm lm 8 +mutant7 omexp.om rc=1 SI19_OMEXP_TEST_FAIL check=1832 :: if eq oxword r 12 0 +mutant8 omexp.om rc=1 SI19_OMEXP_TEST_FAIL check=1936 :: d = false +mutant9 omexp.om rc=1 SI19_OMEXP_TEST_FAIL check=1742 :: if or gt oxfam r 5 gt oxcore r 2 +mutant10 omexp.om rc=1 SI19_OMEXP_TEST_FAIL check=1498 :: ret rem oxfam r 3 +mutant11 omexp.om rc=1 SI19_OMEXP_TEST_FAIL check=1904 :: if ge oxword r add 16 a 1099511627777 +mutant12 omexp.om rc=1 SI19_OMEXP_TEST_FAIL check=11337 :: ret 0 +mutant13 omexp.om rc=1 SI19_OMEXP_TEST_FAIL check=1922 :: if gt oxseq sub r 1 oxseq r +mutant14 omexp.om rc=1 SI19_OMEXP_TEST_FAIL check=11353 :: ret true +mutant15 omexp.om rc=1 SI19_OMEXP_TEST_FAIL check=1502 :: ret eq oxcore q oxcore r +mutant16 omexp.om rc=1 SI19_OMEXP_TEST_FAIL check=11646 :: if ne oxbest q oxbest r +SI19_ORIG1_RUN_PASS diff --git a/evidence/SI19-ORIG1-v2/run/v2-fixture.rc b/evidence/SI19-ORIG1-v2/run/v2-fixture.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/v2-fixture.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/v2-fixture.stderr b/evidence/SI19-ORIG1-v2/run/v2-fixture.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/v2-fixture.stdout b/evidence/SI19-ORIG1-v2/run/v2-fixture.stdout new file mode 100644 index 0000000..34f7fea --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/v2-fixture.stdout @@ -0,0 +1,29 @@ +v2_status=0 +allow=2 +records=780 +data_fnv=626048380840256264 +admitted=468 +refused_reason_1=0 +refused_reason_2=0 +refused_reason_3=0 +refused_reason_4=2 +refused_reason_5=0 +refused_reason_6=0 +refused_reason_7=0 +refused_reason_8=0 +refused_reason_9=0 +refused_reason_10=0 +refused_reason_11=0 +refused_reason_12=0 +refused_reason_13=0 +refused_reason_14=0 +refused_reason_15=310 +split_0_families=58 +split_0_core_0=147 +split_0_core_1=147 +split_1_families=19 +split_1_core_0=42 +split_1_core_1=42 +split_2_families=17 +split_2_core_0=45 +split_2_core_1=45 diff --git a/evidence/SI19-ORIG1-v2/run/v2-owner.rc b/evidence/SI19-ORIG1-v2/run/v2-owner.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/v2-owner.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1-v2/run/v2-owner.stderr b/evidence/SI19-ORIG1-v2/run/v2-owner.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1-v2/run/v2-owner.stdout b/evidence/SI19-ORIG1-v2/run/v2-owner.stdout new file mode 100644 index 0000000..7cf0fa5 --- /dev/null +++ b/evidence/SI19-ORIG1-v2/run/v2-owner.stdout @@ -0,0 +1,29 @@ +v2_status=0 +allow=1 +records=738 +data_fnv=16622604375676129865 +admitted=583 +refused_reason_1=0 +refused_reason_2=0 +refused_reason_3=0 +refused_reason_4=0 +refused_reason_5=0 +refused_reason_6=0 +refused_reason_7=0 +refused_reason_8=0 +refused_reason_9=0 +refused_reason_10=0 +refused_reason_11=0 +refused_reason_12=0 +refused_reason_13=0 +refused_reason_14=0 +refused_reason_15=155 +split_0_families=72 +split_0_core_0=166 +split_0_core_1=164 +split_1_families=24 +split_1_core_0=50 +split_1_core_1=58 +split_2_families=25 +split_2_core_0=76 +split_2_core_1=69 diff --git a/evidence/SI19-ORIG1/README.md b/evidence/SI19-ORIG1/README.md new file mode 100644 index 0000000..9de9937 --- /dev/null +++ b/evidence/SI19-ORIG1/README.md @@ -0,0 +1,66 @@ +# SI19-ORIG1: frozen selector task and dataset admission (aien-train#24) + +Host run of `sh tests/si19/run-omexp.sh` with `RECORDS` pointing at the local owner +dataset. Source commit `09e5228b48405bc10dc5bd067a9600c332742790` (branch +`feat/24-orig1-selector-contract`, on top of PR #22 `fa0ca1c3`). Host +`Linux 7.0.0-1019-nvidia aarch64` (DGX Spark, CPU only). Compiler +`191b776e...98e9` (pinned); the R6 compiler `734f0a39...6b61` compiled the same test unit +and passed it too (`run/omexp-test-r6.*`). Raw outputs: `run/`, hashed in `run/raw.sha256`; +build artifacts hashed in `run/build.sha256` (not committed). + +## Status + +| item | status | +|---|---| +| contract `docs/si19/ORIG1-CONTRACT.md`, manifest `docs/si19/orig1-manifest.json` | FROZEN | +| admission and refusal tests (`tests/si19/omexp-test.om`) | PASS, 1497 checks, 6 ms; 6 fault-injected units compiled and failed the unchanged test | +| process-path refusals (zero file, trailing damaged record, forged mismatch word, unlisted hash) | PASS: exit 66/66/66/67, status -2/-2/-7/-13 | +| SYNTHETIC fixture `sxgen 7 780` | admitted as SYNTHETIC (allow status 2), fnv `626048380840256264` | +| owner dataset (738 records, local) | admitted as AUTHORIZED (allow status 1), fnv `16622604375676129865`, sha256 `403156f5...8d37` | +| sealed final holdout | BLOCKED_OPERATOR on this machine; every TEST number is development-only. ORIG-3 seals by a fresh tap after the candidate hash is pinned | +| GB10 / hardware | NOT_RUN | + +## Owner dataset: collection receipt + +Collected 2026-10-25T03:47:37Z to 03:48:39Z (62 s wall) by the consumer's own harness +`tests/runtime/rx_empirical_optimizer.c` with the default-off tap, built from the tree of +omega-mv `1ec81372` (`make AIENOS_LOCK_REPO=... build/rx_empirical_optimizer_test`, binary +sha256 `d26aec02...81ee`), `OMEGA_EMPIRICAL_RECORDS=<local path> EMPIRICAL_ALLOW_NO_WIN=1`. +The harness reported `checked 20222 runs against the reference: 0 mismatches`, +`checks 44 failures 0`, and its own verdict `learned selection wins` (the C cost model's +result, recorded for reference; it is not a teacher and nothing of it enters the dataset +beyond the measured tables). Families: 308 TRAIN (154 per core class: 77 shapes x 2 +passes), 70 DEV, 120 H1, 120 H2, 120 H3. Eligible mask 31 (5 arms; `planted_wrong` +refused by the harness). The file is 0600 under `~/.local/state/aien-train/orig1/` and is +not published; it contains no personal data. + +## Deterministic baselines on the owner dataset (`run/inspect-owner.stdout`) + +Unit: sum of ps per call over the partition's records (contract s.7, unweighted). Oracle = +cheapest admissible arm per record (analysis bound). Best static by this metric is `quad4` +on both core classes (the harness's calls-weighted total names `reference` on A725; both +are correct for their metric). + +| partition | core | n | oracle | fixed rule | reference | best static | retrieval | rule top-1 | retrieval top-1 | +|---|---|---|---|---|---|---|---|---|---| +| TRAIN | X925 | 154 | 598629162 | 1.748 | 1.678 | 1.0038 | 1.0000 | 5 | 153 | +| TRAIN | A725 | 154 | 1333277451 | 1.813 | 1.060 | 1.0124 | 1.0001 | 0 | 153 | +| DEV | X925 | 35 | 114072181 | 1.787 | 1.717 | 1.0000 | 1.0000 | 0 | 35 | +| DEV | A725 | 35 | 258287978 | 1.826 | 1.066 | 1.0093 | 1.0210 | 0 | 27 | +| TEST (H1+H2+H3) | X925 | 180 | 1962560697 | 1.559 | 1.515 | 1.0048 | 1.0001 | 0 | 176 | +| TEST (H1+H2+H3) | A725 | 180 | 3233131109 | 1.447 | 1.092 | 1.0137 | 1.0041 | 0 | 144 | + +Ratios are cost over oracle. Reading: the incumbent fixed rule is 45 to 83 % above the +oracle; the cheap heuristics (best static, retrieval) are within 0.0 to 2.1 %. Any learned +scorer therefore has to be judged against best static and retrieval, not against the fixed +rule; ORIG-3's decision rule gates on that. This is a finding, not a failure. + +## Fixture (`run/inspect-fixture.stdout`) + +The SYNTHETIC fixture's planted rule is deliberately core-and-N dependent; its baselines +are in the raw output and are reported separately from the owner numbers above. + +## Not covered here + +Training, the scorer, checkpoints and the learned baselines (ORIG-2); the independent +evaluation (ORIG-3); the default-off shadow consumer (ORIG-4). diff --git a/evidence/SI19-ORIG1/run/build.sha256 b/evidence/SI19-ORIG1/run/build.sha256 new file mode 100644 index 0000000..ecac016 --- /dev/null +++ b/evidence/SI19-ORIG1/run/build.sha256 @@ -0,0 +1,9 @@ +cffe6349af5d9146fd0e04b9c5e6ce4d0fc5f22c6b3405db3fe20fe5eed7997c fixture-7-780.bin +33678f31ce0adfa694f7618b7839eb46869a4e62b35fd051ae18d88609bd255f forged.bin +55ba82b78b413b7b2e42e5f0e6560564560f15b01bb881b04e0cdf1a4928ebaa unauth.bin +d4e68fd43a53566b8fce460226f1b3f88b08079f3676edd38fb323319306af86 unlisted.bin +5341e6b2646979a70e57653007a1f310169421ec9bdd9f1a5648f75ade005af1 zero.bin +f370dc47e62847cbf52b054e0d5011d7b6446e3e5f03d5009a8c7df01cfbdfad omexp.elf +16af83851d8cd815e8aa9d9bfcbb7a4c4f20686779bcdccf61fcf8e891229893 omexp-test.elf +c0babc0411d8987d9e14cd2080149ba364e030604147fbc40120acee8bfe6acc omexp.om +eaa079504efbb3d38214abfd9fbce059a2d0024a53010588063ff7bb79bc9eb1 omexp-test.om diff --git a/evidence/SI19-ORIG1/run/deps-check.txt b/evidence/SI19-ORIG1/run/deps-check.txt new file mode 100644 index 0000000..3b96361 --- /dev/null +++ b/evidence/SI19-ORIG1/run/deps-check.txt @@ -0,0 +1,4 @@ +add32.om: OK +mul32.om: OK +metadata.om: OK +affine.om: OK diff --git a/evidence/SI19-ORIG1/run/gen-fixture-7-780.rc b/evidence/SI19-ORIG1/run/gen-fixture-7-780.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1/run/gen-fixture-7-780.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1/run/gen-fixture-7-780.stderr b/evidence/SI19-ORIG1/run/gen-fixture-7-780.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1/run/gen-fixture-7-780.stdout b/evidence/SI19-ORIG1/run/gen-fixture-7-780.stdout new file mode 100644 index 0000000..23c2690 --- /dev/null +++ b/evidence/SI19-ORIG1/run/gen-fixture-7-780.stdout @@ -0,0 +1,2 @@ +fixture_bytes=199680 +data_fnv=626048380840256264 diff --git a/evidence/SI19-ORIG1/run/inspect-fixture.rc b/evidence/SI19-ORIG1/run/inspect-fixture.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1/run/inspect-fixture.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1/run/inspect-fixture.stderr b/evidence/SI19-ORIG1/run/inspect-fixture.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1/run/inspect-fixture.stdout b/evidence/SI19-ORIG1/run/inspect-fixture.stdout new file mode 100644 index 0000000..c5913cd --- /dev/null +++ b/evidence/SI19-ORIG1/run/inspect-fixture.stdout @@ -0,0 +1,17 @@ +status=0 +allow=2 +records=780 +data_fnv=626048380840256264 +family_0=156 +family_1=156 +family_2=156 +family_3=156 +family_4=156 +static_core0=4 +static_core1=0 +part=0 core=0 n=78 oracle=64469577 rule=98643394 reference=107028887 static=64824398 retrieval=64469577 rule_top1=18 retrieval_top1=78 +part=0 core=1 n=78 oracle=108533338 rule=171655787 reference=109168015 static=109168015 retrieval=108533338 rule_top1=30 retrieval_top1=78 +part=1 core=0 n=78 oracle=31977500 rule=49913808 reference=53562569 static=31977500 retrieval=31977500 rule_top1=0 retrieval_top1=78 +part=1 core=1 n=78 oracle=52908705 rule=86333033 reference=53150444 static=53150444 retrieval=53082784 rule_top1=28 retrieval_top1=64 +part=2 core=0 n=234 oracle=9181328 rule=15369162 reference=15124099 static=9324285 retrieval=9181328 rule_top1=34 retrieval_top1=234 +part=2 core=1 n=234 oracle=14885054 rule=23482580 reference=15202497 static=15202497 retrieval=15030358 rule_top1=86 retrieval_top1=165 diff --git a/evidence/SI19-ORIG1/run/inspect-forged.rc b/evidence/SI19-ORIG1/run/inspect-forged.rc new file mode 100644 index 0000000..69a893a --- /dev/null +++ b/evidence/SI19-ORIG1/run/inspect-forged.rc @@ -0,0 +1 @@ +66 diff --git a/evidence/SI19-ORIG1/run/inspect-forged.stderr b/evidence/SI19-ORIG1/run/inspect-forged.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1/run/inspect-forged.stdout b/evidence/SI19-ORIG1/run/inspect-forged.stdout new file mode 100644 index 0000000..5269dbc --- /dev/null +++ b/evidence/SI19-ORIG1/run/inspect-forged.stdout @@ -0,0 +1 @@ +SELECT dataset refused status=-7 diff --git a/evidence/SI19-ORIG1/run/inspect-owner.rc b/evidence/SI19-ORIG1/run/inspect-owner.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1/run/inspect-owner.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1/run/inspect-owner.stderr b/evidence/SI19-ORIG1/run/inspect-owner.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1/run/inspect-owner.stdout b/evidence/SI19-ORIG1/run/inspect-owner.stdout new file mode 100644 index 0000000..abf62cb --- /dev/null +++ b/evidence/SI19-ORIG1/run/inspect-owner.stdout @@ -0,0 +1,17 @@ +status=0 +allow=1 +records=738 +data_fnv=16622604375676129865 +family_0=308 +family_1=70 +family_2=120 +family_3=120 +family_4=120 +static_core0=4 +static_core1=4 +part=0 core=0 n=154 oracle=598629162 rule=1046547680 reference=1004717635 static=600874751 retrieval=598629172 rule_top1=5 retrieval_top1=153 +part=0 core=1 n=154 oracle=1333277451 rule=2417876895 reference=1413657028 static=1349748707 retrieval=1333463280 rule_top1=0 retrieval_top1=153 +part=1 core=0 n=35 oracle=114072181 rule=203790073 reference=195903796 static=114072181 retrieval=114072181 rule_top1=0 retrieval_top1=35 +part=1 core=1 n=35 oracle=258287978 rule=471627146 reference=275273405 static=260695885 retrieval=263706928 rule_top1=0 retrieval_top1=27 +part=2 core=0 n=180 oracle=1962560697 rule=3059664398 reference=2973421931 static=1971954321 retrieval=1962695471 rule_top1=0 retrieval_top1=176 +part=2 core=1 n=180 oracle=3233131109 rule=4677941058 reference=3530152424 static=3277482059 retrieval=3246320510 rule_top1=0 retrieval_top1=144 diff --git a/evidence/SI19-ORIG1/run/inspect-unauth.rc b/evidence/SI19-ORIG1/run/inspect-unauth.rc new file mode 100644 index 0000000..3fdcd7c --- /dev/null +++ b/evidence/SI19-ORIG1/run/inspect-unauth.rc @@ -0,0 +1 @@ +67 diff --git a/evidence/SI19-ORIG1/run/inspect-unauth.stderr b/evidence/SI19-ORIG1/run/inspect-unauth.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1/run/inspect-unauth.stdout b/evidence/SI19-ORIG1/run/inspect-unauth.stdout new file mode 100644 index 0000000..3b15ef7 --- /dev/null +++ b/evidence/SI19-ORIG1/run/inspect-unauth.stdout @@ -0,0 +1 @@ +SELECT dataset not authorized status=-13 diff --git a/evidence/SI19-ORIG1/run/inspect-unlisted.rc b/evidence/SI19-ORIG1/run/inspect-unlisted.rc new file mode 100644 index 0000000..69a893a --- /dev/null +++ b/evidence/SI19-ORIG1/run/inspect-unlisted.rc @@ -0,0 +1 @@ +66 diff --git a/evidence/SI19-ORIG1/run/inspect-unlisted.stderr b/evidence/SI19-ORIG1/run/inspect-unlisted.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1/run/inspect-unlisted.stdout b/evidence/SI19-ORIG1/run/inspect-unlisted.stdout new file mode 100644 index 0000000..0d83e22 --- /dev/null +++ b/evidence/SI19-ORIG1/run/inspect-unlisted.stdout @@ -0,0 +1 @@ +SELECT dataset refused status=-2 diff --git a/evidence/SI19-ORIG1/run/inspect-zero.rc b/evidence/SI19-ORIG1/run/inspect-zero.rc new file mode 100644 index 0000000..69a893a --- /dev/null +++ b/evidence/SI19-ORIG1/run/inspect-zero.rc @@ -0,0 +1 @@ +66 diff --git a/evidence/SI19-ORIG1/run/inspect-zero.stderr b/evidence/SI19-ORIG1/run/inspect-zero.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1/run/inspect-zero.stdout b/evidence/SI19-ORIG1/run/inspect-zero.stdout new file mode 100644 index 0000000..0d83e22 --- /dev/null +++ b/evidence/SI19-ORIG1/run/inspect-zero.stdout @@ -0,0 +1 @@ +SELECT dataset refused status=-2 diff --git a/evidence/SI19-ORIG1/run/mutant1.compile.rc b/evidence/SI19-ORIG1/run/mutant1.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1/run/mutant1.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1/run/mutant1.compile.stderr b/evidence/SI19-ORIG1/run/mutant1.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1/run/mutant1.rc b/evidence/SI19-ORIG1/run/mutant1.rc new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/evidence/SI19-ORIG1/run/mutant1.rc @@ -0,0 +1 @@ +1 diff --git a/evidence/SI19-ORIG1/run/mutant1.stderr b/evidence/SI19-ORIG1/run/mutant1.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1/run/mutant1.stdout b/evidence/SI19-ORIG1/run/mutant1.stdout new file mode 100644 index 0000000..e853759 --- /dev/null +++ b/evidence/SI19-ORIG1/run/mutant1.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_FAIL check=10 diff --git a/evidence/SI19-ORIG1/run/mutant2.compile.rc b/evidence/SI19-ORIG1/run/mutant2.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1/run/mutant2.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1/run/mutant2.compile.stderr b/evidence/SI19-ORIG1/run/mutant2.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1/run/mutant2.rc b/evidence/SI19-ORIG1/run/mutant2.rc new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/evidence/SI19-ORIG1/run/mutant2.rc @@ -0,0 +1 @@ +1 diff --git a/evidence/SI19-ORIG1/run/mutant2.stderr b/evidence/SI19-ORIG1/run/mutant2.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1/run/mutant2.stdout b/evidence/SI19-ORIG1/run/mutant2.stdout new file mode 100644 index 0000000..e853759 --- /dev/null +++ b/evidence/SI19-ORIG1/run/mutant2.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_FAIL check=10 diff --git a/evidence/SI19-ORIG1/run/mutant3.compile.rc b/evidence/SI19-ORIG1/run/mutant3.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1/run/mutant3.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1/run/mutant3.compile.stderr b/evidence/SI19-ORIG1/run/mutant3.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1/run/mutant3.rc b/evidence/SI19-ORIG1/run/mutant3.rc new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/evidence/SI19-ORIG1/run/mutant3.rc @@ -0,0 +1 @@ +1 diff --git a/evidence/SI19-ORIG1/run/mutant3.stderr b/evidence/SI19-ORIG1/run/mutant3.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1/run/mutant3.stdout b/evidence/SI19-ORIG1/run/mutant3.stdout new file mode 100644 index 0000000..12f896c --- /dev/null +++ b/evidence/SI19-ORIG1/run/mutant3.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_FAIL check=81 diff --git a/evidence/SI19-ORIG1/run/mutant4.compile.rc b/evidence/SI19-ORIG1/run/mutant4.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1/run/mutant4.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1/run/mutant4.compile.stderr b/evidence/SI19-ORIG1/run/mutant4.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1/run/mutant4.rc b/evidence/SI19-ORIG1/run/mutant4.rc new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/evidence/SI19-ORIG1/run/mutant4.rc @@ -0,0 +1 @@ +1 diff --git a/evidence/SI19-ORIG1/run/mutant4.stderr b/evidence/SI19-ORIG1/run/mutant4.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1/run/mutant4.stdout b/evidence/SI19-ORIG1/run/mutant4.stdout new file mode 100644 index 0000000..6233cba --- /dev/null +++ b/evidence/SI19-ORIG1/run/mutant4.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_FAIL check=67 diff --git a/evidence/SI19-ORIG1/run/mutant5.compile.rc b/evidence/SI19-ORIG1/run/mutant5.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1/run/mutant5.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1/run/mutant5.compile.stderr b/evidence/SI19-ORIG1/run/mutant5.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1/run/mutant5.rc b/evidence/SI19-ORIG1/run/mutant5.rc new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/evidence/SI19-ORIG1/run/mutant5.rc @@ -0,0 +1 @@ +1 diff --git a/evidence/SI19-ORIG1/run/mutant5.stderr b/evidence/SI19-ORIG1/run/mutant5.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1/run/mutant5.stdout b/evidence/SI19-ORIG1/run/mutant5.stdout new file mode 100644 index 0000000..60fbe8e --- /dev/null +++ b/evidence/SI19-ORIG1/run/mutant5.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_FAIL check=1448 diff --git a/evidence/SI19-ORIG1/run/mutant6.compile.rc b/evidence/SI19-ORIG1/run/mutant6.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1/run/mutant6.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1/run/mutant6.compile.stderr b/evidence/SI19-ORIG1/run/mutant6.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1/run/mutant6.rc b/evidence/SI19-ORIG1/run/mutant6.rc new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/evidence/SI19-ORIG1/run/mutant6.rc @@ -0,0 +1 @@ +1 diff --git a/evidence/SI19-ORIG1/run/mutant6.stderr b/evidence/SI19-ORIG1/run/mutant6.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1/run/mutant6.stdout b/evidence/SI19-ORIG1/run/mutant6.stdout new file mode 100644 index 0000000..3f7ee74 --- /dev/null +++ b/evidence/SI19-ORIG1/run/mutant6.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_FAIL check=1461 diff --git a/evidence/SI19-ORIG1/run/omexp-test-r6.compile.rc b/evidence/SI19-ORIG1/run/omexp-test-r6.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1/run/omexp-test-r6.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1/run/omexp-test-r6.compile.stderr b/evidence/SI19-ORIG1/run/omexp-test-r6.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1/run/omexp-test-r6.rc b/evidence/SI19-ORIG1/run/omexp-test-r6.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1/run/omexp-test-r6.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1/run/omexp-test-r6.stderr b/evidence/SI19-ORIG1/run/omexp-test-r6.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1/run/omexp-test-r6.stdout b/evidence/SI19-ORIG1/run/omexp-test-r6.stdout new file mode 100644 index 0000000..6189bc2 --- /dev/null +++ b/evidence/SI19-ORIG1/run/omexp-test-r6.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_PASS checks=1497 diff --git a/evidence/SI19-ORIG1/run/omexp-test.compile.rc b/evidence/SI19-ORIG1/run/omexp-test.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1/run/omexp-test.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1/run/omexp-test.compile.stderr b/evidence/SI19-ORIG1/run/omexp-test.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1/run/omexp-test.rc b/evidence/SI19-ORIG1/run/omexp-test.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1/run/omexp-test.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1/run/omexp-test.stderr b/evidence/SI19-ORIG1/run/omexp-test.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1/run/omexp-test.stdout b/evidence/SI19-ORIG1/run/omexp-test.stdout new file mode 100644 index 0000000..6189bc2 --- /dev/null +++ b/evidence/SI19-ORIG1/run/omexp-test.stdout @@ -0,0 +1 @@ +SI19_OMEXP_TEST_PASS checks=1497 diff --git a/evidence/SI19-ORIG1/run/omexp.compile.rc b/evidence/SI19-ORIG1/run/omexp.compile.rc new file mode 100644 index 0000000..573541a --- /dev/null +++ b/evidence/SI19-ORIG1/run/omexp.compile.rc @@ -0,0 +1 @@ +0 diff --git a/evidence/SI19-ORIG1/run/omexp.compile.stderr b/evidence/SI19-ORIG1/run/omexp.compile.stderr new file mode 100644 index 0000000..e69de29 diff --git a/evidence/SI19-ORIG1/run/raw.sha256 b/evidence/SI19-ORIG1/run/raw.sha256 new file mode 100644 index 0000000..b07ed7f --- /dev/null +++ b/evidence/SI19-ORIG1/run/raw.sha256 @@ -0,0 +1,49 @@ +2c618bf3218aaba84b066b123dffe7e85f5580fbb613e0bb6cc2cacb8d8c3ecf gen-fixture-7-780.stdout +0b9c714f8d07c4e6aac4ddd18e025b51fdb0241f265947a7b0b391f30a20e0c5 inspect-fixture.stdout +01570d57997450513eb2a15819bc185bbfa7444380ee8ba28dd4bce2a3b2d1b0 inspect-forged.stdout +57153e57e461426ae647ef53247bfd6511956e4b0662437f89a4fec8b18abeb5 inspect-owner.stdout +85526a188ef465a5a8127be983f4647e748379921b66a776ed8ad0d1f7b8bf56 inspect-unauth.stdout +6d31e2563ee6c3b938c33cbcb0eff63caef49c94e9f939ad4d3f5ed82e186da1 inspect-unlisted.stdout +6d31e2563ee6c3b938c33cbcb0eff63caef49c94e9f939ad4d3f5ed82e186da1 inspect-zero.stdout +35b51a18419b285580d1d96d3900ed1a13c688b171264b9564359df5983025cc mutant1.stdout +35b51a18419b285580d1d96d3900ed1a13c688b171264b9564359df5983025cc mutant2.stdout +505f093c868127f8b04478590cadc146208ae8d74e346b052a790e7f18f25415 mutant3.stdout +05c6035930154a5ab0e406d004a6545d266a274ca9ca7385fedcc60dad006e9f mutant4.stdout +c3ef90c15337b853ff4f83e8b55a877dcc07d8b918ede3856d7185458ef4a0c3 mutant5.stdout +df888a1eb88efaaea4c76fd1ede5f9b1610ac11d032d3a12bc305d6319e7c2ae mutant6.stdout +1688d8ea07b59a0402251d7bd6c363323122d47968793c30a3943b9ef286e14d omexp-test-r6.stdout +1688d8ea07b59a0402251d7bd6c363323122d47968793c30a3943b9ef286e14d omexp-test.stdout +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa gen-fixture-7-780.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa inspect-fixture.rc +8e37bed9dff3949ffd23ae638260dff869f5cc26e551f2a9e5e289a8888949fa inspect-forged.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa inspect-owner.rc +7f3d905fd916ac40ded4007bbe76e90633bb99a856b7bf512eaf5ae1e91f6ca7 inspect-unauth.rc +8e37bed9dff3949ffd23ae638260dff869f5cc26e551f2a9e5e289a8888949fa inspect-unlisted.rc +8e37bed9dff3949ffd23ae638260dff869f5cc26e551f2a9e5e289a8888949fa inspect-zero.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa mutant1.compile.rc +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 mutant1.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa mutant2.compile.rc +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 mutant2.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa mutant3.compile.rc +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 mutant3.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa mutant4.compile.rc +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 mutant4.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa mutant5.compile.rc +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 mutant5.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa mutant6.compile.rc +4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865 mutant6.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa omexp-test-r6.compile.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa omexp-test-r6.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa omexp-test.compile.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa omexp-test.rc +9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa omexp.compile.rc +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 mutant1.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 mutant2.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 mutant3.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 mutant4.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 mutant5.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 mutant6.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 omexp-test-r6.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 omexp-test.compile.stderr +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 omexp.compile.stderr +2d9047e59e6b3fbd583b1d3f29057d9bcfd639322335b377967d8b0793af6e97 deps-check.txt diff --git a/evidence/SI19-ORIG1/run/summary.txt b/evidence/SI19-ORIG1/run/summary.txt new file mode 100644 index 0000000..a10d811 --- /dev/null +++ b/evidence/SI19-ORIG1/run/summary.txt @@ -0,0 +1,60 @@ +build_dir=/tmp/si19orig1.OlTXQH +source_commit=09e5228b48405bc10dc5bd067a9600c332742790 +host=Linux 7.0.0-1019-nvidia aarch64 +compiler_sha256=191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9 +r6_compiler_sha256=734f0a39319fbfa930bcc62cb30dbf06d47d78e126372b74f5baf478e6126b61 compile_rc=0 +omexp-test rc=0 wall_ms=3 SI19_OMEXP_TEST_PASS checks=1497 +omexp-test-r6 rc=0 SI19_OMEXP_TEST_PASS checks=1497 +gen-fixture-7-780 rc=0 fixture_bytes=199680 data_fnv=626048380840256264 +inspect-fixture rc=0 wall_ms=17 +status=0 +allow=2 +records=780 +data_fnv=626048380840256264 +family_0=156 +family_1=156 +family_2=156 +family_3=156 +family_4=156 +static_core0=4 +static_core1=0 +part=0 core=0 n=78 oracle=64469577 rule=98643394 reference=107028887 static=64824398 retrieval=64469577 rule_top1=18 retrieval_top1=78 +part=0 core=1 n=78 oracle=108533338 rule=171655787 reference=109168015 static=109168015 retrieval=108533338 rule_top1=30 retrieval_top1=78 +part=1 core=0 n=78 oracle=31977500 rule=49913808 reference=53562569 static=31977500 retrieval=31977500 rule_top1=0 retrieval_top1=78 +part=1 core=1 n=78 oracle=52908705 rule=86333033 reference=53150444 static=53150444 retrieval=53082784 rule_top1=28 retrieval_top1=64 +part=2 core=0 n=234 oracle=9181328 rule=15369162 reference=15124099 static=9324285 retrieval=9181328 rule_top1=34 retrieval_top1=234 +part=2 core=1 n=234 oracle=14885054 rule=23482580 reference=15202497 static=15202497 retrieval=15030358 rule_top1=86 retrieval_top1=165 +inspect-zero rc=66 wall_ms=4 +inspect-unlisted rc=66 wall_ms=4 +inspect-forged rc=66 wall_ms=3 +inspect-unauth rc=67 wall_ms=6 +SELECT dataset refused status=-2 +SELECT dataset refused status=-2 +SELECT dataset refused status=-7 +SELECT dataset not authorized status=-13 +owner_records=/home/drakestapleton/.local/state/aien-train/orig1/records-20261025T034737Z.bin sha256=403156f5ca34479715d2f96fabcbd11b9cab3fd4668e9dd3a41a6eb89b128d37 bytes=188928 +inspect-owner rc=0 wall_ms=12 +status=0 +allow=1 +records=738 +data_fnv=16622604375676129865 +family_0=308 +family_1=70 +family_2=120 +family_3=120 +family_4=120 +static_core0=4 +static_core1=4 +part=0 core=0 n=154 oracle=598629162 rule=1046547680 reference=1004717635 static=600874751 retrieval=598629172 rule_top1=5 retrieval_top1=153 +part=0 core=1 n=154 oracle=1333277451 rule=2417876895 reference=1413657028 static=1349748707 retrieval=1333463280 rule_top1=0 retrieval_top1=153 +part=1 core=0 n=35 oracle=114072181 rule=203790073 reference=195903796 static=114072181 retrieval=114072181 rule_top1=0 retrieval_top1=35 +part=1 core=1 n=35 oracle=258287978 rule=471627146 reference=275273405 static=260695885 retrieval=263706928 rule_top1=0 retrieval_top1=27 +part=2 core=0 n=180 oracle=1962560697 rule=3059664398 reference=2973421931 static=1971954321 retrieval=1962695471 rule_top1=0 retrieval_top1=176 +part=2 core=1 n=180 oracle=3233131109 rule=4677941058 reference=3530152424 static=3277482059 retrieval=3246320510 rule_top1=0 retrieval_top1=144 +mutant1 omexp.om rc=1 SI19_OMEXP_TEST_FAIL check=10 :: if ne oxword r 31 1 +mutant2 omexp.om rc=1 SI19_OMEXP_TEST_FAIL check=10 :: if ne oxword r add 24 a 0 +mutant3 omexp.om rc=1 SI19_OMEXP_TEST_FAIL check=81 :: ret 0 +mutant4 omexp.om rc=1 SI19_OMEXP_TEST_FAIL check=67 :: if lt oxseq r oxseq sub r 1 +mutant5 omexp.om rc=1 SI19_OMEXP_TEST_FAIL check=1448 :: if and eq b 82 eq k 8 +mutant6 omexp.om rc=1 SI19_OMEXP_TEST_FAIL check=1461 :: put XF 3 long shr mul lm lm 8 +SI19_ORIG1_RUN_PASS diff --git a/native/si19/omexp.om b/native/si19/omexp.om new file mode 100644 index 0000000..829b9f5 --- /dev/null +++ b/native/si19/omexp.om @@ -0,0 +1,797 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note aien-train#24 ORIG-1: omexp-v1 experience records of the Omega matvec realization +note chooser (docs/si19/ORIG1-CONTRACT.md). Reader, admission checks, typed features, +note partitions and the deterministic baselines. No training here; no execution authority. +note RB raw record bytes (at most 2048 records of 256 bytes); RW decoded words, record r +note word i at r*32+i; RC: 0 records admitted, 1 bytes, 2 FNV-1a 64 of the bytes, 3 last +note status, 4..8 records per family 0..4; XF the 12 state features of the last oxfeat +note call in 1/16 units; LB the allow-list text (hashes with AUTHORIZED/SYNTHETIC/REVOKED). +note v2 admission (docs/si19/ORIG1-CONTRACT-v2.md, oxadm2): RC[9] = 1, RA per-record code +note (0 admitted, negative reason), RS per-record split (0 TRAIN, 1 VALIDATION, 2 HELD-OUT, +note 3 refused), RQ refusal counts by reason (RQ[0] admitted, RQ[k] reason -k). AU: audit. +global RB uchar 524288 +global RW ulong 65536 +global RC ulong 16 +global XF long 12 +global LB uchar 4100 +global RA long 2048 +global RS uchar 2048 +global RQ ulong 32 +global AU ulong 32 + +fn oxlg16 v ulong to ulong +note floor(log2 v)*16 plus a truncated 4-bit fraction; 0 for v = 0. +if eq v 0 +ret 0 +end +e = ulong 0 +q = v +while gt q 1 bound 64 +q = shr q 1 +e = add e 1 +end +ret sub add shr shl v 4 e mul 16 e 16 +end + +fn oxget pos ulong to ulong +v = ulong 0 +for i ulong 8 +v = or v shl ulong get RB add pos i mul i 8 +end +ret v +end + +fn oxword r ulong i ulong to ulong +ret get RW add mul r 32 i +end + +fn oxfam r ulong to ulong +ret oxword r 2 +end + +fn oxcore r ulong to ulong +ret oxword r 3 +end + +fn oxpress r ulong to ulong +ret oxword r 4 +end + +fn oxm r ulong to ulong +ret oxword r 5 +end + +fn oxn r ulong to ulong +ret oxword r 6 +end + +fn oxseq r ulong to ulong +ret oxword r 14 +end + +fn oxpart r ulong to ulong +note v1: family 0 TRAIN, 1 DEV, 2..4 TEST. v2 (RC[9] = 1): the record's workload-family +note split from oxadm2, 3 for a refused record (never in any partition). +if eq get RC 9 1 +ret ulong get RS r +end +f = oxfam r +if gt f 1 +ret 2 +end +ret f +end + +fn oxcache core ulong to ulong +note Last private cache per core class (contract s.1). +if eq core 0 +ret 2097152 +end +if eq core 1 +ret 524288 +end +ret 1048576 +end + +fn oxchk1 r ulong to int +note Header, enumerations, shape and profile words of one record. +if ne oxword r 0 3553143591248351811 +ret -2 +end +if ne oxword r 1 1 +ret -2 +end +if or gt oxfam r 4 gt oxcore r 2 +ret -3 +end +k = oxword r 13 +if or gt oxpress r 15 or eq k 0 gt k 8 +ret -3 +end +m = oxm r +n = oxn r +if or or eq m 0 gt m 8192 or eq n 0 gt n 8192 +ret -4 +end +if eq oxword r 7 0 +ret -4 +end +if ne oxword r 10 oxcache oxcore r +ret -9 +end +if ne oxword r 9 mul add add mul m n m n 8 +ret -9 +end +ret 0 +end + +fn oxchk2 r ulong to int +note Eligible mask, measurements, verified flags and the mismatch word. +k = oxword r 13 +e = oxword r 12 +if eq and e 1 0 +ret -5 +end +if ge e shl 1 k +ret -5 +end +for a ulong k +if ne and shr e a 1 0 +if eq oxword r add 16 a 0 +ret -6 +end +if ne oxword r add 24 a 1 +ret -6 +end +end +end +if ne oxword r 31 0 +ret -7 +end +ret 0 +end + +fn oxleak n ulong to int +note A TEST-H1 shape key present in TRAIN or DEV is held-out contamination. +for r ulong n +if eq oxfam r 2 +for q ulong n +if lt oxfam q 2 +if and eq oxm q oxm r eq oxn q oxn r +ret -11 +end +end +end +end +end +ret 0 +end + +fn oxfnv n ulong to ulong +note FNV-1a 64 over RB[0..n): the dataset identity for the allow-list and lineage. +h = ulong 14695981039346656037 +for i ulong n +h = mul xor h ulong get RB i 1099511628211 +end +ret h +end + +fn oxload n ulong to int +note Decode and admit RB[0..n). Nothing is admitted on refusal. +put RC 0 0 +put RC 3 0 +put RC 9 0 +if or eq n 0 or ne rem n 256 0 gt n 524288 +put RC 3 wsenc -1 +ret -1 +end +c = div n 256 +for r ulong c +for i ulong 32 +put RW add mul r 32 i oxget add mul r 256 mul i 8 +end +end +for r ulong c +s = oxchk1 r +if ge s 0 +s = oxchk2 r +end +if lt s 0 +put RC 3 wsenc long s +ret s +end +if gt r 0 +if le oxseq r oxseq sub r 1 +put RC 3 wsenc -8 +ret -8 +end +end +end +s = oxleak c +if lt s 0 +put RC 3 wsenc long s +ret s +end +for f ulong 5 +put RC add 4 f 0 +end +for r ulong c +f = add 4 oxfam r +put RC f add get RC f 1 +end +put RC 0 c +put RC 1 n +put RC 2 oxfnv n +ret 0 +end + +fn oxdigit p ulong to bool +b = get LB p +ret and ge b 48 le b 57 +end + +fn oxline p ulong n ulong to ulong +note Position after the end of the line that starts at p. +while lt p n bound 4096 +if eq get LB p 10 +ret add p 1 +end +p = add p 1 +end +ret n +end + +fn oxstatus p ulong n ulong to int +note The status token at p: first letter and length decide; -13 when malformed. +q = p +go = true +while and go lt q n bound 4096 +b = get LB q +if or eq b 32 eq b 10 +go = false +else +q = add q 1 +end +end +k = sub q p +b = get LB p +if and eq b 65 eq k 10 +ret 1 +end +if and eq b 83 eq k 9 +ret 2 +end +if and eq b 82 eq k 7 +ret -12 +end +ret -13 +end + +fn oxallow n ulong h ulong to int +note Lines "<decimal fnv> <AUTHORIZED|SYNTHETIC|REVOKED> <label>". 1 authorized owner +note data, 2 synthetic fixture, -12 revoked, -13 absent or malformed. +p = ulong 0 +while lt p n bound 4096 +v = ulong 0 +q = p +d = ulong 0 +while and lt q n oxdigit q bound 24 +v = add mul v 10 sub ulong get LB q 48 +q = add q 1 +d = add d 1 +end +if and gt d 0 eq v h +if and lt q n eq get LB q 32 +ret oxstatus add q 1 n +end +ret -13 +end +p = oxline p n +end +ret -13 +end + +fn oxcand r ulong a ulong to bool +note Admissible: eligible bit, a measurement and a verified flag. +if ge a oxword r 13 +ret false +end +if eq and shr oxword r 12 a 1 0 +ret false +end +if eq oxword r add 16 a 0 +ret false +end +ret eq oxword r add 24 a 1 +end + +fn oxcost r ulong a ulong to ulong +ret oxword r add 16 a +end + +fn oxt16 r ulong a ulong to long +ret sub long oxlg16 oxcost r a long oxlg16 oxcost r 0 +end + +fn oxflag v bool to long +if v +ret 16 +end +ret 0 +end + +fn oxfeat r ulong to void +note The frozen state vector (contract s.3), 1/16 units. +m = oxm r +n = oxn r +lm = oxlg16 m +ln = oxlg16 n +put XF 0 16 +put XF 1 long lm +put XF 2 long ln +put XF 3 long shr mul lm ln 8 +put XF 4 long shr mul ln ln 8 +put XF 5 oxflag le n 3 +put XF 6 oxflag ne rem n 4 0 +d = sub long oxlg16 oxword r 9 long oxlg16 oxword r 10 +if lt d 0 +d = 0 +end +if gt d 256 +d = 256 +end +put XF 7 d +c = oxcore r +put XF 8 oxflag eq c 0 +put XF 9 oxflag eq c 1 +put XF 10 oxflag eq c 2 +p = oxpress r +if gt p 15 +p = 15 +end +put XF 11 mul 16 long p +end + +fn oxbest r ulong to ulong +note The cheapest admissible arm, lowest index on a tie (analysis bound). +b = ulong 0 +k = oxword r 13 +for a ulong k +if oxcand r a +if lt oxcost r a oxcost r b +b = a +end +end +end +ret b +end + +fn oxrule r ulong to ulong +note The incumbent fixed rule: unroll2 when N <= 8, else unroll4_dual; reference if not admissible. +a = ulong 3 +if le oxn r 8 +a = 2 +end +if oxcand r a +ret a +end +ret 0 +end + +fn oxnearok q ulong c ulong p ulong to bool +note A retrieval neighbour: TRAIN, same core class; in v2 also the same pressure bucket. +if or ne oxpart q 0 ne oxcore q c +ret false +end +if eq get RC 9 1 +ret eq oxpress q p +end +ret true +end + +fn oxl1 q ulong lm long ln long to long +note L1 distance of record q to (lm, ln) in lg16 units. +ret add wsabs sub lm long oxlg16 oxm q wsabs sub ln long oxlg16 oxn q +end + +fn oxnear r ulong to ulong +note Nearest TRAIN record of the same core class by L1 on (lg16 M, lg16 N); lowest index tie. +note v2 also requires the same pressure bucket (oxnearok). +c = oxcore r +p = oxpress r +lm = long oxlg16 oxm r +ln = long oxlg16 oxn r +b = ulong 1048576 +bd = long 1099511627776 +for q ulong get RC 0 +if oxnearok q c p +d = oxl1 q lm ln +if lt d bd +bd = d +b = q +end +end +end +ret b +end + +fn oxstatic core ulong to ulong +note The single arm with the lowest total TRAIN cost on that core class, lowest index tie; +note an arm missing from any such record is not a candidate. +t = new ulong 8 0 +k = new ulong 8 0 +c = ulong 0 +for q ulong get RC 0 +if and eq oxpart q 0 eq oxcore q core +c = add c 1 +for a ulong 8 +if oxcand q a +put t a add get t a oxcost q a +put k a add get k a 1 +end +end +end +end +b = ulong 0 +for a ulong 8 +if eq get k a c +if lt get t a get t b +b = a +end +end +end +ret b +end + +fn oxfl v ulong to ulong +note floor(log2 v) for v >= 1: the workload-family coordinate. +e = ulong 0 +q = v +while gt q 1 bound 64 +q = shr q 1 +e = add e 1 +end +ret e +end + +fn oxcell r ulong to ulong +note Workload family (shape lineage) of record r: 16 floor(log2 M) + floor(log2 N). +ret add mul oxfl oxm r 16 oxfl oxn r +end + +fn oxhspl cm ulong cn ulong to ulong +note Frozen split of the family (cm, cn): h = FNV-1a 64 over the two bytes cm, cn; +note k = (h >> 32) mod 10; 0..5 TRAIN, 6..7 VALIDATION, 8..9 HELD-OUT. +h = ulong 14695981039346656037 +h = mul xor h cm 1099511628211 +h = mul xor h cn 1099511628211 +k = rem shr h 32 10 +if le k 5 +ret 0 +end +if le k 7 +ret 1 +end +ret 2 +end + +fn oxspl r ulong to ulong +ret oxhspl oxfl oxm r oxfl oxn r +end + +fn oxfmt2 r ulong to int +note v2 format, supported enumerations, shape range and profile of one record. +if ne oxword r 0 3553143591248351811 +ret -2 +end +if ne oxword r 1 1 +ret -2 +end +if or gt oxfam r 5 gt oxcore r 1 +ret -3 +end +if or gt oxpress r 1 ne oxword r 13 6 +ret -3 +end +m = oxm r +n = oxn r +if or or eq m 0 gt m 8192 or eq n 0 gt n 8192 +ret -4 +end +if gt mul m n 524288 +ret -4 +end +k = oxword r 7 +if or eq k 0 gt k 1048576 +ret -4 +end +if ne oxword r 10 oxcache oxcore r +ret -9 +end +if ne oxword r 9 mul add add mul m n m n 8 +ret -9 +end +ret 0 +end + +fn oxpair2 r ulong to bool +note The complete arm set of the profile for this state: arms 0..4 eligible, measured and +note verified; arm 5 (planted) neither eligible, measured nor verified; arms 6, 7 absent. +if ne oxword r 12 31 +ret false +end +for a ulong 5 +if or eq oxword r add 16 a 0 ne oxword r add 24 a 1 +ret false +end +end +if or ne oxword r 21 0 ne oxword r 29 0 +ret false +end +ret and eq oxword r 22 0 eq oxword r 23 0 +end + +fn oxval2 r ulong to int +note Pairing (-14), measurement range (-10: ps per call 1..2^40-1, the integer record's +note analogue of a non-finite value) and the mismatch word (-7). +if not oxpair2 r +ret -14 +end +for a ulong 5 +if ge oxword r add 16 a 1099511627776 +ret -10 +end +end +if gt oxword r 31 0 +ret -7 +end +ret 0 +end + +fn oxsame q ulong r ulong to bool +note Same decision state key: core class, pressure bucket, M and N. +if or ne oxm q oxm r ne oxn q oxn r +ret false +end +ret and eq oxcore q oxcore r eq oxpress q oxpress r +end + +fn oxdup2 r ulong to bool +note An earlier admitted record has the same state key (duplicate state, every arm). +d = false +for q ulong r +if eq get RA q 0 +if oxsame q r +d = true +end +end +end +ret d +end + +fn oxrec2 r ulong to int +note v2 reason for record r, first failing check: -2 format, -3 unsupported enumeration, +note -4 shape, -9 profile, -14 unpaired, -10 out of range, -7 unverified, -8 sequence not +note increasing, -15 duplicate state; 0 admitted. +s = oxfmt2 r +if ne s 0 +ret s +end +s = oxval2 r +if ne s 0 +ret s +end +if gt r 0 +if ge oxseq sub r 1 oxseq r +ret -8 +end +end +if oxdup2 r +ret -15 +end +ret 0 +end + +fn oxconf q ulong r ulong to bool +note Two admitted records that share a workload family or a shape but not a split. +if eq get RS q get RS r +ret false +end +if eq oxcell q oxcell r +ret true +end +ret and eq oxm q oxm r eq oxn q oxn r +end + +fn oxdisj c ulong to int +note Workload-disjoint split check over admitted records: -11 on any conflict. +for r ulong c +if lt get RS r 3 +for q ulong r +if lt get RS q 3 +if oxconf q r +ret int -11 +end +end +end +end +end +ret 0 +end + +fn oxdec n ulong to ulong +note Decode RB[0..n) into RW without any check; returns the record count. +c = div n 256 +for r ulong c +for i ulong 32 +put RW add mul r 32 i oxget add mul r 256 mul i 8 +end +end +ret c +end + +fn oxtally c ulong to void +note Per-record reasons into RA and RQ, splits into RS, admitted per split into RC[4..6]. +for r ulong c +s = oxrec2 r +put RA r long s +k = ulong neg long s +put RQ k add get RQ k 1 +put RS r 3 +if eq s 0 +p = oxspl r +put RS r uchar p +put RC add 4 p add get RC add 4 p 1 +end +end +end + +fn oxadm2 n ulong to int +note v2 admission of RB[0..n): whole-file size refusal (-1) or disjointness failure (-11) +note admits nothing; otherwise every record is admitted or refused with a counted reason. +put RC 0 0 +put RC 3 0 +put RC 9 0 +for i ulong 32 +put RQ i 0 +end +for i ulong 16 +put RC i 0 +end +if or eq n 0 or ne rem n 256 0 gt n 524288 +put RC 3 wsenc -1 +ret -1 +end +c = oxdec n +put RC 9 1 +oxtally c +s = oxdisj c +if lt s 0 +put RC 9 0 +put RC 3 wsenc long s +ret s +end +put RC 0 c +put RC 1 n +put RC 2 oxfnv n +put RC 10 get RQ 0 +ret 0 +end + +fn oxwkey q ulong r ulong to bool +note Same workload: core class, M, N and the job seed (operands are regenerated from it). +if or ne oxm q oxm r ne oxn q oxn r +ret false +end +ret and eq oxcore q oxcore r eq oxword q 8 oxword r 8 +end + +fn oxfirst r ulong a0 ulong a1 ulong to ulong +note First record q in [a0, a1) with the workload of r; 1048576 when none. +b = ulong 1048576 +q = a1 +while gt q a0 bound 4096 +q = sub q 1 +if oxwkey q r +b = q +end +end +ret b +end + +fn oxfirsts r ulong a0 ulong a1 ulong to ulong +note First record q in [a0, a1) with the state key of r (oxsame); 1048576 when none. +b = ulong 1048576 +q = a1 +while gt q a0 bound 4096 +q = sub q 1 +if oxsame q r +b = q +end +end +ret b +end + +fn oxauinc k ulong to void +put AU k add get AU k 1 +end + +fn oxaub r ulong na ulong to void +note Audit of one record r of file B against file A = records [0, na). +f = oxfam r +if gt f 1 +oxauinc 12 +end +q = oxfirst r 0 na +if lt q 1048576 +oxauinc 0 +oxauinc add 1 f +if eq oxbest q oxbest r +oxauinc 6 +end +end +if lt oxfirsts r 0 na 1048576 +oxauinc 7 +end +end + +fn oxtrcell r ulong na ulong to bool +note A TRAIN (family 0) record of file A, same core class, in the workload family of r. +h = false +for q ulong na +if and eq oxfam q 0 eq oxcore q oxcore r +if eq oxcell q oxcell r +h = true +end +end +end +ret h +end + +fn oxxfam r ulong na ulong to bool +note The workload of r also occurs in file A under another family word. +h = false +for q ulong na +if ne oxfam q oxfam r +if oxwkey q r +h = true +end +end +end +ret h +end + +fn oxaua r ulong na ulong to void +note Audit of one record r of file A against itself. +if lt oxfirsts r 0 r 1048576 +oxauinc 8 +end +if oxxfam r na +oxauinc 9 +end +f = oxfam r +if or eq f 2 eq f 3 +oxauinc 11 +if oxtrcell r na +oxauinc 10 +end +end +end + +fn oxaudit na ulong nb ulong to void +note Leakage audit of two decoded files, A = records [0, na), B = [na, na + nb). AU: 0 B +note workloads present in A, 1..5 by B family 0..4, 6 of those with the same oracle arm, +note 7 B state keys present in A, 8 A duplicate state keys, 9 A workloads under two family +note words, 10 A TEST (families 2, 3) records whose workload family holds an A TRAIN record +note of the same core class, 11 A records of families 2, 3, 12 B records of families 2..4 +note (the v1 TEST partition). +for i ulong 32 +put AU i 0 +end +for r ulong na +oxaua r na +end +for k ulong nb +oxaub add na k na +end +end diff --git a/native/si19/omexpfix.om b/native/si19/omexpfix.om new file mode 100644 index 0000000..04e8fab --- /dev/null +++ b/native/si19/omexpfix.om @@ -0,0 +1,217 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note aien-train#24 ORIG-1 FIXTURE: a seeded, resettable SYNTHETIC omexp-v1 record file for +note tests and fixture runs. Costs come from a planted rule (which arm wins depends on core +note class and N together) plus bounded noise; no model, teacher or measurement produces +note them. Fixture evidence is never mixed with real-record evidence. +note SG is not used here; the generator state is SXR. Families: 0 TRAIN grid, 1 DEV grid, +note 2 H1 (prime shapes absent from both grids), 3 H2 (prime M, thin N), 4 H3 = H1 shapes +note with pressure 1. Cores alternate 0 and 1. +global SXR ulong 2 +global SXM ulong 13 +global SXN ulong 13 +global SXV ulong 7 +global SXW ulong 7 +global SXP ulong 22 + +fn sxrand to ulong +x = get SXR 0 +x = rem add mul x 1664525 1013904223 4294967296 +put SXR 0 x +ret shr x 8 +end + +fn sxput pos ulong v ulong to void +for i ulong 8 +put RB add pos i uchar and shr v mul i 8 255 +end +end + +fn sxtable to void +note The consumer's grids and the primes used for the held-out families. +put SXM 0 1 +put SXM 1 4 +put SXM 2 16 +put SXM 3 64 +put SXM 4 256 +put SXM 5 1024 +put SXN 0 1 +put SXN 1 2 +put SXN 2 3 +put SXN 3 5 +put SXN 4 8 +put SXN 5 12 +put SXN 6 16 +put SXN 7 33 +put SXN 8 64 +put SXN 9 100 +put SXN 10 256 +put SXN 11 512 +put SXN 12 1024 +put SXV 0 2 +put SXV 1 8 +put SXV 2 32 +put SXV 3 128 +put SXV 4 512 +put SXW 0 4 +put SXW 1 6 +put SXW 2 10 +put SXW 3 24 +put SXW 4 48 +put SXW 5 200 +put SXW 6 700 +put SXP 0 7 +put SXP 1 11 +put SXP 2 13 +put SXP 3 17 +put SXP 4 19 +put SXP 5 23 +put SXP 6 29 +put SXP 7 31 +put SXP 8 37 +put SXP 9 41 +put SXP 10 43 +put SXP 11 47 +put SXP 12 53 +put SXP 13 59 +put SXP 14 61 +put SXP 15 67 +put SXP 16 71 +put SXP 17 73 +put SXP 18 79 +put SXP 19 83 +put SXP 20 89 +put SXP 21 97 +end + +fn sxpct base ulong pct ulong to ulong +ret div mul base pct 100 +end + +fn sxcost core ulong n ulong a ulong base ulong to ulong +note Planted cost of arm a: the winner depends on core and N together. +if eq a 1 +ret sxpct base 150 +end +if eq a 2 +if le n 8 +ret sxpct base 70 +end +ret sxpct base 130 +end +if eq a 3 +if eq core 1 +ret sxpct base 160 +end +if ge n 64 +ret sxpct base 90 +end +ret sxpct base 120 +end +if eq a 4 +if and eq core 0 ge n 4 +ret sxpct base 60 +end +if le n 3 +ret sxpct base 140 +end +ret sxpct base 105 +end +ret base +end + +fn sxshape fam ulong k ulong to void +note Shape of the k-th record of a family into SXR[1] (M) and the return path via SXV[5], SXV[6]. +if eq fam 0 +put SXV 5 get SXM rem k 6 +put SXV 6 get SXN rem div k 6 13 +end +if eq fam 1 +put SXV 5 get SXV rem k 5 +put SXV 6 get SXW rem div k 5 7 +end +if or eq fam 2 eq fam 4 +put SXV 5 get SXP rem k 22 +put SXV 6 get SXP rem add mul k 7 3 22 +end +if eq fam 3 +put SXV 5 get SXP rem mul k 5 22 +put SXV 6 add 1 rem k 7 +end +end + +fn sxnoise c ulong to ulong +ret add c div mul c rem sxrand 11 100 +end + +fn sxarms p ulong core ulong n ulong base ulong to void +for a ulong 5 +c = sxnoise sxcost core n a base +sxput add p mul 8 add 16 a c +sxput add p mul 8 add 24 a 1 +end +end + +fn sxbase m ulong n ulong pr ulong core ulong to ulong +base = add 1000 mul 37 add add mul m n m n +if eq pr 1 +if gt mul add add mul m n m n 8 oxcache core +base = mul base 2 +end +end +ret base +end + +fn sxhead r ulong fam ulong core ulong to void +p = mul r 256 +sxput p 3553143591248351811 +sxput add p 8 1 +sxput add p 16 fam +sxput add p 24 core +pr = ulong 0 +if eq fam 4 +pr = 1 +end +sxput add p 32 pr +sxput add p 80 oxcache core +sxput add p 88 40 +sxput add p 96 31 +sxput add p 104 6 +sxput add p 112 r +sxput add p 120 mul r 1000003 +sxput add p 240 add 11630680811171433263 r +sxput add p 248 0 +sxput add p 168 0 +sxput add p 176 0 +sxput add p 184 0 +sxput add p 232 0 +end + +fn sxrecord r ulong fam ulong core ulong to void +note Writes record r of the given family and core class into RB. +sxshape fam div r 10 +m = get SXV 5 +n = get SXV 6 +p = mul r 256 +sxhead r fam core +sxput add p 40 m +sxput add p 48 n +sxput add p 56 add 3 div 600000 add mul m n 64 +sxput add p 64 add 77 r +sxput add p 72 mul add add mul m n m n 8 +pr = ulong 0 +if eq fam 4 +pr = 1 +end +sxarms p core n sxbase m n pr core +end + +fn sxgen seed ulong nrec ulong to ulong +note nrec SYNTHETIC records into RB; returns the byte count. Record r: family r rem 5 cycles +note through the families, core alternates with r/5, shape index r/10. +sxtable +put SXR 0 seed +for r ulong nrec +sxrecord r rem r 5 rem div r 5 2 +end +ret mul nrec 256 +end diff --git a/native/si19/omexpmain.om b/native/si19/omexpmain.om new file mode 100644 index 0000000..de8e685 --- /dev/null +++ b/native/si19/omexpmain.om @@ -0,0 +1,447 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note aien-train#24 ORIG-1 driver. stdin: one mode byte, then the allow-list (4096 bytes), +note then omexp-v1 records to end of input. Mode I: admit the file and print the +note dataset identity, family counts and the deterministic baselines per partition and +note core class (contract s.7). Mode G: generate the SYNTHETIC fixture (seed, count from +note the next 16 bytes) to fd 3 and print its identity. No training, no model here. +note Mode V (ORIG1-CONTRACT-v2.md): allow-list, records; v2 admission (oxadm2), refusal +note counts by reason, admitted records and workload families per split and core class. +note Mode A (leakage audit, no admission, local analysis only): 8 bytes na, then file A +note (na records) and file B to end of input; prints the oxaudit counters. +note Mode S: the frozen v2 split of every workload family (fm, fn), 0 <= fm, fn <= 13 and +note fm + fn <= 19 (M, N <= 8192, M N <= 2^19): one line "fm fn split" each. +note Exit: 64 bad mode, 66 dataset refused, 67 unauthorized or revoked, 74 I/O. +global OM uchar 1 +global OB uchar 16 +global OE ulong 16 +text OKV "status=" +text OREC "records=" +text OFNV "data_fnv=" +text OALW "allow=" +text OFAM "family_" +text OSTA "static_core" +text OPT "part=" +text OCO " core=" +text OSEP " " +text OEQ "=" +text ONL2 "\n" +text ONM0 "n" +text ONM1 "oracle" +text ONM2 "rule" +text ONM3 "reference" +text ONM4 "static" +text ONM5 "retrieval" +text ONM6 "rule_top1" +text ONM7 "retrieval_top1" +text OREF "SELECT dataset refused status=-" +text OUNA "SELECT dataset not authorized status=-" +text OGEN "fixture_bytes=" +text OV2 "v2_" +text OADM "admitted=" +text ORQ "refused_reason_" +text OSPL "split_" +text OFAMS "_families=" +text OAU "audit_" +text OAN "a_records=" +text OBN "b_records=" +text OAF "a_fnv=" +text OBF "b_fnv=" +text OCU "_core_" + +fn onl to void +w = write 1 ONL2 0 1 +end + +fn oread n ulong to ulong +note Read exactly up to n bytes of records into RB; returns the count (stops at EOF). +o = ulong 0 +while lt o n bound 999999 +r = read 0 RB o sub n o +if lt r 0 +exit 74 +end +if eq r 0 +ret o +end +o = add o ulong r +end +ret o +end + +fn olist to ulong +note The allow-list block: 4096 bytes, zero padded; returns the used length. +o = ulong 0 +while lt o 4096 bound 4096 +r = read 0 LB o sub 4096 o +if lt r 0 +exit 74 +end +if eq r 0 +ret o +end +o = add o ulong r +end +n = ulong 0 +for i ulong 4096 +if ne get LB i 0 +n = add i 1 +end +end +ret n +end + +fn okey k ulong to void +if eq k 0 +w = write 1 ONM0 0 len ONM0 +end +if eq k 1 +w = write 1 ONM1 0 len ONM1 +end +if eq k 2 +w = write 1 ONM2 0 len ONM2 +end +if eq k 3 +w = write 1 ONM3 0 len ONM3 +end +if eq k 4 +w = write 1 ONM4 0 len ONM4 +end +if eq k 5 +w = write 1 ONM5 0 len ONM5 +end +if eq k 6 +w = write 1 ONM6 0 len ONM6 +end +if eq k 7 +w = write 1 ONM7 0 len ONM7 +end +end + +fn oacc k ulong v ulong to void +put OE k add get OE k v +end + +fn onearm r ulong to ulong +a = oxbest oxnear r +if oxcand r a +ret a +end +ret 0 +end + +fn obaseone r ulong s ulong to void +oacc 0 1 +b = oxbest r +oacc 1 oxcost r b +a = oxrule r +oacc 2 oxcost r a +if eq a b +oacc 6 1 +end +oacc 3 oxcost r 0 +oacc 4 oxcost r s +a = onearm r +oacc 5 oxcost r a +if eq a b +oacc 7 1 +end +end + +fn obase part ulong core ulong to void +note Baseline totals over one partition and core class into OE: 0 n, 1 oracle, 2 rule, +note 3 reference, 4 best static, 5 retrieval, 6 rule top-1 hits, 7 retrieval top-1 hits. +for i ulong 8 +put OE i 0 +end +s = oxstatic core +for r ulong get RC 0 +if and eq oxpart r part eq oxcore r core +obaseone r s +end +end +end + +fn oshow part ulong core ulong to void +obase part core +w = write 1 OPT 0 len OPT +wnum part +w = write 1 OCO 0 len OCO +wnum core +for k ulong 8 +w = write 1 OSEP 0 1 +okey k +w = write 1 OEQ 0 1 +wnum get OE k +end +onl +end + +fn oinspect to void +n = olist +c = oread 524288 +s = oxload c +if lt s 0 +w = write 1 OREF 0 len OREF +wnum ulong neg long s +onl +exit 66 +end +a = oxallow n get RC 2 +if lt a 0 +w = write 1 OUNA 0 len OUNA +wnum ulong neg long a +onl +exit 67 +end +w = write 1 OKV 0 len OKV +wnum 0 +onl +w = write 1 OALW 0 len OALW +wnum ulong a +onl +w = write 1 OREC 0 len OREC +wnum get RC 0 +onl +w = write 1 OFNV 0 len OFNV +wnum get RC 2 +onl +for f ulong 5 +w = write 1 OFAM 0 len OFAM +wnum f +w = write 1 OEQ 0 1 +wnum get RC add 4 f +onl +end +for k ulong 2 +w = write 1 OSTA 0 len OSTA +wnum k +w = write 1 OEQ 0 1 +wnum oxstatic k +onl +end +for p ulong 3 +for k ulong 2 +oshow p k +end +end +end + +fn ogen to void +o = ulong 0 +while lt o 16 bound 64 +r = read 0 OB o sub 16 o +if le r 0 +exit 74 +end +o = add o ulong r +end +seed = ulong 0 +cnt = ulong 0 +for i ulong 8 +seed = or seed shl ulong get OB i mul i 8 +cnt = or cnt shl ulong get OB add 8 i mul i 8 +end +n = sxgen seed cnt +o = ulong 0 +while lt o n bound 999999 +w = write 3 RB o sub n o +if le w 0 +exit 74 +end +o = add o ulong w +end +w = write 1 OGEN 0 len OGEN +wnum n +onl +w = write 1 OFNV 0 len OFNV +wnum oxfnv n +onl +end + +fn ofnvr a ulong n ulong to ulong +note FNV-1a 64 over RB[a..a+n). +h = ulong 14695981039346656037 +for i ulong n +h = mul xor h ulong get RB add a i 1099511628211 +end +ret h +end + +fn ofams p ulong to ulong +note Distinct workload families among the admitted records of split p. +k = ulong 0 +for r ulong get RC 0 +if eq oxpart r p +u = true +for q ulong r +if and eq oxpart q p eq oxcell q oxcell r +u = false +end +end +if u +k = add k 1 +end +end +end +ret k +end + +fn ospcore p ulong c ulong to ulong +k = ulong 0 +for r ulong get RC 0 +if and eq oxpart r p eq oxcore r c +k = add k 1 +end +end +ret k +end + +fn ov2show to void +w = write 1 OADM 0 len OADM +wnum get RQ 0 +onl +for k ulong 16 +if gt k 0 +w = write 1 ORQ 0 len ORQ +wnum k +w = write 1 OEQ 0 1 +wnum get RQ k +onl +end +end +for p ulong 3 +w = write 1 OSPL 0 len OSPL +wnum p +w = write 1 OFAMS 0 len OFAMS +wnum ofams p +onl +for c ulong 2 +w = write 1 OSPL 0 len OSPL +wnum p +w = write 1 OCU 0 len OCU +wnum c +w = write 1 OEQ 0 1 +wnum ospcore p c +onl +end +end +end + +fn ov2 to void +n = olist +c = oread 524288 +s = oxadm2 c +if lt s 0 +w = write 1 OREF 0 len OREF +wnum ulong neg long s +onl +exit 66 +end +a = oxallow n get RC 2 +if lt a 0 +w = write 1 OUNA 0 len OUNA +wnum ulong neg long a +onl +exit 67 +end +w = write 1 OV2 0 len OV2 +w = write 1 OKV 0 len OKV +wnum 0 +onl +w = write 1 OALW 0 len OALW +wnum ulong a +onl +w = write 1 OREC 0 len OREC +wnum get RC 0 +onl +w = write 1 OFNV 0 len OFNV +wnum get RC 2 +onl +ov2show +end + +fn oaudit to void +o = ulong 0 +while lt o 8 bound 64 +r = read 0 OB o sub 8 o +if le r 0 +exit 74 +end +o = add o ulong r +end +na = ulong 0 +for i ulong 8 +na = or na shl ulong get OB i mul i 8 +end +c = oread 524288 +t = div c 256 +if or ne rem c 256 0 gt na t +exit 66 +end +nb = sub t na +t = oxdec c +oxaudit na nb +w = write 1 OAN 0 len OAN +wnum na +onl +w = write 1 OBN 0 len OBN +wnum nb +onl +w = write 1 OAF 0 len OAF +wnum ofnvr 0 mul na 256 +onl +w = write 1 OBF 0 len OBF +wnum ofnvr mul na 256 mul nb 256 +onl +for k ulong 13 +w = write 1 OAU 0 len OAU +wnum k +w = write 1 OEQ 0 1 +wnum get AU k +onl +end +end + +fn osplits to void +for a ulong 14 +for b ulong 14 +if le add a b 19 +wnum a +w = write 1 OSEP 0 1 +wnum b +w = write 1 OSEP 0 1 +wnum oxhspl a b +onl +end +end +end +end + +fn main to int +r = read 0 OM 0 1 +if ne r 1 +exit 64 +end +m = get OM 0 +if eq m 73 +oinspect +ret 0 +end +if eq m 71 +ogen +ret 0 +end +if eq m 86 +ov2 +ret 0 +end +if eq m 65 +oaudit +ret 0 +end +if eq m 83 +osplits +ret 0 +end +exit 64 +end diff --git a/tests/si19/omexp-test.om b/tests/si19/omexp-test.om new file mode 100644 index 0000000..2e772bd --- /dev/null +++ b/tests/si19/omexp-test.om @@ -0,0 +1,511 @@ +note SPDX-License-Identifier: AGPL-3.0-only +note aien-train#24 ORIG-1 tests: record admission and every refusal class, the frozen +note features, partitions and leakage check, the allow-list (authorized, synthetic, revoked, +note absent, malformed) and the deterministic baselines, on the SYNTHETIC fixture and on +note hand-built records. v2 (ORIG1-CONTRACT-v2.md): per-record admission with counted +note reasons (pairing, duplicates, unsupported, range), the workload-family split, its +note disjointness check, v2 retrieval and the two-file leakage audit. +note Unit: deps + fixture + world + omexp + omexpfix + this file. +global OC ulong 1 +global OK ulong 4 +text OPASS "SI19_OMEXP_TEST_PASS checks=" +text OFAIL "SI19_OMEXP_TEST_FAIL check=" +text ONL "\n" +text LALL "16622604375676129865 AUTHORIZED owner-records-20261025\n3415637669635212362 SYNTHETIC fixture-seed7-100\n99 REVOKED withdrawn-example\n77 MALFORMED x\nabc AUTHORIZED junk\n" +text LREV "99 REVOKED withdrawn-example\n" + +fn okx ok bool to void +put OC 0 add get OC 0 1 +if not ok +w = write 1 OFAIL 0 len OFAIL +wnum get OC 0 +w = write 1 ONL 0 1 +exit 1 +end +end + +fn tbyte pos ulong v ulong to void +note Overwrite one little-endian record word in RB. +for i ulong 8 +put RB add pos i uchar and shr v mul i 8 255 +end +end + +fn tfresh to ulong +note A fresh 100-record fixture file in RB; returns its byte count. +ret sxgen 7 100 +end + +fn tlg16 to void +okx eq oxlg16 0 0 +okx eq oxlg16 1 0 +okx eq oxlg16 2 16 +okx eq oxlg16 3 24 +okx eq oxlg16 4 32 +okx eq oxlg16 1024 160 +okx eq oxlg16 1000 159 +okx eq oxlg16 8192 208 +okx eq oxlg16 1099511627776 640 +end + +fn tload to void +n = tfresh +okx eq oxload n 0 +okx eq get RC 0 100 +okx eq get RC 1 n +okx eq get RC 2 oxfnv n +okx eq get RC 2 3415637669635212362 +for f ulong 5 +okx eq get RC add 4 f 20 +end +okx eq oxfam 0 0 +okx eq oxfam 4 4 +okx eq oxcore 5 1 +okx eq oxpress 4 1 +okx eq oxpress 2 0 +okx eq oxseq 17 17 +end + +fn tword r ulong i ulong v ulong to void +tbyte add mul r 256 mul i 8 v +end + +fn trefone i ulong v ulong want int to void +note Corrupt word i of record 3 to v; the load must refuse with want and admit nothing. +n = tfresh +tword 3 i v +okx eq oxload n want +okx eq get RC 0 0 +end + +fn trefuse to void +n = tfresh +okx eq oxload 0 -1 +okx eq oxload add n 8 -1 +okx eq oxload 524544 -1 +trefone 0 1 -2 +trefone 1 2 -2 +trefone 2 5 -3 +trefone 3 3 -3 +trefone 4 16 -3 +trefone 13 0 -3 +trefone 13 9 -3 +trefone 5 0 -4 +trefone 5 8193 -4 +trefone 6 0 -4 +trefone 7 0 -4 +trefone 12 30 -5 +trefone 12 64 -5 +trefone 16 0 -6 +trefone 20 0 -6 +trefone 24 0 -6 +trefone 28 0 -6 +trefone 31 1 -7 +trefone 31 3 -7 +trefone 14 2 -8 +trefone 14 1 -8 +trefone 10 1048576 -9 +trefone 9 7 -9 +note A record outside the file's own count is never read: word 0 of record 100 is zero. +n = tfresh +okx eq oxload n 0 +note An eligible bit on an unmeasured arm is refused even when the measurement is forged later. +n = tfresh +tword 3 12 63 +okx eq oxload n -6 +tword 3 21 500 +okx eq oxload n -6 +tword 3 29 1 +okx eq oxload n 0 +okx oxcand 3 5 +n = tfresh +tword 3 12 47 +okx eq oxload n -6 +end + +fn tleak to void +note Family-2 record 2 given the shape of family-0 record 0: contamination refused. +n = tfresh +tword 2 5 oxword 0 5 +tword 2 6 oxword 0 6 +tword 2 9 oxword 0 9 +okx eq oxload n -11 +okx eq get RC 0 0 +note The same shape in family 3 is the declared partial overlap, not contamination. +n = tfresh +tword 3 5 oxword 0 5 +tword 3 6 oxword 0 6 +tword 3 9 oxword 0 9 +okx eq oxload n 0 +end + +fn tsplit to void +n = tfresh +okx eq oxload n 0 +for r ulong 100 +f = oxfam r +p = oxpart r +if eq f 0 +okx eq p 0 +end +if eq f 1 +okx eq p 1 +end +if gt f 1 +okx eq p 2 +end +end +note TRAIN and DEV share no M and no N value; H1 keys are absent from both; H3 keys equal H1 keys. +for r ulong 100 +if eq oxpart r 0 +for q ulong 100 +if eq oxpart q 1 +okx ne oxm r oxm q +okx ne oxn r oxn q +end +if eq oxfam q 2 +okx not and eq oxm r oxm q eq oxn r oxn q +end +end +end +if eq oxfam r 2 +okx eq oxm add r 2 oxm r +okx eq oxn add r 2 oxn r +okx eq oxfam add r 2 4 +end +end +end + +fn tallow to void +n = tfresh +okx eq oxload n 0 +h = get RC 2 +n = len LALL +for i ulong n +put LB i get LALL i +end +okx eq oxallow n h 2 +okx eq oxallow n 16622604375676129865 1 +okx eq oxallow n 99 -12 +okx eq oxallow n 77 -13 +okx eq oxallow n 5 -13 +okx eq oxallow 0 h -13 +okx eq oxallow 10 h -13 +note A revoked entry wins over nothing else: the lookup is by exact hash only. +n = len LREV +for i ulong n +put LB i get LREV i +end +okx eq oxallow n h -13 +okx eq oxallow n 99 -12 +end + +fn tfeat to void +n = tfresh +okx eq oxload n 0 +note Record 11: family 1, core 0, M 8, N 4, pressure 0. +okx eq oxm 11 8 +okx eq oxn 11 4 +oxfeat 11 +okx eq get XF 0 16 +okx eq get XF 1 48 +okx eq get XF 2 32 +okx eq get XF 3 6 +okx eq get XF 4 4 +okx eq get XF 5 0 +okx eq get XF 6 0 +okx eq get XF 7 0 +okx eq get XF 8 16 +okx eq get XF 9 0 +okx eq get XF 10 0 +okx eq get XF 11 0 +note Record 8: family 3, core 1, M 7, N 1: thin, odd, A725. +oxfeat 8 +okx eq get XF 1 44 +okx eq get XF 2 0 +okx eq get XF 5 16 +okx eq get XF 6 16 +okx eq get XF 8 0 +okx eq get XF 9 16 +note Record 9: family 4 carries pressure 1. +oxfeat 9 +okx eq get XF 11 16 +note Overflow doublings: a 1024 x 1024 state on an A725 (524288 B cache). +tword 9 5 1024 +tword 9 6 1024 +tword 9 9 8404992 +okx eq oxload n 0 +oxfeat 9 +okx eq get XF 7 64 +end + +fn tbase to void +n = tfresh +okx eq oxload n 0 +note Planted rule: core 0, N <= 3 -> unroll2; core 0, N >= 4 -> quad4; core 1 large N -> reference. +okx eq oxbest 0 2 +okx eq oxbest 1 4 +okx eq oxbest 7 0 +okx eq oxrule 0 2 +okx eq oxrule 2 3 +okx eq oxt16 0 0 0 +okx lt oxt16 0 2 0 +okx gt oxt16 0 1 0 +note Retrieval returns a TRAIN record of the same core; a train record is nearest to itself. +q = oxnear 2 +okx eq oxpart q 0 +okx eq oxcore q 0 +okx eq oxnear 0 0 +okx eq oxnear 10 10 +q = oxnear 7 +okx eq oxcore q 1 +note Best static arm on core 0 with 10 train shapes of N in 1..2 is unroll2. +okx eq oxstatic 0 2 +okx eq oxstatic 1 2 +note An arm missing from one train record is no static candidate. +tword 0 12 15 +tword 0 20 0 +tword 0 28 0 +okx eq oxload n 0 +okx not oxcand 0 4 +okx eq oxstatic 0 2 +end + +fn t2one r ulong i ulong v ulong want int to void +note Word i of record r set to v: only record r is refused, with reason want, counted once. +n = tfresh +tword r i v +okx eq oxadm2 n 0 +okx eq get RC 9 1 +okx eq get RA r long want +okx eq get RQ ulong neg long want 1 +okx eq get RQ 0 99 +okx eq get RS r 3 +okx eq oxpart r 3 +okx eq get RC 0 100 +okx eq get RC 10 99 +end + +fn tadm2 to void +n = tfresh +okx eq oxadm2 n 0 +okx eq get RC 0 100 +okx eq get RC 1 n +okx eq get RC 2 3415637669635212362 +okx eq get RQ 0 100 +okx eq get RC 10 100 +okx eq add add get RC 4 get RC 5 get RC 6 100 +for r ulong 100 +okx eq get RA r 0 +okx lt get RS r 3 +end +okx eq oxadm2 0 -1 +okx eq oxadm2 add n 8 -1 +okx eq get RC 0 0 +okx eq get RC 9 0 +note v1 admission restores v1 partitions. +n = tfresh +okx eq oxadm2 n 0 +okx eq oxload n 0 +okx eq get RC 9 0 +okx eq oxpart 4 2 +end + +fn trefuse2 to void +note Unsupported format and enumerations. +t2one 3 0 1 -2 +t2one 3 1 2 -2 +t2one 3 2 6 -3 +t2one 3 3 2 -3 +t2one 3 4 2 -3 +t2one 3 13 5 -3 +t2one 3 13 8 -3 +note Shape and calls out of range, profile. +t2one 3 5 0 -4 +t2one 3 6 8193 -4 +t2one 3 7 0 -4 +t2one 3 7 1048577 -4 +t2one 3 10 1048576 -9 +t2one 3 9 7 -9 +note Pairing: the complete arm set {0..4} measured and verified, arm 5 absent. +t2one 3 12 15 -14 +t2one 3 12 63 -14 +t2one 3 18 0 -14 +t2one 3 26 0 -14 +t2one 3 21 5 -14 +t2one 3 29 1 -14 +t2one 3 22 1 -14 +t2one 3 23 1 -14 +note Out of range measurement and the mismatch word. +t2one 3 17 1099511627776 -10 +t2one 3 31 1 -7 +note Sequence not increasing: only the regressing record is refused. +t2one 3 14 2 -8 +note A product above 2^19 elements is out of the consumer's range. +n = tfresh +tword 3 5 1024 +tword 3 6 1024 +tword 3 9 8404992 +okx eq oxadm2 n 0 +okx eq get RA 3 -4 +note Two refusals are counted separately and nothing else is refused. +n = tfresh +tword 3 31 1 +tword 8 31 2 +okx eq oxadm2 n 0 +okx eq get RQ 7 2 +okx eq get RQ 0 98 +end + +fn tcopyk q ulong r ulong to void +note Give record r the state key (M, N, state bytes) of record q. +tword r 5 oxword q 5 +tword r 6 oxword q 6 +tword r 9 oxword q 9 +end + +fn tdup2 to void +note Record 12 (family 2, core 0, pressure 0) given record 2's shape: duplicate state. +n = tfresh +okx eq oxdec n 100 +tcopyk 2 12 +okx eq oxadm2 n 0 +okx eq get RA 12 -15 +okx eq get RA 2 0 +okx eq get RQ 15 1 +note A different job seed is still the same decision state. +tword 12 8 999 +okx eq oxadm2 n 0 +okx eq get RA 12 -15 +note A different pressure bucket is a different state: record 4 (H3) has record 2's shape +note and core at pressure 1 and is admitted. +okx eq get RA 4 0 +okx eq oxm 4 oxm 2 +okx eq oxn 4 oxn 2 +okx eq oxcore 4 oxcore 2 +okx ne oxpress 4 oxpress 2 +note A duplicate of a refused record is admitted: only admitted states count. +tword 2 31 1 +okx eq oxadm2 n 0 +okx eq get RA 2 -7 +okx eq get RA 12 0 +note Record 22 duplicates record 12 too: two later duplicates of one state, both counted. +tword 2 31 0 +okx eq oxdec n 100 +tcopyk 2 22 +okx eq oxadm2 n 0 +okx eq get RA 12 -15 +okx eq get RA 22 -15 +okx eq get RQ 15 2 +end + +fn tsplit2 to void +note The frozen family coordinate and split, values computed outside this unit. +okx eq oxfl 1 0 +okx eq oxfl 2 1 +okx eq oxfl 3 1 +okx eq oxfl 8191 12 +okx eq oxfl 8192 13 +okx eq oxhspl 0 0 0 +okx eq oxhspl 0 1 0 +okx eq oxhspl 0 2 2 +okx eq oxhspl 1 1 1 +okx eq oxhspl 2 4 1 +okx eq oxhspl 3 13 2 +okx eq oxhspl 13 6 1 +okx eq oxhspl 7 7 0 +okx eq oxhspl 5 5 0 +okx eq oxhspl 10 6 2 +n = tfresh +okx eq oxadm2 n 0 +okx eq oxcell 11 50 +for r ulong 100 +okx eq oxpart r oxhspl oxfl oxm r oxfl oxn r +end +note No family and no shape crosses splits; held-out families are absent from TRAIN and +note VALIDATION (checked pairwise here, independently of oxdisj). +for r ulong 100 +for q ulong 100 +if ne oxpart q oxpart r +okx ne oxcell q oxcell r +okx not and eq oxm q oxm r eq oxn q oxn r +end +end +end +note H1 and H3 records (same workload, pressure 0 and 1) land in the same split. +okx eq oxpart 2 oxpart 4 +okx eq oxdisj 100 0 +note A split assignment that separates one family is caught. +put RS 4 uchar rem add get RS 2 1 3 +okx eq oxdisj 100 -11 +end + +fn tnear2 to void +note v2 retrieval: a TRAIN record of the same core class and pressure bucket. +n = tfresh +okx eq oxadm2 n 0 +k = ulong 0 +for r ulong 100 +q = oxnear r +if lt q 1048576 +k = add k 1 +okx eq oxpart q 0 +okx eq oxcore q oxcore r +okx eq oxpress q oxpress r +end +end +okx gt k 0 +note The same file under v1 admission ignores pressure (v1 rule unchanged). +okx eq oxload n 0 +okx eq oxpart oxnear 4 0 +end + +fn taudit to void +note File B = file A with record 0's job seed changed: 99 of 100 B workloads occur in A, +note every B state key occurs in A, every matched oracle arm agrees. +n = tfresh +for i ulong n +put RB add n i get RB i +end +tword 100 8 123456789 +okx eq oxdec mul n 2 200 +oxaudit 100 100 +okx eq get AU 0 99 +okx eq get AU 1 19 +okx eq get AU 3 20 +okx eq get AU 6 99 +okx eq get AU 7 100 +okx eq get AU 8 0 +okx eq get AU 9 0 +okx eq get AU 11 40 +okx eq get AU 12 60 +note Record 4 (family 4) given record 2's job seed: one workload under two family words +note on each side; a state key repeated inside A is counted. +tword 4 8 oxword 2 8 +tcopyk 0 10 +okx eq oxdec mul n 2 200 +oxaudit 100 100 +okx eq get AU 9 2 +okx eq get AU 8 1 +end + +fn main to int +tlg16 +tload +trefuse +tleak +tsplit +tallow +tfeat +tbase +tadm2 +trefuse2 +tdup2 +tsplit2 +tnear2 +taudit +w = write 1 OPASS 0 len OPASS +wnum get OC 0 +w = write 1 ONL 0 1 +ret 0 +end diff --git a/tests/si19/run-omexp.sh b/tests/si19/run-omexp.sh new file mode 100755 index 0000000..9d5a5c5 --- /dev/null +++ b/tests/si19/run-omexp.sh @@ -0,0 +1,204 @@ +#!/bin/sh +# SPDX-License-Identifier: AGPL-3.0-only +# aien-train#24 ORIG-1 host glue (POSIX sh, disclosed): materialize the pinned sources, +# verify SHA-256, build the omexp test and driver with the pinned seeded compiler, run the +# admission/refusal tests, generate the SYNTHETIC fixture, admit it, and (when RECORDS is +# set) admit the local owner dataset. Every check and verdict is in the .om units. +# Host CPU only. No GPU, network, service or model process is touched. +set -u +ROOT=$(cd "$(dirname "$0")/../.." && pwd) +OUT=${OUT:-$ROOT/evidence/SI19-ORIG1/run} +OMC=${OMC:-$HOME/workspace/omega-toc/seed/out/omc} +OMC2=${OMC2:-$HOME/workspace/omega-seedqual-20261025/seed/out/omc} +BRIDGE=${OMEGA_BRIDGE_GIT:-$HOME/workspace/omega-bridge} +OMEGA=${OMEGA_MV_GIT:-$HOME/workspace/omega} +QUIET=${QUIET:-quiet-build} +BUILD=${BUILD:-$(mktemp -d "${TMPDIR:-/tmp}/si19orig1.XXXXXX")} +RECORDS=${RECORDS:-} +OMC_SHA=191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9 +mkdir -p "$OUT" "$BUILD/deps" +SUM="$OUT/summary.txt" +: > "$SUM" +note() { echo "$*" | tee -a "$SUM"; } +fail() { note "SI19_ORIG1_RUN_FAIL $*"; exit 1; } + +note "build_dir=$BUILD" +note "source_commit=$(git -C "$ROOT" rev-parse HEAD)" +note "host=$(uname -srm)" +git -C "$BRIDGE" show 7e1d0d61755ec1a0bbf20941a18379861b5b9d0d:native/ref32/add32.om > "$BUILD/deps/add32.om" || fail materialize add32 +git -C "$BRIDGE" show 7e1d0d61755ec1a0bbf20941a18379861b5b9d0d:native/ref32/mul32.om > "$BUILD/deps/mul32.om" || fail materialize mul32 +git -C "$OMEGA" show 3a995ba8dace538c1532c747d829ca6e4a73582d:native/ecosystem663/metadata.om > "$BUILD/deps/metadata.om" || fail materialize metadata +git -C "$ROOT" show c9782bfdcf1885082d1fa6c483473f2a514096ad:native/ecosystem6/affine.om > "$BUILD/deps/affine.om" || fail materialize affine +(cd "$BUILD/deps" && sha256sum -c "$ROOT/docs/si19/deps.sha256") > "$OUT/deps-check.txt" 2>&1 || fail dependency hash +set -- $(sha256sum "$OMC") +[ "$1" = "$OMC_SHA" ] || fail "compiler hash $1" +note "compiler_sha256=$1" + +LIB="$BUILD/deps/add32.om $BUILD/deps/mul32.om $BUILD/deps/metadata.om $BUILD/deps/affine.om $ROOT/native/si19/fixture.om $ROOT/native/si19/world.om $ROOT/native/si19/omexp.om $ROOT/native/si19/omexpfix.om" + +# build NAME CALLER [LIBRARY...]: compile one concatenated unit; status in OUT. +build() { + name=$1; caller=$2; shift 2 + [ $# -gt 0 ] || set -- $LIB + cat "$@" "$caller" > "$BUILD/$name.om" + "$QUIET" "$OMC" < "$BUILD/$name.om" > "$BUILD/$name.elf" 2> "$OUT/$name.compile.stderr" + rc=$? + echo "$rc" > "$OUT/$name.compile.rc" + [ "$rc" -eq 0 ] || return "$rc" + head -c 4 "$BUILD/$name.elf" | od -An -c | grep -q 'E L F' || return 70 + chmod 700 "$BUILD/$name.elf" +} + +ms() { date +%s%N; } + +build omexp-test "$ROOT/tests/si19/omexp-test.om" || fail compile omexp-test +build omexp "$ROOT/native/si19/omexpmain.om" || fail compile omexp +if [ -x "$OMC2" ]; then + "$QUIET" "$OMC2" < "$BUILD/omexp-test.om" > "$BUILD/omexp-test-r6.elf" 2> "$OUT/omexp-test-r6.compile.stderr" + echo $? > "$OUT/omexp-test-r6.compile.rc" + chmod 700 "$BUILD/omexp-test-r6.elf" + note "r6_compiler_sha256=$(sha256sum "$OMC2" | cut -c1-64) compile_rc=$(cat "$OUT/omexp-test-r6.compile.rc")" +fi + +t0=$(ms) +"$BUILD/omexp-test.elf" > "$OUT/omexp-test.stdout" 2> "$OUT/omexp-test.stderr" +rc=$?; t1=$(ms) +echo "$rc" > "$OUT/omexp-test.rc" +note "omexp-test rc=$rc wall_ms=$(( (t1 - t0) / 1000000 )) $(cat "$OUT/omexp-test.stdout")" +[ "$rc" -eq 0 ] || fail omexp-test +if [ -x "$BUILD/omexp-test-r6.elf" ]; then + "$BUILD/omexp-test-r6.elf" > "$OUT/omexp-test-r6.stdout" 2> "$OUT/omexp-test-r6.stderr" + echo $? > "$OUT/omexp-test-r6.rc" + note "omexp-test-r6 rc=$(cat "$OUT/omexp-test-r6.rc") $(cat "$OUT/omexp-test-r6.stdout")" +fi + +ALLOW=${ALLOW:-$ROOT/docs/si19/orig1-datasets.txt} +allow_block() { { cat "$ALLOW"; head -c 4096 /dev/zero; } | head -c 4096; } + +# gen SEED COUNT NAME: the SYNTHETIC fixture to BUILD/NAME.bin +gen() { + { printf 'G'; le8 "$1"; le8 "$2"; } | "$BUILD/omexp.elf" 3> "$BUILD/$3.bin" > "$OUT/gen-$3.stdout" 2> "$OUT/gen-$3.stderr" + rc=$? + echo "$rc" > "$OUT/gen-$3.rc" + note "gen-$3 rc=$rc $(tr '\n' ' ' < "$OUT/gen-$3.stdout")" + return "$rc" +} +# le8 N: 8 little-endian bytes of N using only POSIX tools. +le8() { + v=$1; i=0 + while [ $i -lt 8 ]; do + printf "\\$(printf '%03o' $((v % 256)))" + v=$((v / 256)); i=$((i + 1)) + done +} + +# inspect NAME FILE: admit a record file and print the baselines. +inspect() { + t0=$(ms) + { printf 'I'; allow_block; cat "$2"; } | "$BUILD/omexp.elf" > "$OUT/inspect-$1.stdout" 2> "$OUT/inspect-$1.stderr" + rc=$?; t1=$(ms) + echo "$rc" > "$OUT/inspect-$1.rc" + note "inspect-$1 rc=$rc wall_ms=$(( (t1 - t0) / 1000000 ))" + return "$rc" +} +# v2 NAME FILE: v2 admission (ORIG1-CONTRACT-v2.md) with counted refusal reasons and splits. +v2() { + t0=$(ms) + { printf 'V'; allow_block; cat "$2"; } | "$BUILD/omexp.elf" > "$OUT/v2-$1.stdout" 2> "$OUT/v2-$1.stderr" + rc=$?; t1=$(ms) + echo "$rc" > "$OUT/v2-$1.rc" + note "v2-$1 rc=$rc wall_ms=$(( (t1 - t0) / 1000000 ))" + return "$rc" +} + +gen 7 780 fixture-7-780 || fail gen +inspect fixture "$BUILD/fixture-7-780.bin" || fail inspect fixture +cat "$OUT/inspect-fixture.stdout" | tee -a "$SUM" +v2 fixture "$BUILD/fixture-7-780.bin" || fail v2 fixture +cat "$OUT/v2-fixture.stdout" | tee -a "$SUM" +printf 'S' | "$BUILD/omexp.elf" > "$OUT/splits.txt" 2> "$OUT/splits.stderr" || fail splits +cmp -s "$OUT/splits.txt" "$ROOT/docs/si19/orig1-v2-splits.txt" || fail "split table differs from docs/si19/orig1-v2-splits.txt" +note "v2_split_table=$(sha256sum "$OUT/splits.txt" | cut -c1-64) families=$(wc -l < "$OUT/splits.txt") identical_to_docs=yes" + +# Refusals through the process path: a foreign file and a damaged record. +head -c 256 /dev/zero > "$BUILD/zero.bin" +inspect zero "$BUILD/zero.bin" +[ "$?" -eq 66 ] || fail zero file admitted +{ cat "$BUILD/fixture-7-780.bin"; head -c 256 /dev/zero; } > "$BUILD/unlisted.bin" +inspect unlisted "$BUILD/unlisted.bin" +[ "$?" -eq 66 ] || fail unlisted damaged file admitted +cp "$BUILD/fixture-7-780.bin" "$BUILD/forged.bin" +printf '\001' | dd of="$BUILD/forged.bin" bs=1 seek=248 conv=notrunc 2> /dev/null +inspect forged "$BUILD/forged.bin" +[ "$?" -eq 66 ] || fail forged mismatch admitted +printf '\001' | dd of="$BUILD/forged.bin" bs=1 seek=248 conv=notrunc 2> /dev/null +cp "$BUILD/fixture-7-780.bin" "$BUILD/unauth.bin" +printf '\001' | dd of="$BUILD/unauth.bin" bs=1 seek=88 conv=notrunc 2> /dev/null +inspect unauth "$BUILD/unauth.bin" +[ "$?" -eq 67 ] || fail unlisted hash admitted +cat "$OUT/inspect-zero.stdout" "$OUT/inspect-unlisted.stdout" "$OUT/inspect-forged.stdout" "$OUT/inspect-unauth.stdout" | tee -a "$SUM" + +if [ -n "$RECORDS" ]; then + note "owner_records=$RECORDS sha256=$(sha256sum "$RECORDS" | cut -c1-64) bytes=$(wc -c < "$RECORDS")" + inspect owner "$RECORDS" || fail inspect owner + cat "$OUT/inspect-owner.stdout" | tee -a "$SUM" + v2 owner "$RECORDS" || fail v2 owner + cat "$OUT/v2-owner.stdout" | tee -a "$SUM" +else + note "owner_records=NOT_RUN (RECORDS unset)" +fi + +# Leakage audit (mode A, local analysis): AUDIT_A = the earlier file, AUDIT_B = the later one. +if [ -n "${AUDIT_A:-}" ] && [ -n "${AUDIT_B:-}" ]; then + na=$(( $(wc -c < "$AUDIT_A") / 256 )) + { printf 'A'; le8 "$na"; cat "$AUDIT_A" "$AUDIT_B"; } | "$BUILD/omexp.elf" > "$OUT/audit.stdout" 2> "$OUT/audit.stderr" + rc=$?; echo "$rc" > "$OUT/audit.rc" + note "audit rc=$rc a_sha256=$(sha256sum "$AUDIT_A" | cut -c1-64) b_sha256=$(sha256sum "$AUDIT_B" | cut -c1-64)" + cat "$OUT/audit.stdout" | tee -a "$SUM" + [ "$rc" -eq 0 ] || fail audit +else + note "audit=NOT_RUN (AUDIT_A/AUDIT_B unset)" +fi + +# Fault injection: each altered unit must compile and fail the unchanged test. +i=0 +while IFS='|' read -r file orig alt; do + [ -n "$file" ] || continue + i=$((i + 1)) + src="$ROOT/native/si19/$file" + n=$(grep -c -x -F -- "$orig" "$src") + [ "$n" -eq 1 ] || fail "mutant$i matches $n" + mdir="$BUILD/mutant$i"; mkdir -p "$mdir" + awk -v o="$orig" -v a="$alt" '$0 == o { print a; next } { print }' "$src" > "$mdir/$file" + mlib="" + for f in $LIB; do + if [ "$(basename "$f")" = "$file" ]; then mlib="$mlib $mdir/$file"; else mlib="$mlib $f"; fi + done + build "mutant$i" "$ROOT/tests/si19/omexp-test.om" $mlib || fail "mutant$i compile" + "$BUILD/mutant$i.elf" > "$OUT/mutant$i.stdout" 2> "$OUT/mutant$i.stderr" + rc=$? + echo "$rc" > "$OUT/mutant$i.rc" + note "mutant$i $file rc=$rc $(cat "$OUT/mutant$i.stdout") :: $alt" + [ "$rc" -eq 1 ] || fail "mutant$i survived" +done <<'EOF' +omexp.om|if ne oxword r 31 0|if ne oxword r 31 1 +omexp.om|if ne oxword r add 24 a 1|if ne oxword r add 24 a 0 +omexp.om|ret -11|ret 0 +omexp.om|if le oxseq r oxseq sub r 1|if lt oxseq r oxseq sub r 1 +omexp.om|if and eq b 82 eq k 7|if and eq b 82 eq k 8 +omexp.om|put XF 3 long shr mul lm ln 8|put XF 3 long shr mul lm lm 8 +omexp.om|if ne oxword r 12 31|if eq oxword r 12 0 +omexp.om|d = true|d = false +omexp.om|if or gt oxfam r 5 gt oxcore r 1|if or gt oxfam r 5 gt oxcore r 2 +omexp.om|ret oxhspl oxfl oxm r oxfl oxn r|ret rem oxfam r 3 +omexp.om|if ge oxword r add 16 a 1099511627776|if ge oxword r add 16 a 1099511627777 +omexp.om|ret int -11|ret 0 +omexp.om|if ge oxseq sub r 1 oxseq r|if gt oxseq sub r 1 oxseq r +omexp.om|ret eq oxpress q p|ret true +omexp.om|ret and eq oxcore q oxcore r eq oxpress q oxpress r|ret eq oxcore q oxcore r +omexp.om|if eq oxbest q oxbest r|if ne oxbest q oxbest r +EOF + +(cd "$OUT" && sha256sum -- *.stdout *.rc *.compile.stderr deps-check.txt) > "$OUT/raw.sha256" +(cd "$BUILD" && sha256sum -- *.bin omexp.elf omexp-test.elf omexp.om omexp-test.om) > "$OUT/build.sha256" +note "SI19_ORIG1_RUN_PASS"