code wiki / _hdl_build / nx_analyst_data_gate.nx
nx_analyst_data_gate.nx
buildroot/runtime/_hdl_build/nx_analyst_data_gate.nx
about
nx_analyst_data_gate.nx -- GATE for the general data analyst (nx_analyst_data). Proves the profiler
computes correct stats on hand-built columns AND that the data-driven EXPLANATION correctly classifies
each column shape (constant / categorical / near-unique-id / right-skewed / has-outliers). Known-answer;
the report substrings are the load-bearing asserts. expect_exit: 0 license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_analyst_data.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
| none |
functions
| 8 | func gp(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 9 | func gnn(v: i64) -> i64 { var m: i64=v; if m<0{gp("-" as *u8);m=0-m} let t:*u8=sys_mmap(24); var k:i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1} let o:*u8=sys_mmap(24); var i:i64=0; while i<k{o[i]=t[k-1-i];i=i+1} sys_write(1,o,k); return 0 } |
| 11 | func ghas(hay: *u8, n: i64, needle: *u8) -> i64 called by 1: main |
| 26 | func lcg(s: i64) -> i64 { return (s * 1103515245 + 12345) & 0x7fffffff } called by 1: main |
| 28 | func main() -> i64 |