code wiki / _hdl_build / nx_research_benchmark.nx

nx_research_benchmark.nx

buildroot/runtime/_hdl_build/nx_research_benchmark.nx

5750 B83 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind benchtopic research
docsdependenciesstructsconstsfunctions

about

nx_research_benchmark.nx -- the Nishi REFEREE independently benchmarks the team's deep-research vs Claude's on MEASURED dimensions (topic coverage, live-source count) -- no self-grade -- and names the TUTOR target (operator: "lets comp the outcomes to grade where we need to tutor our deep research in true nishi referee independent benchmarking"). The team's numbers are MEASURED (its library search); Claude's are MEASURED from its returned report. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_itoa_lib.nx nx_research_benchmark.nx

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

main rb_puts sys_write rb_team_sclass rb_tutor_target rb_gap rb_num nxi_out nxi_fd sys_mmap ccz_cat_num sys_write ↻ sys_munmap rb_target_label sys_mmap ↻ sys_exit

structs

none

consts

17const RB_TEAM: i64 = 1
18const RB_CLAUDE: i64 = 2
19const RB_TIE: i64 = 0
34const RB_NEEDS_LIVE_FETCH: i64 = 1 // 0 live sources -> can't reach beyond the library
35const RB_NEEDS_LIB_GROWTH: i64 = 2 // has fetch but the library is thin -> ingest more
36const RB_NONE: i64 = 0

functions

10func 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 calls 1: sys_write
15func rb_num(v: i64) -> i64 { nxi_out(v); return 0 }
called by 1: main calls 1: nxi_out
21func rb_coverage_winner(team_topics: i64, claude_topics: i64) -> i64
27func rb_gap(team_topics: i64, claude_topics: i64) -> i64 { if claude_topics > team_topics { return claude_topics - team_topics } return 0 }
called by 1: main
29func rb_team_sclass(team_topics: i64, claude_topics: i64, team_live_sources: i64) -> i64
called by 1: main
37func rb_tutor_target(team_live_sources: i64, gap: i64) -> i64
called by 1: main
42func rb_target_label(t: i64) -> *u8
called by 1: main
48func main() -> i64