code wiki / _hdl_build / nx_paper_panel_cli.nx
nx_paper_panel_cli.nx
buildroot/runtime/_hdl_build/nx_paper_panel_cli.nx
about
nx_paper_panel_cli.nx -- callable MCP/API surface for manuscript-grade admissibility (AS-2).
nx_paper_panel <grader_id> <author_id> <leak_csv> <holdout_clean> <grade_a> <grade_b> [tiebreak]
leak_csv = same_model,inheritance,same_family (1=yes 0=no)
holdout_clean = 1 if the manuscript was NOT part of what the grader was tuned on
e.g. self-graded, perfect score: nx_paper_panel 7 7 1,1,1 1 1000 1000
-> {"verdict":"INADMISSIBLE","grade":0} (a score cannot launder its grader)
license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0
dependencies 3 imports · 0 importers
imports: nx_paper_panel.nxnx_itoa_lib.nxnx_syscalls.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
| 14 | func ppc_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 15 | func ppc_q() -> i64 { let b: *u8 = sys_mmap(1); b[0] = 34 as u8; sys_write(1, b, 1); return 0 } |
| 16 | func ppc_key(name: *u8) -> i64 { ppc_q(); ppc_puts(name); ppc_q(); ppc_puts(":" as *u8); return 0 } |
| 21 | func ppc_num(v: i64) -> i64 { nxi_out(v); return 0 } |
| 22 | func ppc_atoi(a: *u8) -> i64 called by 1: main |
| 31 | func ppc_csv3(s: *u8, out: *i64) -> i64 called by 1: main |
| 43 | func ppc_name(v: i64) -> i64 |
| 49 | func main(argc: i64, argv: *i64) -> i64 |