code wiki / _hdl_build / nx_ge_research_h2h.nx
nx_ge_research_h2h.nx
buildroot/runtime/_hdl_build/nx_ge_research_h2h.nx
about
nx_ge_research_h2h.nx -- HONEST researcher head-to-head gate. Replaces the rigged
nx_research_exceed_test (which hardcoded the opponent's numbers from an unrelated past run,
cherry-picked count-axes, and scored our biggest weakness [no LLM = no semantic synthesis] as a
"win" via llm_calls-lower-better). THIS gate:
(1) carries QUALITY axes (coverage + SYNTHESIS) on which the mechanical extractor LOSES, so the
verdict can honestly say BEHIND;
(2) caps the verdict at EXCEEDS-OPS-ONLY when a quality axis is lost (no blanket "S-class exceed");
(3) LIAR-KILLs the old failure mode by construction: a vector that sweeps every OPS axis but loses
SYNTHESIS can NEVER return EXCEEDS-FULL (negative control T3).
Numbers are filled from REAL runs (sovereign = measured this session; opponent = scored from a REAL
Claude deep-research run on the SAME pre-registered question, knowledge/research/ge_headtohead_prereg.md).
Axes i64[8]: [0]sources [1]coverage/10 [2]SYNTHESIS/10 [3]adversarial_refutes [4]sovereignty(1/0)
[5]reproducible(1/0) [6]llm_calls(LOWER better) [7]persistence(1/0)
license_tier: ORIGINAL expect_exit: 0
dependencies 1 imports · 0 importers
imports: nx_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
| 17 | const H_BELOW: i64 = 0 |
| 18 | const H_PARITY: i64 = 1 |
| 19 | const H_OPS_ONLY: i64 = 2 |
| 20 | const H_FULL: i64 = 3 |
functions
| 22 | func hw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 23 | func hn(v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m;sys_write(1,"-" as *u8,1)} let t: *u8=sys_mmap(28); 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{bb[i]=t[k-1-i];i=i+1} sys_write(1,bb,k); return 0 } |
| 27 | func h2h_verdict(team: *i64, opp: *i64) -> i64 |
| 57 | func h2h_vname(v: i64) -> i64 |
| 65 | func h2h_row(label: *u8, t: i64, o: i64) -> i64 { hw(" "); hw(label); hw(" team="); hn(t); hw(" claude="); hn(o); hw("\n"); return 0 } |
| 67 | func h2h_board(team: *i64, opp: *i64) -> i64 |
| 81 | func setv(v: *i64, a: i64, b: i64, c: i64, d: i64, e: i64, f: i64, g: i64, h: i64) -> i64 called by 1: main |
| 85 | func main() -> i64 |