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/blob/main/core/rsi/tests/reuse-eval/judge-end.om # 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 branch `main` Branches Tags History `omega-mv / core / rsi / tests / reuse-eval / judge-end.om` 103 lines ยท 1758 bytes Raw Blame History 1 note units: sha256 ref judge 2 note needs: arm 3 note SPDX-License-Identifier: Apache-2.0 4 note K17 END validation and the arm-order permutation. The expected permutations for splitmix64 seed 0 5 note were computed outside the judge from the published splitmix64 constants (reviewer's vector for the 6 note first draw; the second continues the same state). 7 text JEMODES "fullendbadendstendeofendexit" 8 text JEP1 "`25034617`" 9 text JEP2 "`37056214`" 10 fn jeset off ulong n ulong rep ulong to void 11 jdsclr 8 12 for i ulong n 13 jdsc 8 get JEMODES add off i 14 end 15 put JDC 10 1 16 put JDC 11 0 17 put JDC 12 rep 18 put JDC 16 JDNONE 19 put JDC 17 JDNONE 20 put JDC 19 1 21 jdcnt0 22 jdctsyn 16 1 23 end 24 note run one fake arm; returns 0 when proc.log record rep has exit word want and a nonzero END time 25 fn jerun off ulong n ulong rep ulong want ulong to int 26 jeset off n rep 27 e = jdpgroup 0 get JDK 0 28 if ne e 0 29 ret 1 30 end 31 if ne get JDA 1 0 32 ret 2 33 end 34 jdspath 0 4 JWPLOG 8 35 x = jdldw 0 JDLOGW 4096 36 if ne ulong x mul add rep 1 16 37 ret 3 38 end 39 b = add JDLOGW mul rep 16 40 if ne get JDM add b 10 want 41 ret 4 42 end 43 if eq get JDM add b 15 0 44 ret 5 45 end 46 if ne get JDM add b 11 get JDK 0 47 ret 6 48 end 49 ret 0 50 end 51 fn jeperm want view uchar 8 to int 52 jdperm 8 53 for i ulong 8 54 if ne get JDM add add JMSC 16 i sub ulong get want i 48 55 ret 1 56 end 57 end 58 ret 0 59 end 60 fn main to int 61 if ne argcnt 3 62 ret 2 63 end 64 for i ulong 8 65 put JDM add JMSC i i 66 end 67 put JDSM 0 0 68 if ne jeperm JEP1 0 69 ret 60 70 end 71 if ne jeperm JEP2 0 72 ret 61 73 end 74 b = jdsarg 4 1 75 b = jdsarg 5 2 76 jdsdsh 7 77 jdsdsh 9 78 jdsdsh 10 79 jdsdsh 11 80 jdsdsh 12 81 jdsdsh 13 82 e = jerun 0 4 0 0 83 if ne e 0 84 ret add 10 e 85 end 86 e = jerun 4 6 1 1024 87 if ne e 0 88 ret add 20 e 89 end 90 e = jerun 10 5 2 1024 91 if ne e 0 92 ret add 30 e 93 end 94 e = jerun 15 6 3 1541 95 if ne e 0 96 ret add 40 e 97 end 98 e = jerun 21 7 4 7 99 if ne e 0 100 ret add 50 e 101 end 102 ret 0 103 end