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/benchmarks-mv/blob/main/native/neuralese/nl1r/boundary-oracle.om # benchmarks-mv Measurement harnesses and evidence bundles for AIEN on the NVIDIA DGX Spark GB10. Speed is reported against the machine's physical limit and my own previous run. Attachment of AienOS. 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 `benchmarks-mv / native / neuralese / nl1r / boundary-oracle.om` 200 lines ยท 3121 bytes Raw Blame History 1 note Compose after io.om, arithmetic.om and judge.om through jreport (not main). 2 note This post-reveal transport oracle cannot change frozen scientific metrics. 3 note No output is released before all 240 producer rows and EOF validate. 4 global BCases ulong 2400 5 global BCount ulong 1 6 text BRec "B," 7 text BOut "O,NL4R1 0 3 " 8 text BTail " 0 1 1 0 1 0 " 9 text BErr "E,NL4R1 " 10 text BZeros " 0 0 0 0 0 0 0 0 0\n" 11 text BDone "D\n" 12 fn bjput row ulong col ulong v ulong to void 13 put BCases add mul row 10 col v 14 end 15 fn bjget row ulong col ulong to ulong 16 ret get BCases add mul row 10 col 17 end 18 fn bjkeep row ulong to void 19 bjput row 0 get JR 0 20 bjput row 1 get JR 49 21 bjput row 2 get JR 1 22 bjput row 3 get JC 1 23 pred = ulong 0 24 abst = ulong 0 25 if eq get JR 1 2 26 abst = 1 27 else 28 for j ulong 4 29 if ge get JS j 0.5f64 30 pred = or pred shl 1 j 31 end 32 if and jactive j lt fabs sub get JS j 0.5f64 0.1f64 33 abst = 1 34 end 35 end 36 end 37 bjput row 4 pred 38 bjput row 5 jtarget 39 bjput row 6 abst 40 bjput row 7 0 41 end 42 fn bjctrl pred ulong target ulong task ulong abst ulong kind ulong to void 43 row = get BCount 0 44 bjput row 0 row 45 bjput row 3 task 46 bjput row 4 pred 47 bjput row 5 target 48 bjput row 6 abst 49 bjput row 7 kind 50 put BCount 0 add row 1 51 end 52 fn bjexpect row ulong to void 53 pred = bjget row 4 54 target = bjget row 5 55 task = bjget row 3 56 abst = bjget row 6 57 kind = bjget row 7 58 rc = ulong 0 59 frames = ulong 0 60 if or gt task 2 or gt pred 15 gt target 15 61 rc = 80 62 end 63 if and eq task 1 or gt pred 1 gt target 1 64 rc = 80 65 end 66 if or eq kind 4 eq kind 5 67 rc = 80 68 end 69 if eq rc 0 70 if eq abst 1 71 rc = 2 72 else 73 if eq kind 3 74 rc = 80 75 else 76 frames = 1 77 if eq kind 1 78 rc = 11 79 else 80 if eq kind 2 81 rc = 18 82 else 83 if ne and pred 3 and target 3 84 rc = 49 85 else 86 if ne task 1 87 frames = 2 88 if ne and shr pred 2 3 and shr target 2 3 89 rc = 49 90 end 91 end 92 end 93 end 94 end 95 end 96 end 97 end 98 bjput row 8 rc 99 bjput row 9 frames 100 end 101 fn bjprint row ulong to void 102 bjexpect row 103 jout BRec 104 for i ulong 10 105 if eq i 9 106 jnumber bjget row i 107 else 108 jfield bjget row i 109 end 110 end 111 jout JLF 112 rc = bjget row 8 113 if eq rc 0 114 chunks = ulong 2 115 if eq bjget row 3 1 116 chunks = 1 117 end 118 for c ulong chunks 119 v = and shr bjget row 4 mul c 2 3 120 jout BOut 121 jnumber v 122 jout BTail 123 jnumber v 124 jout JLF 125 end 126 else 127 jout BErr 128 jnumber rc 129 jout BZeros 130 end 131 jout BDone 132 end 133 fn bjtests to void 134 bjctrl 6 6 2 0 0 135 bjctrl 9 9 2 0 0 136 bjctrl 0 0 2 0 0 137 bjctrl 15 15 2 0 0 138 bjctrl 1 1 1 0 0 139 bjctrl 0 0 1 0 0 140 bjctrl 6 2 2 0 0 141 bjctrl 6 4 2 0 0 142 bjctrl 1 0 1 0 0 143 bjctrl 2 2 1 0 0 144 bjctrl 1 1 3 0 0 145 bjctrl 16 1 2 0 0 146 bjctrl 6 6 2 1 0 147 bjctrl 6 6 2 0 4 148 bjctrl 6 6 2 0 3 149 bjctrl 6 6 2 0 5 150 bjctrl 6 6 2 0 1 151 bjctrl 6 6 2 0 2 152 for i ulong get BCount 0 153 bjprint i 154 end 155 jout JEND 156 end 157 fn main to int 158 note An extra argument selects fixed argument/envelope/abstention control cases. 159 if eq argcnt 2 160 bjtests 161 ret 0 162 end 163 if ne argcnt 1 164 jinvalid 165 end 166 jheader 167 if ne get JC 0 2 168 jinvalid 169 end 170 for i ulong 240 171 group = jparse_row 172 jwirecheck 173 jgrade group 174 bjkeep i 175 end 176 for group ulong 15 177 if ne get Seen group 65535 178 jinvalid 179 end 180 end 181 jexpect 84 182 jexpect 44 183 start = jvalue 44 184 finish = jvalue 10 185 if or eq start 0 lt finish start 186 jinvalid 187 end 188 jexpect 69 189 jexpect 78 190 jexpect 68 191 jexpect 10 192 if ne jnext -1 193 jinvalid 194 end 195 for i ulong 240 196 bjprint i 197 end 198 jout JEND 199 ret 0 200 end