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-calib.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-calib.om` 87 lines ยท 1334 bytes Raw Blame History 1 note units: sha256 ref judge 2 note SPDX-License-Identifier: Apache-2.0 3 fn main to int 4 n = ulong 0 5 n = jdpair 0 30 n 6 n = jdpair 0 10 n 7 n = jdpair 0 20 n 8 n = jdpair 12 8 n 9 n = jdpair 12 4 n 10 n = jdpair 24 6 n 11 n = jdpair 24 2 n 12 n = jdpair 72 19 n 13 n = jdpair 200 120 n 14 n = jdpair 200 100 n 15 n = jdpair 100 190 n 16 n = jdpair 100 150 n 17 n = jdpair 205 1000 n 18 n = jdpair 105 1200 n 19 jdcalout n 12345 20 if ne get JDM JMEX `3544386010811150674` 21 ret 1 22 end 23 if ne get JDM add JMEX 2 12345 24 ret 2 25 end 26 if ne get JDM add JMEX 8 20 27 ret 3 28 end 29 if ne get JDM add JMEX 9 30 30 ret 4 31 end 32 if ne get JDM add JMEX 32 4 33 ret 5 34 end 35 if ne get JDM add JMEX 33 8 36 ret 6 37 end 38 if ne get JDM add JMEX 56 2 39 ret 7 40 end 41 if ne get JDM add JMEX 152 19 42 ret 8 43 end 44 if ne get JDM add JMEX 80 50 45 ret 9 46 end 47 if ne get JDM add JMEX 81 90 48 ret 10 49 end 50 if ne get JDM add JMEX 192 200 51 ret 11 52 end 53 if ne get JDM add JMEX 193 200 54 ret 12 55 end 56 if ne get JDM add JMEX 190 0 57 ret 13 58 end 59 if ne jdfloor1 10 20 1 60 ret 14 61 end 62 if ne jdccls 0 0 63 ret 15 64 end 65 if ne jdccls 1 1 66 ret 16 67 end 68 if ne jdccls 64 2 69 ret 17 70 end 71 if ne jdccls 65 3 72 ret 18 73 end 74 note Harness mutant: change one expected value and require correctness to flip to wrong. 75 put JDM JMEX 0 76 put JDM add JMEX 2 17 77 put JDM add JMEX 3 2 78 put JDC 10 1 79 if ne jdcorr 2 0 0 17 2 JMEX 1 80 ret 19 81 end 82 put JDM add JMEX 2 18 83 if ne jdcorr 2 0 0 17 2 JMEX 0 84 ret 20 85 end 86 ret 0 87 end