code wiki / _hdl_build / nx_builder_authors_eval_factor.nx
nx_builder_authors_eval_factor.nx source
↩ module page · 17 lines · 956 B
1// nx_builder_authors_eval_factor.nx -- the BUILDER authors EVAL rung 3 (factor attribution:
2// TRIANGLE verdicts x GENREC input vectors -> per-factor good/bad permil; context rot and
3// phrase position become measured) + the O-lane operator flag writer. license_tier: ORIGINAL
4import "nx_module_author_data.nx"
5import "nx_syscalls.nx"
6func _bef(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
7func main() -> i64 {
8 _bef("BUILDER authors EVAL rung 3 factor attribution + O-lane flag writer\n" as *u8)
9 let fd: i64 = sys_openat_wr("runtime/_hdl_build/_eval_factor_authored.nx" as *u8, 0x1a4)
10 ma_emit_eval_factor(fd)
11 sys_close(fd)
12 let fd2: i64 = sys_openat_wr("runtime/_hdl_build/_eval_flag_authored.nx" as *u8, 0x1a4)
13 ma_emit_eval_flag(fd2)
14 sys_close(fd2)
15 _bef(" -> _eval_factor_authored.nx + _eval_flag_authored.nx authored; Engineer gates next\n" as *u8)
16 sys_exit(0); return 0
17}