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/tests/brownian/brw_act_report.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 / tests / brownian / brw_act_report.om` 60 lines ยท 1170 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 2 note Copyright 2026 Drake Stapleton (AIEN / aien-dev) 3 note 4 note tests/brownian/brw_act_report.om -- Report statistics for BRW-ACT runner 5 note and re-analysis tool in pure seeded OM-2. 6 7 global g_brw_k f64 600 8 global g_brw_cov f64 3 9 global g_brw_p4 ulong 3 10 11 fn brwr_coverage n ulong m ulong to void 12 s = f64 0.0 13 mf = f64 m 14 for i ulong n 15 s = add s div get g_brw_k i mf 16 end 17 p = div s f64 n 18 ss = f64 0.0 19 for i ulong n 20 d = sub div get g_brw_k i mf p 21 ss = add ss mul d d 22 end 23 h = f64 1.0 24 if gt n 1 25 h = mul f64 1.959964 fsqrt div div ss f64 sub n 1 f64 n 26 end 27 lo = sub p h 28 if lt lo f64 0.0 29 lo = f64 0.0 30 end 31 hi = add p h 32 if gt hi f64 1.0 33 hi = f64 1.0 34 end 35 put g_brw_cov 0 p 36 put g_brw_cov 1 lo 37 put g_brw_cov 2 hi 38 end 39 40 fn brwr_p4 cn ulong cd ulong nper ulong dev1 ulong to ulong 41 lim = mul f64 0.05 f64 nper 42 nok = ulong 0 43 if le f64 cn lim 44 nok = 1 45 end 46 dok = ulong 1 47 if ne dev1 0 48 if gt f64 cd lim 49 dok = 0 50 end 51 end 52 all = ulong 0 53 if and ne nok 0 ne dok 0 54 all = 1 55 end 56 put g_brw_p4 0 all 57 put g_brw_p4 1 nok 58 put g_brw_p4 2 dok 59 ret all 60 end