code wiki / _hdl_build / nx_magicnum_detector_register.nx
nx_magicnum_detector_register.nx
buildroot/runtime/_hdl_build/nx_magicnum_detector_register.nx
about
nx_magicnum_detector_register.nx -- SUBMIT the team-authored magic-number DETECTOR (discovered by feature-
selection synthesis in the NEW text-scan domain, nx_magicnum_synth) to the team's Council governance,
author=emitter. ENGINEER evidence (live): the detector (mask 51) scores 7/7 on the benchmark cases AND 3/3 on
held-out it never trained on. RACI: author(1) SUBMITS, Council(2) ADMITS. Claude tutored the scan substrate;
the TEAM discovered the detector -> author=emitter for the discovered capability. license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_cap_register.nxnx_capreg_librarian.nxnx_syscalls.nx
imported by: nobody (leaf or entry point)
structs
| none |
consts
| none |
functions
| 10 | func slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } called by 1: match_at |
| 11 | func is_digit(c: u8) -> i64 { if c>=(48 as u8) { if c<=(57 as u8) { return 1 } } return 0 } |
| 12 | func is_alnum_us(c: u8) -> i64 |
| 19 | func match_at(buf: *u8, i: i64, len: i64, lit: *u8) -> i64 |
| 24 | func trit_pass(t: i64, pv: i64) -> i64 { if t==0 { return 1 } if t==1 { if pv==1 { return 1 } return 0 } if pv==0 { return 1 } return 0 } |
| 25 | func scan_count(buf: *u8, len: i64, mask: i64) -> i64 calls 1: match_at |
| 53 | func main() -> i64 |