nx_slopmeter.nx
buildroot/runtime/nx_slopmeter.nx
about
nx_slopmeter.nx -- CLI: measure a GENERATED artifact's self-repetition.
The first instrument in this estate that reads what the generator actually produced. nx_writebench
scores the registry; this scores the bytes. Both are needed and they are not substitutes.
nx_slopmeter file <path> repetition + distinct-vocabulary permil for a stored generation
Reports numbers, never a verdict: the cutoff between "textured" and "slop" is a policy that has to
come from measurements across real generations, not from a constant typed at the keyboard.
license_tier: ORIGINAL
module: nishi-core.write.slopmeter.cli
capability: WRITE_OUTPUT_REPETITION_MEASURE
dependencies 3 imports · 0 importers
imports: nx_estate_path.nxnx_itoa_lib.nxnx_slopmeter_lib.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
| 20 | const SC_BUF_BYTES: i64 = 1048576 |
| 23 | const SC_TOKCAP: i64 = 16384 |
functions
| 25 | func cw(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 1: main |
| 26 | func ce(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(2, s, n); return 0 } called by 1: main |
| 28 | func sc_streq(a: *u8, b: *u8) -> i64 called by 1: main |
| 35 | func main(argc: i64, argv: *i64) -> i64 |