code wiki / _hdl_build / nx_editjudge.nx
nx_editjudge.nx
buildroot/runtime/_hdl_build/nx_editjudge.nx
about
nx_editjudge.nx -- CLI/MCP surface for the edit-compliance judge.
Measurement lives in nx_editjudge_lib.nx, which the gate imports too.
VERBS
judge <ref.png> <gen.png> <from_hue_deg> <to_hue_deg>
-> JSON {masked, shifted, drifted, stayed, compliance_permil}. compliance = shifted/masked.
A HIGH "stayed" is the retention-converged failure (nothing changed); a HIGH "drifted"
is "changed to the wrong thing". They are reported separately on purpose.
selftest
expect_exit: 0 license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_editjudge_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
| none |
functions
| 13 | func jw(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 14 | func jn(v: i64) -> i64 |
| 28 | func j_streq(a: *u8, b: *u8) -> i64 called by 1: main |
| 34 | func j_atoi(s: *u8) -> i64 called by 1: main |
| 42 | func j_fill(buf: *u8, npix: i64, r: i64, g: i64, b: i64) -> i64 called by 1: j_selftest |
| 48 | func j_selftest() -> i64 |
| 75 | func main(argc: i64, argv: *i64) -> i64 |