code wiki / (root) / nx_race_board.nx

nx_race_board.nx

buildroot/runtime/nx_race_board.nx

4288 B83 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic race
docsdependenciesstructsconstsfunctions

about

nx_race_board.nx -- the RACING BOARD: every car RACED vs its named incumbent, as standing teamwork (the racing-crew's racing line, not "does the car turn on"). Sovereign NishiLang, no .sh. Data-driven: a registry of "race-car" .nx programs, each of which MEASURES ours vs the incumbent/research baseline and prints its racing line (+ verdict). The board compiles + runs each and shows the line -- run it every cycle (the Conductor ticks it, like nx_gate_runner does for correctness gates). Adding a car = adding a registry row, not a one-off. This is stage 6 (measure vs incumbent) of the autonomous-build pipeline, made concrete + always-on. Race-car contract: a .nx that measures + prints "ours vs incumbent/frontier" and a RACE-VERDICT line; exits 0 when the measurement ran. (Correctness is the gate runner's job; this is purely the speed/competitiveness line.) Build oracles as/ld (-> nxasm/nxld). license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_run_timeout.nx nx_race_board.nx

imports: nx_run_timeout.nx

imported by: nobody (leaf or entry point)

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

main rb_puts rb_race rb_run sys_fork sys_openat_wr sys_dup3 sys_execve sys_wait4 wait_exit_code

structs

none

consts

18const RB_CC: *u8 = "/mnt/c/Users/elder/nishi-core/nxc2/_offc/nx_cc_known_good.elf"
19const RB_AS: *u8 = "/usr/bin/as"
20const RB_LD: *u8 = "/usr/bin/ld"
21const RB_S: *u8 = "/tmp/nx_rb.s"
22const RB_O: *u8 = "/tmp/nx_rb.o"
23const RB_ELF: *u8 = "/tmp/nx_rb.elf"
24const RB_MODE: i64 = 420

functions

26func rb_puts(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 1: main
30func rb_run(path: *u8, argv: *i64, envp: *i64, out_path: *u8) -> i64
46func rb_race(racenx: *u8) -> i64
called by 1: main calls 1: rb_run
58func main() -> i64
calls 2: rb_putsrb_race