code wiki / _hdl_build / nx_charjudge.nx
nx_charjudge.nx
buildroot/runtime/_hdl_build/nx_charjudge.nx
about
nx_charjudge.nx -- CLI for the v2 character-image judge (core = nx_charjudge_lib, gate =
nx_charjudge_gate). Decodes a PNG sovereignly, judges it, prints all axes as JSON.
HEADLINE = MIN(composition, palette, contour, face) -- see the lib header for why each axis exists
and which adversarial input it kills. Thresholds ride knowledge/charjudge.conf.
license_tier: ORIGINAL nx_charjudge <img.png> <label>
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_itoa_lib.nxnx_png_decoder.nxnx_charjudge_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
| 11 | func cjc_hw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 12 | func cjc_pn(v: i64) -> i64 { nxi_out(v); return 0 } |
| 14 | func main(argc: i64, argv: *i64) -> i64 |