code wiki / (root) / nx_twinreport.nx

nx_twinreport.nx

buildroot/runtime/nx_twinreport.nx

3063 B54 linesdepth 13pulls 66 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_twinreport.nx -- CLI over nx_twinreport_lib (aesthetictwin AT42, 2026-09-17): from a card, or from a seed range, to rendered images plus the board's result rows, in one call. The next nx_compare_results publish shows them. nx_twinreport fit <slug> <target-file> <outdir> <href-prefix> <results-file> nx_twinreport seeds <seed_lo> <seed_hi> <outdir> <href-prefix> <results-file> href-prefix is the site-absolute path of outdir with a trailing slash (/compare/<dom>/results/img/). exit: 0 reported | 2 usage | 3 the target file carries no axis this organ knows | 4 a render refused | 5 the results file refused the append | 6 empty seed range license_tier: ORIGINAL No hw writes (Rule 26).

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_twinreport_lib.nx nx_twinreport.nx

imports: nx_syscalls.nxnx_twinreport_lib.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main trc_usage sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ twr_fit_report sys_mmap ↻ tw_load_target tw_target_clear sys_mmap ↻ ri_load sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close pm_field tw_streq_span tw_axis_name pm_span_int tw_all_canon_fill tw_all_canon fa_eye_gene_canon tw_fit sys_mmap ↻ tw_fit_eval

structs

none

consts

12const TRC_EXIT_USAGE: i64 = 2
13const TRC_ARGC: i64 = 7
14const TRC_A_VERB: i64 = 1
15const TRC_A_ONE: i64 = 2
16const TRC_A_TWO: i64 = 3
17const TRC_A_OUTDIR: i64 = 4
18const TRC_A_HREF: i64 = 5
19const TRC_A_RESULTS: i64 = 6

functions

21func trc_usage() -> i64
called by 1: main
25func trc_verdict(code: i64) -> *u8
called by 1: main
32func main(argc: i64, argv: **u8) -> i64