code wiki / _hdl_build / nx_editjudge.nx

nx_editjudge.nx

buildroot/runtime/_hdl_build/nx_editjudge.nx

5475 B122 linesdepth 9pulls 15 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

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

nx_editjudge_lib.nx nx_editjudge.nx

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

main jw j_streq j_selftest j_fill ej_compliance ej_compliance_spec ej_in_box ej_sat ej_max3 ej_min3 ej_hue ej_max3 ↻ ej_min3 ↻ ej_hue_dist jw ↻ jn ej_load_rgb sys_read_file sys_openat_rd sys_lseek sys_mmap sys_read sys_close nx_png_decode sys_mmap ↻ _png_check_signature _png_read_u32_be nx_crc32 nx_crc32_update nx_crc32_init nx_crc32_table_at _png_n_channels _png_bytes_per_pixel _png_n_channels ↻ _png_a7_expected _png_a7_col0 _png_a7_coli _png_a7_row0 _png_a7_rowi

structs

none

consts

none

functions

13func jw(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 2: j_selftestmain
14func jn(v: i64) -> i64
called by 2: j_selftestmain
28func j_streq(a: *u8, b: *u8) -> i64
called by 1: main
34func j_atoi(s: *u8) -> i64
called by 1: main
42func j_fill(buf: *u8, npix: i64, r: i64, g: i64, b: i64) -> i64
called by 1: j_selftest
48func j_selftest() -> i64
called by 1: main calls 4: j_fillej_compliancejwjn
75func main(argc: i64, argv: *i64) -> i64