code wiki / (root) / nx_research_judgment_bench.nx

nx_research_judgment_bench.nx

buildroot/runtime/nx_research_judgment_bench.nx

9083 B133 linesdepth 14pulls 29 transitivereach 0 importersview sourcekind benchtopic research
docsdependenciesstructsconstsfunctions

about

nx_research_judgment_bench.nx -- the first AGGREGATE honest measurement of the unified researcher's JUDGMENT. On a LABELED case set, does nxr_assess's verdict correctly separate PUBLISH-worthy reports (grounded + cited + numbers confirmed) from NOT-publish reports (fabricated number / uncited / dangling cite / MIS-CITED)? Reports discrimination accuracy + the two error kinds, with the SAFETY-CRITICAL direction FALSE-PUBLISH (shipping a defective report as PUBLISH) called out. It measures TWO policies side by side: CURRENT (nxr_assess's verdict) and a PROPOSED STRICT policy (any unconfirmed numeric claim is a gap) computed from the SAME out[] slots -- so the value of the fix is shown WITHOUT editing the concurrently-edited nx_research_unified (read-only import). GREEN iff the PROPOSED policy has zero false-publish AND zero false-hold (fix is sound + strictly additive). $0, deterministic, model-free. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_research_unified.nx nx_research_judgment_bench.nx

imports: nx_syscalls.nxnx_research_unified.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap jb_puts sys_write jb_case sys_mmap ↻ nxr_assess nxr_assess_hosts sys_mmap ↻ rp_report_grounded sys_mmap ↻ rp_is_letter rp_parse_cite txt_parse_cite rp_is_digit cvx_answer_verify sys_mmap ↻ txt_sentence_end rvs_first_number sys_mmap ↻ rvs_num_at rsq_sentence_cite sys_mmap ↻ txt_parse_cite ↻ rsq_len rvs_span_numbers_near sys_mmap ↻ rvs_num_at ↻ rvs_src_has_near rvs_src_has_near ↻ nxr_verdict riv_next nxr_vacuous jb_len jb_puts ↻ jb_putn sys_mmap ↻ sys_write ↻ jb_verdict jb_puts ↻

structs

none

consts

none

functions

13func jb_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 3: jb_verdictjb_casemain calls 1: sys_write
14func jb_putn(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 }
called by 2: jb_casemain calls 2: sys_mmapsys_write
15func jb_len(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
called by 1: jb_case
16func jb_verdict(v: i64) -> i64
called by 1: jb_case calls 1: jb_puts
24func jb_case(ans: *u8, srcv: *i64, nsrc: i64, expected_pub: i64, label: *u8, st: *i64) -> i64
49func main() -> i64