code wiki / _hdl_build / nx_comprehensiveness.nx

nx_comprehensiveness.nx

buildroot/runtime/_hdl_build/nx_comprehensiveness.nx

7301 B163 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_comprehensiveness.nx -- the FEATURE-COMPLETENESS gauge for the competitive map. Operator: "we truly wont have an s class exceed till we ... synthesize into a FEATURE-COMPLETE comprehensive competitive map." So completeness is MEASURED: comprehensiveness = (capabilities WE have charted in comp_matrix) / (published total per system, from incumbent_scale.tsv). Tells us the HONEST distance to feature-complete + the harvest backlog (functions still to find). Emits -> knowledge/status/comprehensiveness.log. module: nishi-core.analyst.comprehensiveness depends: nishi-core.sys.syscalls capability: COMPETITIVE_MAP_COMPLETENESS_GAUGE license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_itoa_lib.nx nx_comprehensiveness.nx

imports: nx_syscalls.nxnx_itoa_lib.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap co_read sys_openat_rd sys_read sys_close co_charted co_w sys_write sys_exit sys_openat_wr co_wn nxi_fd sys_mmap ↻ ccz_cat_num sys_write ↻ sys_munmap co_field co_len co_atoi co_count_surface sys_mmap ↻ co_lc co_read ↻ sys_close ↻

structs

none

consts

13const CO_MAGIC_262144: i64 = 262144
14const CO_MAGIC_65536: i64 = 65536
16const CO_MATRIX: *u8 = "knowledge/registry/comp_matrix.tsv"
17const CO_SCALE: *u8 = "knowledge/registry/incumbent_scale.tsv"
18const CO_OUT: *u8 = "knowledge/status/comprehensiveness.log"

functions

20func co_w(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(fd,s,n); return 0 }
called by 1: main calls 1: sys_write
25func co_wn(fd: i64, v: i64) -> i64 { nxi_fd(fd, v); return 0 }
called by 1: main calls 1: nxi_fd
26func co_len(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
called by 1: main
28func co_read(path: *u8, buf: *u8, cap: i64) -> i64
38func co_field(buf: *u8, ls: i64, le: i64, f: i64, dst: *u8, cap: i64) -> i64
called by 1: main
51func co_atoi(s: *u8) -> i64 { var v: i64=0; var i: i64=0; while s[i]!=(0 as u8){ if s[i]>=(48 as u8){ if s[i]<=(57 as u8){ v=v*10+(s[i]-48) } } i=i+1 } return v }
called by 1: main
54func co_charted(buf: *u8, n: i64) -> i64
called by 1: main
71func co_lc(dst: *u8, src: *u8) -> i64 { var i: i64=0; while src[i]!=(0 as u8){ var c: i64=src[i] as i64; if c>=65 { if c<=90 { c=c+32 } } dst[i]=c as u8; i=i+1 } dst[i]=0 as u8; return i }
called by 1: co_count_surface
74func co_count_surface(system: *u8) -> i64
called by 1: main calls 3: sys_mmapco_lcco_read
101func main(fd_main: i64) -> i64