Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/patches/e242705b776e26ad # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers ## fix(omega): time matvec cost with the serving thread CPU time (R13/R16 host flake) closed `e242705b776e26ad` #586 · opened 2026-10-19 19:48 UTC · closed 2026-10-31 13:58 UTC Imported from GitHub aien-dev/omega-mv#586, by drakestapleton Base `dcccc02119dab1a2077cf1277cd21913850c626a` · Head `9a25579c78b89810539e0393c5642e5332fb48be` drakestapleton wrote on 2026-10-19 19:48 UTC Root cause fix for the intermittent OMEGA-R13-HOST, OMEGA-R13-TESTBUILD-HOST and OMEGA-R16-AUTHPATH failures on the busy Spark judge (no retry, no relaxed check). Omega timed production serves and its candidate measure with the wall clock, so time spent waiting for a CPU counted as matvec cost. Under load AIEN learned its baseline from preempted intervals, failed its prediction before the goal, read it as drift and stalled (omega#527 dead end B). `fn_serve` and `time_calls` now use the serving thread's CPU time (`CLOCK_THREAD_CPUTIME_ID`, `cost_ns`). Costs are still measured on this machine on the real cores; all R13 checks are unchanged; the sandbox deadline stays on the wall clock. Evidence (handoff ~/handoffs/2026-10-19-omega-r13-host-flake.md): base fails 10/10 under pinned load, this branch 25/25; natural load 7/8 vs base 3/8; a mutant (production serves twice) still FAILs. Second evidence from the desk (R11 living run, load 25): interleaved 20 runs each, main 4 failures ("control move to A725"), this branch 0 (r11-evidence/ab-loaded.log). A longer run at load 25 with 12 extra busy loops: this branch still 4 of 40 (r13fix-loaded.log; AIEN acting on a preempted interval, residual named in the handoff as unverified). So CPU time removes the dominant wall-clock noise but not all of it. Last commit is the crumb recompile with the pinned tool. ### Fetch it A git bundle of the pull request's head, 20575 bytes. ``` curl -fsSL https://interplane.io/drakestapleton/omega-mv/patches/e242705b776e26ad.bundle -o e242705b776e26ad.bundle git fetch e242705b776e26ad.bundle refs/pull/586/head ``` Raw bundle · Diff ### Provenance This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record: ``` github-import 1 aien-dev/omega-mv 586 9a25579c78b89810539e0393c5642e5332fb48be ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"omega-mv","number":586,"url":"https://github.com/aien-dev/omega-mv/pull/586","export_sha256":"7319147b350ad908bf0b731068ec3be7b8dee848041dc862f71455e8e4680140","imported_utc":"2026-11-18T16:35:53Z"} ``` ### Changes ``` diff --git a/.crumb b/.crumb index e140b6330..40becad2b 100644 --- a/.crumb +++ b/.crumb @@ -42,13 +42,13 @@ "children": [ { "digest": "9f19f11674ca5dfc3c9c3ae35fe6106557aee9583210da13d257e1b9d88e052c", - "last_commit": "190ff8912", + "last_commit": "d863780eb", "name": "calibration", "purpose": "Directory calibration. Purpose not yet described by a human." }, { "digest": "d74cddad4fb68d35451857af81f4cb7f69412a595c44af8f3de8baaf602dc1b9", - "last_commit": "3a995ba8d", + "last_commit": "943f5139f", "name": "docs", "purpose": "Directory docs. Purpose not yet described by a human." }, @@ -60,50 +60,50 @@ }, { "digest": "8f0e5cb325040247440527f6b54b65cf72c47ff5adca75b4f32a1ddf2b2d6ade", - "last_commit": "ae4ad9c0a", + "last_commit": "43f25831b", "name": "mk", "purpose": "Directory mk. Purpose not yet described by a human." }, { "digest": "62b92244c52fa8af6f511012dee2967e98dff162cc1d8bf45d0b2f15cb0adc5f", - "last_commit": "5901baa51", + "last_commit": "450bbefd4", "name": "research", "purpose": "Directory research. Purpose not yet described by a human." }, { "digest": "1cef97c8f2d852990d04fe5e791e877015c74a751648a020033a2459e02c5148", - "last_commit": "43d8d20da", + "last_commit": "faebae8c1", "name": "spec", "purpose": "Directory spec. Purpose not yet described by a human." }, { - "digest": "199749684598b36b610b14a4c5b59703df5e53bba1db2b5939297c55ac423153", - "last_commit": "333091a6f", + "digest": "2d1af65f8616abd11e18a00641d649e15fff413182928b5f69839f6cac3fbc92", + "last_commit": "001aa63ad", "name": "src", "purpose": "Directory src. Purpose not yet described by a human." }, { - "digest": "ea8ae97d49edc85af090218634c9bad13bcc91fa84f96e0d33fefe313704e111", - "last_commit": "3a995ba8d", + "digest": "e555efcb7a9c7848b65d411690509bbbaa3f0a1e9a983ed1c2bd4624ce1fc37d", + "last_commit": "001aa63ad", "name": "tests", "purpose": "Directory tests. Purpose not yet described by a human." }, { "digest": "4e83dea21da137c30076c2dc0ca4f3a488f576f30a94e334558ad5ea523f3a6b", - "last_commit": "88e24bdd5", + "last_commit": "a50c3bd41", "name": "tools", "purpose": "Directory tools. Purpose not yet described by a human." } ], - "children_root": "sha256:1ef53b95bc495764c6a325611a2941905bbaf617c12cdbe236408a5f72812766", - "compiled_at": "2026-10-29T19:08:03Z", + "children_root": "sha256:98233c2ba59d7914b9c041547aef032d39b51834683c042ad8ffdb9a1d8183c7", + "compiled_at": "2026-10-30T02:54:10Z", "compiler": "crumb-compile/1", - "digest": "sha256:fd5b27b23c524c67fd5e889f9e13815cbe239cd6e8520e4b6874f314ccf6c199", + "digest": "sha256:68d8d95a2bf1ce9360a02e8c6f249b35a978ae123084160860e1cfea0be4fd09", "evidence_files": 12611, "evidence_root": "sha256:9ee1ecc8a32bd724cae4237a844b3cb2e82a8e6af89626fa84c2b5ea77bec79e", "files": 17819, - "generated_at_commit": "8975287573f284dd2140b2f2b169619d3e145cf1", - "source_tree": "sha256:1d172b7096a6e23d4a2746e09293f7f97656c5d1b4d1ffd808ff5ff5c6dce805" + "generated_at_commit": "0b73ee4ce74b7bdcf9982fbadf7f704fa2214956", + "source_tree": "sha256:a34764d39aff9f2fe457c2caa87ad3a806df9d40b22f8abdac299e8ec045856e" }, "owner_lane": "", "provenance": { diff --git a/src/.crumb b/src/.crumb index d4d2a1953..f3cec4114 100644 --- a/src/.crumb +++ b/src/.crumb @@ -145,8 +145,8 @@ "purpose": "Ionic-droplet reservoir simulator (omega#440): binary32 fixed-step RK4 of the authors' droplet m" }, { - "digest": "1e400d9b84494347892448fd576be7bf596ef810ed6e88bcd70f7e7d9a6b5746", - "last_commit": "97a960f5c", + "digest": "f3837db35b3a21d182ccb998f5fe30f0822f9359933ff446ab104d355d0ba39b", + "last_commit": "001aa63ad", "name": "runtime", "purpose": "Directory src/runtime. Purpose not yet described by a human." }, @@ -187,15 +187,15 @@ "purpose": "Directory src/visor. Purpose not yet described by a human." } ], - "children_root": "sha256:2f729945214be989a74d7c2064ae4ba3c2deb52ebea3f334b459198a7bd032ed", - "compiled_at": "2026-10-29T01:41:23Z", + "children_root": "sha256:8e88ee11baf819dd1222b233a5edc613b47fa42ba47f627b61f9deaabb3df0b1", + "compiled_at": "2026-10-30T02:54:10Z", "compiler": "crumb-compile/1", - "digest": "sha256:199749684598b36b610b14a4c5b59703df5e53bba1db2b5939297c55ac423153", + "digest": "sha256:2d1af65f8616abd11e18a00641d649e15fff413182928b5f69839f6cac3fbc92", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 568, - "generated_at_commit": "28a7b749a6da68407af60a7cccaf34dc2e5eab48", - "source_tree": "sha256:28fa18bff3a59bc596555496f77a1b57ac83aebfac8b37e50d71cbc4c5dd00b1" + "generated_at_commit": "0b73ee4ce74b7bdcf9982fbadf7f704fa2214956", + "source_tree": "sha256:cd3b004b62741dba0e9a23de1040544c36e66bf54eb3e68392f4c1de13413a2d" }, "owner_lane": "", "provenance": { diff --git a/src/runtime/.crumb b/src/runtime/.crumb index a82872991..1354ae3f0 100644 --- a/src/runtime/.crumb +++ b/src/runtime/.crumb @@ -7,14 +7,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-25T19:38:33Z", + "compiled_at": "2026-10-27T01:55:49Z", "compiler": "crumb-compile/1", - "digest": "sha256:1e400d9b84494347892448fd576be7bf596ef810ed6e88bcd70f7e7d9a6b5746", + "digest": "sha256:f3837db35b3a21d182ccb998f5fe30f0822f9359933ff446ab104d355d0ba39b", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 65, - "generated_at_commit": "97a960f5c18fc09b506168c55c10031b3f0cffc3", - "source_tree": "sha256:fc3f521b52b9fddaf86ad8b95b05c8060b03b84dc5117e2655ec37ae03c5323b" + "generated_at_commit": "001aa63ad89220ef91e0898b5d41972fe74bbf09", + "source_tree": "sha256:55346b24909642c19eba3bcae37e7f2e59633b4adac4123df2ca51dbacf400d7" }, "owner_lane": "", "provenance": { diff --git a/src/runtime/rx_omega.c b/src/runtime/rx_omega.c index 07ed3893a..cdfea3025 100644 --- a/src/runtime/rx_omega.c +++ b/src/runtime/rx_omega.c @@ -56,6 +56,17 @@ static uint64_t now_ns(void) { return (uint64_t)ts.tv_sec * 1000000000ull + (uint64_t)ts.tv_nsec; } +/* What a matvec costs: the time the calling thread spent executing it. + * Serve and measure time their calls with this, so a preemption or a busy + * neighbour on the same core does not count as cost, while the core it runs + * on and the code it runs still do (omega #313, #527). Deadlines stay on + * now_ns. */ +static uint64_t cost_ns(void) { + struct timespec ts; + clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts); + return (uint64_t)ts.tv_sec * 1000000000ull + (uint64_t)ts.tv_nsec; +} + static uint64_t id_word(const SemanticId *id, uint32_t i) { uint64_t v = 0; for (uint32_t b = 0; b < 8; b++) v |= (uint64_t)id->bytes[i * 8 + b] << (8 * b); @@ -226,10 +237,10 @@ static int fn_serve(RxCtx *c) { fn = verified_fn(f, &id); if (fn) used = sel->field[1]; } - uint64_t t0 = now_ns(); + uint64_t t0 = cost_ns(); if (fn) fn(A, x, y, M, N); else omega_matvec_reference(A, x, y, (uint32_t)M, (uint32_t)N); - uint64_t ns = now_ns() - t0; + uint64_t ns = cost_ns() - t0; uint64_t digest = rx_omega_digest(y, (uint32_t)M); free(A); free(x); free(y); @@ -614,12 +625,12 @@ static int fn_verify(RxCtx *c) { static uint64_t time_calls(MatVecFn fn, const uint64_t *A, const uint64_t *x, uint64_t *y, uint32_t M, uint32_t N, uint32_t iters) { - uint64_t t0 = now_ns(); + uint64_t t0 = cost_ns(); for (uint32_t i = 0; i < iters; i++) { if (fn) fn(A, x, y, M, N); else omega_matvec_reference(A, x, y, M, N); } - return now_ns() - t0; + return cost_ns() - t0; } static int fn_measure(RxCtx *c) { diff --git a/src/runtime/rx_omega.h b/src/runtime/rx_omega.h index bd6c27ede..e4ce28d99 100644 --- a/src/runtime/rx_omega.h +++ b/src/runtime/rx_omega.h @@ -76,7 +76,8 @@ enum { * 4..7 realization id * selection: 0 epoch, 1..4 realization id (zero = reference), 5 ps/call, * 6 regime, 7 reference ps/call - * regime = (M << 32) | N. */ + * regime = (M << 32) | N. Every ns and ps above is the executing thread's CPU + * time (CLOCK_THREAD_CPUTIME_ID), not wall-clock time. */ enum { RX_OMEGA_SYNTHESIZED = 1 }; enum { RX_OMEGA_PASSED = 1, RX_OMEGA_REFUSED = 2 }; enum { RX_OMEGA_MEASURED = 1, RX_OMEGA_DECLINED = 2 }; diff --git a/tests/.crumb b/tests/.crumb index 75dbe23b9..ebbb54598 100644 --- a/tests/.crumb +++ b/tests/.crumb @@ -110,206 +110,206 @@ "children": [ { "digest": "2c1deaaa1bae6257789749edde641df61413250fe91ce6aa61a99dfb3b271306", - "last_commit": "28911be7a", + "last_commit": "d863780eb", "name": "algebra", "purpose": "Directory tests/algebra. Purpose not yet described by a human." }, { "digest": "63f086b68bb9ffc032cbd74931309ab34df3c8c341b57935e5db43d8bf475800", - "last_commit": "834ee93e4", + "last_commit": "d863780eb", "name": "ans", "purpose": "Tests 1-10 for ANS (docs/ans/INERTIAL_ALIGNMENT_SPEC_V1.md): freeze/digest, hostile reference mu" }, { "digest": "7b69a19958c5a5f55bba4fbc33bc6f26423358efd46311b0eacfe83bb665d4c1", - "last_commit": "1b0e2968c", + "last_commit": "450bbefd4", "name": "brownian", "purpose": "Directory tests/brownian. Purpose not yet described by a human." }, { "digest": "1cd97575b2b10d9313ca0df4997391612056754778bb2851bf052c146144f15e", - "last_commit": "30bb116cc", + "last_commit": "d863780eb", "name": "canonicalization", "purpose": "Directory tests/canonicalization. Purpose not yet described by a human." }, { "digest": "088f526f8cae115209dd0162f28669812483ce5c926e41e8810dada1eefcb81a", - "last_commit": "1edf41a5c", + "last_commit": "450bbefd4", "name": "compiler", "purpose": "Directory tests/compiler. Purpose not yet described by a human." }, { "digest": "9e372cfc9747befacdcf31bc8643356aaff861e81ee6640b4866170be67b5e6c", - "last_commit": "28b87934b", + "last_commit": "d863780eb", "name": "constraints", "purpose": "Directory tests/constraints. Purpose not yet described by a human." }, { "digest": "87a3efa5cd0aefa7821046f9a31594bfa0a109e95005a1e12f40c99a1bc6cd3d", - "last_commit": "49abb0247", + "last_commit": "d863780eb", "name": "crumbline", "purpose": "Directory tests/crumbline. Purpose not yet described by a human." }, { "digest": "10aa3424eded7768fee0bae0eedd062b9deac3279d2e5721439fd024493bc42b", - "last_commit": "00f54b6b1", + "last_commit": "d863780eb", "name": "dual_experiment", "purpose": "Tests for the DUAL applicability experiment: determinism (same seed, byte-identical results dige" }, { "digest": "758dde696afa847d9347fad76b0c4935e968f8af4551f0f9810ec2a37ad9847a", - "last_commit": "c819b3762", + "last_commit": "d863780eb", "name": "effect", "purpose": "Directory tests/effect. Purpose not yet described by a human." }, { "digest": "23e559d13ff664995baca31dc157a8cf5a860615f3ecb07a9a40fe4626b57ae3", - "last_commit": "1a147e40f", + "last_commit": "d863780eb", "name": "estimation", "purpose": "Directory tests/estimation. Purpose not yet described by a human." }, { "digest": "b7b6391caf653c76707a21f9969126abcbc730d1243259219225fdb9bc0084e0", - "last_commit": "3108fc2f5", + "last_commit": "d863780eb", "name": "fabric", "purpose": "Directory tests/fabric. Purpose not yet described by a human." }, { "digest": "defc52a44ea0f65ba5de3468de786148ba58d292ffa217fb95629a28a569a977", - "last_commit": "28b87934b", + "last_commit": "d863780eb", "name": "identity", "purpose": "Directory tests/identity. Purpose not yet described by a human." }, { "digest": "6ba43d622b712a4215767cab29425016f29cce4b28eb9e4961fc67fd20e9d765", - "last_commit": "4f55f45ed", + "last_commit": "d863780eb", "name": "language", "purpose": "Directory tests/language. Purpose not yet described by a human." }, { "digest": "54f43a3416595ff5d4e64bd12afe013359e706651c39c78e2896a5799638d263", - "last_commit": "30bb116cc", + "last_commit": "d863780eb", "name": "malformed", "purpose": "Directory tests/malformed. Purpose not yet described by a human." }, { "digest": "a03a4dd9a72f7b449342e562f6d9df1a3348fb03fb640b662956caf163dcd7e9", - "last_commit": "40d1ea378", + "last_commit": "d863780eb", "name": "numeric_native", "purpose": "Simulated M16 driver for numeric resource-lifecycle tests. No device execution or numeric parity" }, { "digest": "d958af5413726ddc48a47721800d9766939129f480b26492332ba094577837cb", - "last_commit": "6d8d92adc", + "last_commit": "d863780eb", "name": "osh", "purpose": "osh lexer host driver, vendored aien-protocols PR#16 draft vectors (5ae5292)" }, { "digest": "65e84051bb8dc00b180c6b06bec58103773785eebd6d6c69c9783de5fd0e2ba9", - "last_commit": "d550b705b", + "last_commit": "450bbefd4", "name": "path", "purpose": "Directory tests/path. Purpose not yet described by a human." }, { "digest": "51f14936b27d3d21379cf05ea1b6b532cf3175a40844dac85f023a61e7a0912c", - "last_commit": "5901baa51", + "last_commit": "d863780eb", "name": "physics0", "purpose": "PD-0 gates: world self-test, oracle calibration, learner L0/L1/NULL, mutations, OSC differential" }, { "digest": "c8524317c751fa8f464cabc31b760cef262abba822f1843482a02e239daa81b3", - "last_commit": "61c094113", + "last_commit": "d863780eb", "name": "polyglot", "purpose": "Directory tests/polyglot. Purpose not yet described by a human." }, { "digest": "6569e2cd6dbf6f792edb5d83bf0715df9dece42ca7bd9b3a291535de0492d3aa", - "last_commit": "3c82389f7", + "last_commit": "d863780eb", "name": "program", "purpose": "Directory tests/program. Purpose not yet described by a human." }, { "digest": "c549b5b82fd026d664b35e4b1a5d7fd2aaafa13b60b541cfbba87d7522517b1d", - "last_commit": "6fdc4c33a", + "last_commit": "d863780eb", "name": "r16_inventory", "purpose": "Directory tests/r16_inventory. Purpose not yet described by a human." }, { "digest": "855bd23e4c526fb49eeb430c4ea5967d3f2f9da3a5b3aa3ec9dae5b814b11a21", - "last_commit": "46b9cad0d", + "last_commit": "d863780eb", "name": "r16_negative", "purpose": "Directory tests/r16_negative. Purpose not yet described by a human." }, { "digest": "f21be04969cbf51de17118c4f81b103f712db56fd517a1f12dd0d3ac4ff3afe4", - "last_commit": "44d8c06c3", + "last_commit": "d863780eb", "name": "r16_surface", "purpose": "Directory tests/r16_surface. Purpose not yet described by a human." }, { "digest": "b0ba3448394d5f27958c38b7233ae389e5e437e327f0859749a774fb252d6b02", - "last_commit": "40d1ea378", + "last_commit": "d863780eb", "name": "realize", "purpose": "Directory tests/realize. Purpose not yet described by a human." }, { "digest": "157018d66de5bfd149015654cf0bda1346a9cfcefe5fd552c1d54859cd9ece81", - "last_commit": "30bb116cc", + "last_commit": "d863780eb", "name": "relations", "purpose": "Directory tests/relations. Purpose not yet described by a human." }, { "digest": "e5f68362c083510e34c41f65de3ba2d553eac8a52fbc3e4cc1f69314eac9cc32", - "last_commit": "dd67f6bd7", + "last_commit": "d863780eb", "name": "reservoir", "purpose": "Reservoir tests (omega#440): Gate 1 simulator and readout checks against an independent binary64" }, { - "digest": "10d19641e4bb5b435ec6363d4ea7d3c1596af47d97b86f4de35d6ae57770241e", - "last_commit": "501d555cf", + "digest": "ca29c6eeb1baa2bb384aebe2c9dd6ccf2e677420dacd272a51de759713e38c3d", + "last_commit": "001aa63ad", "name": "runtime", "purpose": "Directory tests/runtime. Purpose not yet described by a human." }, { "digest": "467652c09505ecbd82d96a5e0e7ea24b19d9216cfd1dad7c60fa8258e47594c0", - "last_commit": "5ae192a43", + "last_commit": "d863780eb", "name": "searchtrace", "purpose": "Directory tests/searchtrace. Purpose not yet described by a human." }, { "digest": "e69616ad471704066a86bf2796776301179eada5c0aa36a7166b9aca788619f4", - "last_commit": "", + "last_commit": "ed8de5736", "name": "synapse", "purpose": "J1 parity driver for syn_codec.osc against the sealed Rust A1 corpus (aien-dev/synapse j1-codec-" }, { "digest": "5c97916fbf20310eff2e502c526337cb093e912cb48f18d44b0345ed8a3c3240", - "last_commit": "54826a37f", + "last_commit": "d863780eb", "name": "train", "purpose": "Directory tests/train. Purpose not yet described by a human." }, { "digest": "7679bd1c49c7e89d8c26ccf8dfb91478f4e6e2f584745806fa8d26061dbdbb9c", - "last_commit": "2564f57a9", + "last_commit": "d863780eb", "name": "turing", "purpose": "Directory tests/turing. Purpose not yet described by a human." }, { "digest": "930fcb9ce348c604424e5380796a77c3586a835b43d42b504325c36b12d166d7", - "last_commit": "fed4f0775", + "last_commit": "450bbefd4", "name": "visor", "purpose": "Directory tests/visor. Purpose not yet described by a human." } ], - "children_root": "sha256:0c57282ff8cf1d34e5685e2729755f2978917e66debb5423961033be9d25c902", - "compiled_at": "2026-10-29T19:08:03Z", + "children_root": "sha256:edae8bebdd8e71106ac23bb88b361b45ac6b17fa7a34167b91e4bb4620b498d1", + "compiled_at": "2026-10-30T02:54:10Z", "compiler": "crumb-compile/1", - "digest": "sha256:ea8ae97d49edc85af090218634c9bad13bcc91fa84f96e0d33fefe313704e111", + "digest": "sha256:e555efcb7a9c7848b65d411690509bbbaa3f0a1e9a983ed1c2bd4624ce1fc37d", "evidence_files": 16, "evidence_root": "sha256:96d08097822ad95f4e562c19e0ba5df5a035774c48632f1832912c40a27bd27a", "files": 1375, - "generated_at_commit": "8975287573f284dd2140b2f2b169619d3e145cf1", - "source_tree": "sha256:9548bc14096907b8a9ba4a0fd5092c442bf89f226c142a117753bb5ce59dc206" + "generated_at_commit": "0b73ee4ce74b7bdcf9982fbadf7f704fa2214956", + "source_tree": "sha256:e20392e11618e42ef0d45994b79f3684d060e6ad4c85603f1fa378ada25ce923" }, "owner_lane": "", "provenance": { diff --git a/tests/runtime/.crumb b/tests/runtime/.crumb index 9dce17c38..50bce51e0 100644 --- a/tests/runtime/.crumb +++ b/tests/runtime/.crumb @@ -7,14 +7,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-26T08:13:25Z", + "compiled_at": "2026-10-27T01:55:49Z", "compiler": "crumb-compile/1", - "digest": "sha256:10d19641e4bb5b435ec6363d4ea7d3c1596af47d97b86f4de35d6ae57770241e", + "digest": "sha256:ca29c6eeb1baa2bb384aebe2c9dd6ccf2e677420dacd272a51de759713e38c3d", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 70, - "generated_at_commit": "45f7d76919042ef821cca9ccc75c2bbf7183f712", - "source_tree": "sha256:6d63521e1c1f8eea1bf172d18bde2e6f4fc7c084e9506bc1cc088f8b9ff339d6" + "generated_at_commit": "001aa63ad89220ef91e0898b5d41972fe74bbf09", + "source_tree": "sha256:5f25da70f30ed1798a3e4f418b477dbd7dd24da190bb22aeec289fc8f4d6872a" }, "owner_lane": "", "provenance": { diff --git a/tests/runtime/rx_r13_living.c b/tests/runtime/rx_r13_living.c index a390362be..80fb34a26 100644 --- a/tests/runtime/rx_r13_living.c +++ b/tests/runtime/rx_r13_living.c @@ -14,12 +14,12 @@ * limitations under the License. */ - /* Timing sensitivity (omega #313 item 1): `target` is 55 percent of the incumbent cost AIEN confirmed - * on the old core class, and `final_expected` is the cost AIEN later confirmed on the new one. Both - * are wall-clock (CLOCK_MONOTONIC) measurements taken at different times, so CPU contention that - * slows the second more than the first can miss the goal. The check is deliberately unchanged: a - * CPU-time or repeat-and-median variant needs the measurement in src/runtime (rx_omega.c, rx_aien.c) - * changed, which is outside this test program and a separate, declared change. */ + /* Timing sensitivity (omega #313 item 1, #527): `target` is 55 percent of the incumbent cost AIEN + * confirmed on the old core class, and `final_expected` is the cost AIEN later confirmed on the new + * one. Both are measured on this machine, as the CPU time the serving thread spent in the matvec + * (rx_omega.c cost_ns). Wall-clock time counted a preemption or a busy neighbour as cost: on a + * loaded host a slow interval failed AIEN's prediction before the goal, or tipped Omega's first + * selection, and the episode could not start. The checks are unchanged. */ /* R13: one world; after the goal, only production requests and observation. */ #include "runtime/rx_living.h" #include "runtime/rx_resident_gpu.h" ```