code wiki / _hdl_build / nx_research_relation_clean_test.nx

nx_research_relation_clean_test.nx

buildroot/runtime/_hdl_build/nx_research_relation_clean_test.nx

3505 B60 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic research
docsdependenciesstructsconstsfunctions

about

nx_research_relation_clean_test.nx -- KAT gate for rung-3 claim cleanup, using the exact noisy claims measured from the real Wikipedia page. expect_exit: 0.

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_research_extract.nx nx_research_relation_clean.nx nx_research_relation_clean_tes

imports: nx_syscalls.nxnx_research_extract.nxnx_research_relation_clean.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 w sys_write tc sys_mmap ↻ nx_claim_clean cl_clean_subject cl_copy_from_alpha cl_is_alnum cl_is_alpha sys_mmap ↻ cl_first_token cl_is_stopword cl_streq_ci cl_lc cl_drop_first_token cl_strlen cl_copy_from_alpha ↻ cl_strlen ↻ sys_mmap ↻ cl_first_token ↻ cl_is_pronoun cl_streq_ci ↻ cl_is_verb cl_streq_ci ↻ cl_word_count cl_max_subj_words cl_boiler cl_strlen ↻ re_find re_strlen w ↻ wn sys_mmap ↻ sys_write ↻ chk w ↻ cl_streq wn ↻

structs

none

consts

none

functions

8func w(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 3: chktcmain calls 1: sys_write
9func wn(v: i64) -> i64
called by 2: tcmain calls 2: sys_mmapsys_write
18func chk(cond: i64, pass: *i64, fail: *i64, label: *u8) -> i64
called by 1: tc calls 1: w
24func tc(subj_in: *u8, obj_in: *u8, exp_good: i64, exp_subj: *u8, pass: *i64, fail: *i64) -> i64
36func main() -> i64
calls 4: sys_mmapwtcwn