code wiki / (root) / nx_writestyle_gate.nx

nx_writestyle_gate.nx

buildroot/runtime/nx_writestyle_gate.nx

5301 B126 linesdepth 3pulls 5 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_writestyle_gate.nx -- REFEREE for WRITING rung W-R1 (nx_writestyle). [T1] exact adverb / passive / weak counts on a crafted sentence [T2] exact dialogue char-fraction (milli) on a quoted line [T3] exact longest-sentence + hard-sentence count [T4] NEGATIVE CONTROL: clean prose scores 0 on all flags; adverb/passive/ weak-heavy prose scores high -- the detector discriminates, it does not return a constant. Evidence -> stdout + knowledge/status/writestyle_gate.log. Exit 0 GREEN / 1 RED. Sovereign x86_64. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls_x86_64.nx nx_writestyle.nx nx_writestyle_gate.nx

imports: nx_syscalls_x86_64.nxnx_writestyle.nx

imported by: nobody (leaf or entry point)

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

main sys_openat_append gp ws_signals wc_is_alpha wc_lower ws_eval_word ws_ends2 wc_lower ↻ ws_is_weak ws_streq_ci wc_lower ↻ ws_is_beverb ws_streq_ci ↻ slen pr_kv gp ↻ gn gn ↻ pr_cond gp ↻

structs

none

consts

none

functions

15func gp(logfd: i64, s: *u8) -> i64
called by 3: pr_kvpr_condmain
22func gn(logfd: i64, v: i64) -> i64
called by 2: pr_kvmain
40func slen(s: *u8) -> i64
called by 1: main
45func pr_kv(logfd: i64, label: *u8, got: i64, exp: i64) -> i64
called by 1: main calls 2: gpgn
53func pr_cond(logfd: i64, label: *u8, cond: i64) -> i64
called by 1: main calls 1: gp
60func main() -> i64