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/aien-train/blob/main/evidence/OMEGALLM/wsp-ctl-traces-20261107/gate-om-20261107/oracle-seq0.wl # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-train / evidence / OMEGALLM / wsp-ctl-traces-20261107 / gate-om-20261107 / oracle-seq0.wl` 193 lines ยท 12657 bytes Raw Blame History 1 Module[{j, s0, s1, cpu, busy, la, psi, mi, g, gk, u, uv, chk, res}, 2 j = ImportString["{\"battery_runtime_s\": 1600, \"core_busy_pct\": {\"c0\": 17.53, \"c1\": 12.86, \"c10\": 11.36, \"c11\": 14.11, \"c12\": 16.06, \"c13\": 22.95, \"c14\": 24.04, \"c15\": 18.55, \"c16\": 100.0, \"c17\": 19.27, \"c18\": 35.14, \"c19\": 100.0, \"c2\": 13.67, \"c3\": 12.58, \"c4\": 69.34, \"c5\": 83.53, \"c6\": 98.39, \"c7\": 9.9, \"c8\": 8.47, \"c9\": 9.33}, \"gpu_mem_util_pct\": 0.0, \"gpu_power_w\": 44.77, \"gpu_pstate\": \"P0\", \"gpu_sm_mhz\": 2099.0, \"gpu_temp_c\": 72.0, \"gpu_util_pct\": 93.0, \"input_voltage\": 121, \"loadavg\": [7.6, 7.61, 7.6], \"mem\": {\"MemAvailable_kb\": `75044120`, \"MemTotal_kb\": `127598532`, \"SwapFree_kb\": 0, \"SwapTotal_kb\": 0}, \"psi_cpu\": {\"full_avg10\": 0.0, \"full_avg300\": 0.0, \"full_avg60\": 0.0, \"full_total\": 0, \"some_avg10\": 1.13, \"some_avg300\": 0.98, \"some_avg60\": 1.1, \"some_total\": `69290190012`}, \"psi_io\": {\"full_avg10\": 0.03, \"full_avg300\": 1.75, \"full_avg60\": 1.05, \"full_total\": `12750908879`, \"some_avg10\": 0.03, \"some_avg300\": 1.88, \"some_avg60\": 1.16, \"some_total\": `13617896426`}, \"psi_mem\": {\"full_avg10\": 0.0, \"full_avg300\": 0.0, \"full_avg60\": 0.0, \"full_total\": `1060547589`, \"some_avg10\": 0.0, \"some_avg300\": 0.0, \"some_avg60\": 0.0, \"some_total\": `1118312292`}, \"runnable\": \"6/3851\", \"sample_cost_us\": 96825, \"seq\": 0, \"thermal_c\": {\"tz0\": 82.5, \"tz1\": 73.3, \"tz2\": 77.5, \"tz3\": 72.9, \"tz4\": 82.5, \"tz5\": 79.8, \"tz6\": 75.7}, \"ts_unix\": `1794037454`.548, \"ts_utc\": \"2026-11-07T07:44:14Z\", \"ups_load_pct\": 26, \"ups_realpower_nominal_w\": 1000, \"ups_status\": \"OL\"}", "RawJSON"]; 3 s0 = "cpu `43938687` `193796262` `69171878` `1277508778` `14741810` 0 421113 0 0 301 4 cpu0 `1532253` `5479494` `3349820` `67864734` `1004801` 0 20510 0 0 9 5 cpu1 `1384976` `6933450` `3105232` `67443826` 912622 0 57276 0 0 0 6 cpu2 `1313916` `5733833` `3232540` `68517098` `1090706` 0 4411 0 0 0 7 cpu3 `1290585` `6566029` `3094083` `68162243` 854708 0 4098 0 0 51 8 cpu4 `1216304` `6776826` `3128442` `68104326` 739108 0 4054 0 0 9 9 cpu5 `4937185` `7352244` `3351824` `63676389` 718028 0 8792 0 0 16 10 cpu6 `3262685` `12553928` `3250710` `60432909` 583586 0 6176 0 0 12 11 cpu7 `3361925` `10095733` `3015636` `62992287` 603536 0 7114 0 0 53 12 cpu8 `3372383` `11679602` `3364406` `61101040` 551177 0 7225 0 0 20 13 cpu9 `3063986` `12764442` `3062060` `60775160` 444245 0 6278 0 0 0 14 cpu10 `1120682` `14162992` `5307403` `58525123` 870246 0 5118 0 0 25 15 cpu11 `1126031` `14103019` `5141468` `58893390` 770046 0 4742 0 0 38 16 cpu12 `1168579` `11503240` `3589944` `62788106` 954814 0 4067 0 0 30 17 cpu13 `1335984` `11233465` `3508572` `62808200` 660437 0 223619 0 0 0 18 cpu14 `1292647` `11933934` `3527654` `62632391` 638642 0 20376 0 0 0 19 cpu15 `2929660` `9363981` `3326971` `63616718` 709433 0 7461 0 0 10 20 cpu16 `2802642` `8825468` `3324046` `64390160` 730386 0 7446 0 0 0 21 cpu17 `2793085` `8854446` `3190924` `64564398` 694111 0 7406 0 0 17 22 cpu18 `2380313` `8954688` `3190793` `64932096` 654901 0 7421 0 0 3 23 cpu19 `2252858` `8925439` `3109342` `65288176` 556267 0 7515 0 0 0 24 intr `13447617406` 0 `360840841` `16616311` 0 0 `65776026` `1303002` 0 0 2 0 2258 `3385517105` 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 0 `2568918` 420521 41 0 0 6101 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 358 0 0 0 0 0 0 0 0 0 0 0 `222193321` 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 1 0 1 0 0 1 0 0 1 0 0 0 0 `85565399` 0 0 0 0 0 0 0 `92168822` 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 42568 `63588772` `65700286` `57957593` `34793541` `33021149` `30654622` `26385144` `71650872` `73042590` `32634676` `32359589` `28813965` `27425572` `25489615` `20765294` 5206 0 136047 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 182683 25 ctxt `14638429882` 26 btime `1793232395` 27 processes `376466975` 28 procs_running 12 29 procs_blocked 0 30 softirq `3984529944` 710656 `326358094` 35884 `354915690` `26703069` 0 `5235045` `590953383` `5581878` `2674036245` 31 "; s1 = "cpu `43939499` `193798330` `69172457` `1277515151` `14741862` 0 421119 0 0 301 32 cpu0 `1532311` `5479503` `3349838` `67865128` `1004807` 0 20510 0 0 9 33 cpu1 `1385017` `6933453` `3105250` `67444241` 912634 0 57277 0 0 0 34 cpu2 `1313962` `5733838` `3232556` `68517514` `1090713` 0 4411 0 0 0 35 cpu3 `1290632` `6566030` `3094097` `68162672` 854710 0 4098 0 0 51 36 cpu4 `1216309` `6777160` `3128449` `68104479` 739108 0 4054 0 0 9 37 cpu5 `4937186` `7352394` `3352089` `63676460` 718039 0 8792 0 0 16 38 cpu6 `3262685` `12554417` `3250711` `60432917` 583586 0 6176 0 0 12 39 cpu7 `3361955` `10095739` `3015649` `62992727` 603542 0 7114 0 0 53 40 cpu8 `3372399` `11679611` `3364423` `61101493` 551178 0 7225 0 0 20 41 cpu9 `3064007` `12764446` `3062081` `60775607` 444245 0 6278 0 0 0 42 cpu10 `1120720` `14162994` `5307419` `58525559` 870247 0 5118 0 0 25 43 cpu11 `1126074` `14103022` `5141492` `58893815` 770047 0 4742 0 0 38 44 cpu12 `1168631` `11503246` `3589965` `62788517` 954816 0 4067 0 0 30 45 cpu13 `1336062` `11233475` `3508592` `62808576` 660437 0 223623 0 0 0 46 cpu14 `1292733` `11933944` `3527677` `62632767` 638642 0 20376 0 0 0 47 cpu15 `2929736` `9363982` `3326986` `63617122` 709433 0 7461 0 0 10 48 cpu16 `2802642` `8825968` `3324046` `64390160` 730386 0 7446 0 0 0 49 cpu17 `2793131` `8854464` `3190955` `64564793` 694114 0 7406 0 0 17 50 cpu18 `2380441` `8954696` `3190832` `64932418` 654902 0 7421 0 0 3 51 cpu19 `2252858` `8925940` `3109342` `65288176` 556267 0 7515 0 0 0 52 intr `13447745110` 0 `360842547` `16652895` 0 0 `65776194` `1303013` 0 0 2 0 2258 `3385600052` 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 0 `2568923` 420521 41 0 0 6101 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 358 0 0 0 0 0 0 0 0 0 0 0 `222195842` 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 1 0 1 0 0 1 0 0 1 0 0 0 0 `85566845` 0 0 0 0 0 0 0 `92170350` 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 42568 `63588784` `65700309` `57957598` `34793541` `33021269` `30654626` `26385144` `71651122` `73042688` `32634676` `32359780` `28813965` `27425638` `25489625` `20765302` 5206 0 136047 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 182683 53 ctxt `14638545944` 54 btime `1793232395` 55 processes `376468326` 56 procs_running 5 57 procs_blocked 0 58 softirq `3984567983` 710658 `326361650` 35884 `354920934` `26703073` 0 `5235124` `590958747` `5581928` `2674059985` 59 "; 60 cpu[s_] := Association@Cases[StringSplit[s, "\n"], l_ /; StringMatchQ[l, "cpu" ~~ DigitCharacter .. ~~ " " ~~ ___] :> (StringReplace[First[StringSplit[l]], "cpu" -> "c"] -> ToExpression /@ Take[Rest[StringSplit[l]], 8])]; 61 busy = Association@KeyValueMap[Function[{c, b}, c -> With[{a = cpu[s0][c]}, With[{dt = Total[b] - Total[a], di = b[[4]] + b[[5]] - a[[4]] - a[[5]]}, If[dt > 0, 100 (dt - di)/dt, Null]]]], cpu[s1]]; 62 la = StringSplit["7.60 7.61 7.60 6/3851 `3357045` 63 "]; 64 psi[t_] := Association@Flatten@Map[Function[l, With[{w = StringSplit[l]}, (First[w] <> "_" <> First[#] -> ToExpression[Last[#]]) & /@ (StringSplit[#, "="] & /@ Rest[w])]], StringSplit[t, "\n"]]; 65 mi = Association@Cases[StringSplit["MemTotal: `127598532` kB 66 MemFree: `37850948` kB 67 MemAvailable: `75044120` kB 68 Buffers: `7494072` kB 69 Cached: `30801164` kB 70 SwapCached: 0 kB 71 Active: `20845792` kB 72 Inactive: `34419064` kB 73 Active(anon): `18162248` kB 74 Inactive(anon): `14571796` kB 75 Active(file): `2683544` kB 76 Inactive(file): `19847268` kB 77 Unevictable: 31020 kB 78 Mlocked: 22912 kB 79 SwapTotal: 0 kB 80 SwapFree: 0 kB 81 Zswap: 0 kB 82 Zswapped: 0 kB 83 Dirty: 26388 kB 84 Writeback: 0 kB 85 AnonPages: `17001424` kB 86 Mapped: `8739040` kB 87 Shmem: `15762568` kB 88 KReclaimable: `20855984` kB 89 Slab: `24285388` kB 90 SReclaimable: `20855984` kB 91 SUnreclaim: `3429404` kB 92 KernelStack: 61904 kB 93 ShadowCallStack: 15580 kB 94 PageTables: 236484 kB 95 SecPageTables: 56976 kB 96 NFS_Unstable: 0 kB 97 Bounce: 0 kB 98 WritebackTmp: 0 kB 99 CommitLimit: `63799264` kB 100 Committed_AS: `178618084` kB 101 VmallocTotal: `135288315904` kB 102 VmallocUsed: 261424 kB 103 VmallocChunk: 0 kB 104 Percpu: 52800 kB 105 HardwareCorrupted: 0 kB 106 AnonHugePages: `1949696` kB 107 ShmemHugePages: 0 kB 108 ShmemPmdMapped: 0 kB 109 FileHugePages: 75776 kB 110 FilePmdMapped: 0 kB 111 CmaTotal: 0 kB 112 CmaFree: 81140 kB 113 Balloon: 0 kB 114 HugePages_Total: 0 115 HugePages_Free: 0 116 HugePages_Rsvd: 0 117 HugePages_Surp: 0 118 Hugepagesize: 2048 kB 119 Hugetlb: 0 kB 120 ", "\n"], l_ :> (StringTrim[First[StringSplit[l, ":"]]] <> "_kb" -> ToExpression[First[StringSplit[Last[StringSplit[l, ":"]]]]])]; 121 g = StringTrim /@ StringSplit[First[StringSplit["93, 0, 44.77, 72, 2099, P0 122 ", "\n"]], ","]; 123 gk = {"gpu_util_pct", "gpu_mem_util_pct", "gpu_power_w", "gpu_temp_c", "gpu_sm_mhz", "gpu_pstate"}; 124 u = Association@Cases[StringSplit["battery.charge: 100 125 battery.charge.low: 10 126 battery.charge.warning: 20 127 battery.mfr.date: CPS 128 battery.runtime: 1600 129 battery.runtime.low: 300 130 battery.type: PbAcid 131 battery.voltage: 27.2 132 battery.voltage.nominal: 24 133 device.mfr: CPS 134 device.model: CP1500PFCLCDa 135 device.serial: CXXRQ7011530 136 device.type: ups 137 driver.debug: 0 138 driver.flag.allow_killpower: 0 139 driver.name: usbhid-ups 140 driver.parameter.pollfreq: 30 141 driver.parameter.pollinterval: 2 142 driver.parameter.port: auto 143 driver.parameter.synchronous: auto 144 driver.parameter.vendorid: 0764 145 driver.state: updateinfo 146 driver.version: 2.8.1 147 driver.version.data: CyberPower HID 0.8 148 driver.version.internal: 0.52 149 driver.version.usb: libusb-1.0.27 (API: 0x100010a) 150 input.voltage: 121.0 151 input.voltage.nominal: 120 152 output.voltage: 121.0 153 ups.beeper.status: enabled 154 ups.delay.shutdown: 20 155 ups.delay.start: 30 156 ups.load: 26 157 ups.mfr: CPS 158 ups.model: CP1500PFCLCDa 159 ups.productid: 0601 160 ups.realpower.nominal: 1000 161 ups.serial: CXXRQ7011530 162 ups.status: OL 163 ups.test.result: No test initiated 164 ups.timer.shutdown: -60 165 ups.timer.start: -60 166 ups.vendorid: 0764 167 ", "\n"], l_ /; StringContainsQ[l, ": "] :> (First[StringSplit[l, ": ", 2]] -> Last[StringSplit[l, ": ", 2]])]; 168 uv[key_] := ToExpression[u[key]]; 169 chk[name_, exp_, got_, tol_] := {name, exp, got, If[StringQ[exp] || exp === Null, exp === got, Abs[exp - got] <= tol]}; 170 res = Join[ 171 KeyValueMap[chk["core_busy_pct." <> #1, #2, j["core_busy_pct"][#1], 1/200] &, busy], 172 MapIndexed[chk["loadavg." <> ToString[First[#2] - 1], ToExpression[#1], j["loadavg"][[First[#2]]], 0] &, Take[la, 3]], 173 {chk["runnable", la[[4]], j["runnable"], 0]}, 174 Flatten[Table[With[{ps = psi[t[[2]]]}, KeyValueMap[chk[t[[1]] <> "." <> #1, #2, j[t[[1]]][#1], 0] &, ps]], {t, {{"psi_cpu", "some avg10=1.13 avg60=1.10 avg300=0.98 total=`69290190012` 175 full avg10=0.00 avg60=0.00 avg300=0.00 total=0 176 "}, {"psi_mem", "some avg10=0.00 avg60=0.00 avg300=0.00 total=`1118312292` 177 full avg10=0.00 avg60=0.00 avg300=0.00 total=`1060547589` 178 "}, {"psi_io", "some avg10=0.03 avg60=1.16 avg300=1.88 total=`13617896426` 179 full avg10=0.03 avg60=1.05 avg300=1.75 total=`12750908879` 180 "}}}], 1], 181 MapIndexed[chk["thermal_c.tz" <> ToString[First[#2] - 1], ToExpression[StringTrim[#1]]/1000, j["thermal_c"]["tz" <> ToString[First[#2] - 1]], 0] &, {"82500 182 ", "73300 183 ", "77500 184 ", "72900 185 ", "82500 186 ", "79800 187 ", "75700 188 "}], 189 chk["mem." <> #, mi[#], j["mem"][#], 0] & /@ {"MemTotal_kb", "MemAvailable_kb", "SwapTotal_kb", "SwapFree_kb"}, 190 MapThread[chk[#1, If[StringMatchQ[#2, NumberString], ToExpression[#2], #2], j[#1], 0] &, {gk, g}], 191 {chk["ups_load_pct", uv["ups.load"], j["ups_load_pct"], 0], chk["ups_realpower_nominal_w", uv["ups.realpower.nominal"], j["ups_realpower_nominal_w"], 0], chk["ups_status", u["ups.status"], j["ups_status"], 0], chk["input_voltage", uv["input.voltage"], j["input_voltage"], 0], chk["battery_runtime_s", uv["battery.runtime"], j["battery_runtime_s"], 0]}, 192 {chk["ts_utc_vs_ts_unix", DateString[FromUnixTime[Floor[j["ts_unix"]], TimeZone -> 0], {"Year", "-", "Month", "-", "Day", "T", "Hour", ":", "Minute", ":", "Second", "Z"}], j["ts_utc"], 0]}]; 193 <|"seq" -> j["seq"], "checked" -> Length[res], "failed" -> Select[res, ! Last[#] &], "rows" -> ({#[[1]], If[NumericQ[#[[2]]] && ! IntegerQ[#[[2]]], N[#[[2]], 8], #[[2]]], #[[3]], #[[4]]} & /@ res)|>]