code wiki / _hdl_build / nx_dr_fuse_cli.nx
nx_dr_fuse_cli.nx
buildroot/runtime/_hdl_build/nx_dr_fuse_cli.nx
about
nx_dr_fuse_cli.nx -- fit the learned combiner on REAL DRBench labels and report HELD-OUT
performance against every individual signal (DR-12).
nx_dr_fuse <feats.csv> [train_percent]
feats.csv = flat comma-separated ints, 5 per candidate: task,label,lexical,semantic,semantic_idf
Weights are fitted ONLY on the first train_percent of tasks and every reported number is
computed ONLY on the DISJOINT remainder -- fitting and scoring on the same tasks would be
rigged, so the split is explicit and reported.
license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0
dependencies 3 imports · 0 importers
imports: nx_dr_fuse.nxnx_itoa_lib.nxnx_syscalls.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 12 | const K_MAGIC_1000000: i64 = 1000000 |
| 13 | const K_MAGIC_262144: i64 = 262144 |
functions
| 15 | func fc_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 16 | func fc_q() -> i64 { let b: *u8 = sys_mmap(1); b[0] = 34 as u8; sys_write(1, b, 1); return 0 } |
| 17 | func fc_key(name: *u8) -> i64 { fc_q(); fc_puts(name); fc_q(); fc_puts(":" as *u8); return 0 } |
| 22 | func fc_num(v: i64) -> i64 { nxi_out(v); return 0 } |
| 24 | func fc_parse(buf: *u8, len: i64, out: *i64, maxn: i64) -> i64 called by 1: main |
| 36 | func fc_row(name: *u8, r: *i64, n: i64, w: *i64, lo: i64) -> i64 |
| 41 | func main(argc: i64, argv: *i64) -> i64 |