nx_perf_rehearsal.nx
buildroot/runtime/nx_perf_rehearsal.nx
about
nx_perf_rehearsal.nx -- THE MISSING FEEDBACK EDGE (operator 2026-06-23: "our analytics becomes a
feedback loop of s class exceed improving like the nishi conductor would do with the nishi orchestra").
The rehearsal loop EXISTS but is CORRECTNESS-ONLY: nx_conductor_notes names the weakest section from
RED gate arcs (examiner_arcs.log); nx_woodshed drills a module until it builds clean. A capability that
is GREEN-BUT-SLOW (passes gates, LOSES the race on latency) is INVISIBLE to the teacher. This is the
adapter that feeds PERFORMANCE/RACE analytics (nx_apm_sweep latency, nx_diora_leaderboard BEHIND) INTO
the conductor's weakest-section call -- so the team drills what LOSES RACES, not just what is broken.
COMPOSES the conductor-notes idiom (extended gate-red -> perf-behind); does NOT duplicate it. No new
monitor/census. Routes a BEHIND to a sectional drill (the trainer); an EXCEED bumps readiness.
license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_itoa_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
| 13 | const PR_MAGIC_1105: i64 = 1105 |
| 15 | const PR_LOG: *u8 = "knowledge/status/perf_rehearsal.log" |
functions
| 17 | func pr_p(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 22 | func pr_n(v: i64) -> i64 { nxi_out(v); return 0 } |
| 23 | func pr_cat(dst: *u8, off: i64, s: *u8) -> i64 { var i: i64=0; while s[i]!=(0 as u8){dst[off+i]=s[i];i=i+1} return off+i } called by 1: pr_note |
| 24 | func pr_catn(dst: *u8, off: i64, v: i64) -> i64 { var m: i64=v; var o: i64=off; if m<0{dst[o]=45 as u8;o=o+1;m=0-m} let t: *u8=sys_mmap(24); var k: i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1} var i: i64=0; while i<k{dst[o+i]=t[k-1-i];i=i+1} return o+k } |
| 29 | func pr_note(cap: *u8, nishi: i64, incumbent: i64, lower_better: i64, lfd: i64) -> i64 |
| 43 | func main() -> i64 |