nx_writecraft_gate.nx
buildroot/runtime/nx_writecraft_gate.nx
about
nx_writecraft_gate.nx -- REFEREE for WRITING rung W-R0 (nx_writecraft).
Proves the prose-measurement bedrock with no mocks:
[T1] exact word/sentence/syllable/letter/complex counts on a known sentence
[T2] exact syllable heuristic on hand-verified words (incl. silent-e + "Cle")
[T3] exact readability milli-values (FRE / FKGL / FOG) on T1
[T5] div-by-zero guard: text with no end punctuation still scores (S->1)
[T4] NEGATIVE CONTROL: graduate-jargon text MUST score a higher grade and a
lower reading-ease than a simple sentence -- the metric discriminates,
it does not return a constant. A constant-returning organ fails here.
Evidence -> stdout + knowledge/status/writecraft_gate.log. Exit 0 GREEN / 1 RED.
Sovereign x86_64 throughout. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls_x86_64.nxnx_writecraft.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
| 17 | func gp(logfd: i64, s: *u8) -> i64 |
| 24 | func gn(logfd: i64, v: i64) -> i64 |
| 42 | func slen(s: *u8) -> i64 called by 1: main |
| 48 | func pr_kv(logfd: i64, label: *u8, got: i64, exp: i64) -> i64 |
| 57 | func pr_cond(logfd: i64, label: *u8, cond: i64) -> i64 |
| 64 | func main() -> i64 |