nx_perf_rehearsal_candidate_t179.nx
buildroot/runtime/nx_perf_rehearsal_candidate_t179.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 5 imports · 1 importers
imports: nx_syscalls.nxnx_itoa_lib.nxnx_benchmark_release_candidate_t179.nxnx_mcp_route.nxnx_sha256.nx
imported by: nx_perf_rehearsal_import_gate_t179.nx
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 |
| 50 | func pr_uint(v:*NxValue,bad:*i64)->i64 called by 1: pr_num |
| 63 | func pr_num(v:*NxValue,key:*u8,bad:*i64)->i64 { return pr_uint(mr_member(v,key,bad),bad) } |
| 64 | func pr_text(v:*NxValue,bad:*i64)->i64 called by 1: pr_same |
| 71 | func pr_same(a:*NxValue,b:*NxValue,bad:*i64)->i64 |
| 77 | func pr_hex(p:*u8,n:i64)->i64 |
| 83 | func pr_digest_value(v:*NxValue,bad:*i64)->i64 |
| 89 | func pr_hash_field(v:*NxValue,key:*u8,expected:*u8,bad:*i64)->i64 |
| 97 | func pr_fact(v:*NxValue,key:*u8,bad:*i64)->i64 |
| 102 | func pr_validate(r:*NxValue,p:*NxValue,candidate:*u8,incumbent:*u8,now:i64)->i64 called by 2: mainpr_test_case calls 13: pr_numpr_hash_fieldbm_release_mergemr_memberpr_digest_valuepr_same+7 |
| 182 | func pr_load(path:*u8,expected:*u8)->*NxValue called by 1: main calls 5: sys_read_filesys_mmapsha256_digest_checked_nativesys_munmapnx_value_parse_json |
| 201 | func main(argc:i64,argv:*i64)->i64 |