nx_diora_leaderboard.nx
buildroot/runtime/nx_diora_leaderboard.nx
about
nx_diora_leaderboard.nx -- the bits-up search leaderboard, run on the
verified Diora Baird qrels vs 4 live-captured incumbents.
module: nishi-core.search.bench.diora_leaderboard
depends: fx.nx, nx_bench_harness.nx, nx_diora_data.nx
capability: APP_RUNNABLE + GATE
WHY: prove the operator cardinal -- S-CLASS EXCEED, not sovereignty-as-win.
Every score is produced by the sovereign Q16.16 kernels (zero C on the
output path). The incumbent SERPs are live captures used ONLY as 1:1
measurement baselines; they are NOT a Nishi index. Nishi's row is its OWN
ranking policy (primary-source-first + facet diversity) over the candidate
universe. exit 0 == Nishi exceeds EVERY measured incumbent on the research-
delivery cardinals (nDCG / primary-precision / altitude, no S-recall
regression) -- so this file doubles as a permanent regression gate.
HONEST SCOPE (1:1, no proxy): this proves the RANKING + SCORING layer is
sovereign and S-class. The document corpus is research-grounded, not yet
crawled by our own spider; the sovereign crawler + inverted index (own the
INDEX from bits up, not just the ranker) is the next milestone.
SREACH R2 (2026-06-10): the facet-oracle-from-gold leak is RETIRED -- the
re-rank's facets now come from nx_facet_classify (URL/host/title signals,
gated vs gold by nx_facet_gate at a permil bar); gold facets feed SCORING
only. The ranking also fuses the CONTENT-ACCESSIBILITY axis (operator
directive: engagement/media/info-density, not first-hand alone).
dependencies 4 imports · 0 importers
imports: fx.nxnx_bench_harness.nxnx_diora_data.nxnx_facet_classify.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
| 31 | const K_MAGIC_10000: i64 = 10000 |
| 32 | const K_MAGIC_9999: i64 = 9999 |
functions
| 34 | func nx_putc(c: i64) -> i64 |
| 40 | func nx_puts(s: *u8) -> i64 { sys_write(1, s, nx_str_len(s)); return 0 } |
| 42 | func nx_put_i64(n: i64) -> i64 |
| 61 | func nx_put_q16(x: i64) -> i64 |
| 76 | func nx_pad(s: *u8, w: i64) -> i64 |
| 83 | func nx_print_row(sc: *NxScorecard) -> i64 |
| 95 | func main() -> i64 |