code wiki / _hdl_build / nx_analyst_report_gate.nx

nx_analyst_report_gate.nx

buildroot/runtime/_hdl_build/nx_analyst_report_gate.nx

5333 B103 linesdepth 9pulls 18 transitivereach 0 importersview sourcekind gate/prooftopic analyst
docsdependenciesstructsconstsfunctions

about

nx_analyst_report_gate.nx -- GATE for the dataset-analysis capstone (nx_analyst_report). A realistic small dataset with KNOWN relationships (price strongly driven by size, weakly by age) must produce a report that (a) profiles every column, (b) reports the correct correlation direction/strength to the target, (c) names the correct strongest ASSOCIATION (renamed from KEY DRIVER in F1005: the number is associational and 'driver' is a causal word). The report substrings are the load-bearing asserts. expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_analyst_report.nx nx_analyst_report_gate.nx

imports: nx_syscalls.nxnx_analyst_report.nx

imported by: nobody (leaf or entry point)

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

main rp sys_write sys_mmap lcg ar_analyze arx_cat arx_catn sys_mmap ↻ sys_mmap ↻ ad_profile dfa_distinct nx_hll_alloc sys_mmap ↻ sys_mmap ↻ nx_hll_add murmur3_32 mm_load_u32_le mm_rotl32 nx_clz32 nx_bits_clz32 nx_hll_estimate nx_hll_pow2_neg_q32 nx_hll_alpha_m_sq_q64 nx_hll_bias_table_n nx_hll_bias_table_get nx_hll_bias_lgk4 nx_hll_bias_lgk5 nx_hll_bias_lgk6 nx_hll_bias_lgk7 nx_hll_bias_lgk8 nx_hll_bias_lgk9 nx_hll_bias_lgk10 nx_hll_log2_ppm nx_hll_bias_correct nx_hll_bias_table_n ↻ nx_hll_bias_table_get ↻ nx_mulshl_div_i64 df_min df_max

structs

none

consts

none

functions

9func rp(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 2: rnmain calls 1: sys_write
10func rn(v: i64) -> i64 { var m: i64=v; if m<0{rp("-" 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 }
called by 1: main calls 3: rpsys_mmapsys_write
11func rhas(hay: *u8, n: i64, needle: *u8) -> i64
called by 1: main
18func lcg(s: i64) -> i64 { return (s * 1103515245 + 12345) & 0x7fffffff }
called by 1: main
20func main() -> i64