code wiki / (root) / nx_diora_frontend.nx

nx_diora_frontend.nx

buildroot/runtime/nx_diora_frontend.nx

18224 B316 linesdepth 7pulls 11 transitivereach 0 importersview sourcekind tooltopic diora
docsdependenciesstructsconstsfunctions

about

nx_diora_frontend.nx -- HTML front-end for the bits-up search engine. module: nishi-core.search.bench.diora_frontend depends: fx.nx, nx_bench_harness.nx, nx_diora_data.nx capability: APP_RUNNABLE Emits a self-contained HTML dashboard (to stdout) rendering the ACTUAL backend outputs: the Diora leaderboard (Nishi vs 4 real incumbents), the S-class exceed verdict, Nishi's facet/tier-annotated ranked results, and the sovereign stack status. Redirect stdout to a .html and open it in a browser. Pure NishiLang -> HTML; the UI is sovereign too.

dependencies 3 imports · 0 importers

fx.nx nx_bench_harness.nx nx_diora_data.nx nx_diora_frontend.nx

imports: fx.nxnx_bench_harness.nxnx_diora_data.nx

imported by: nobody (leaf or entry point)

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

main nx_diora_qn nx_diora_fill_qrels nx_diora_eng_count nx_diora_eng_fill nx_bench_qrels_find nx_bench_url_eq nx_bench_canon_len nx_str_len nx_str_chr nx_bench_nishi_rank nx_tier_classify nx_tier_of_url nx_tier_host_has nx_str_str nx_str_len ↻ nx_tier_is_derivative nx_tier_ci_contains nx_str_len ↻ nx_tier_lc nx_tier_score fx_from_frac nx_tier_gain nx_bench_score_serp nx_tier_classify ↻ nx_bench_qrels_find ↻ fx_from_int nx_bench_ndcg nx_bench_dcg fx_div fx_log2_int fx_log2 fx_mul fx_from_int ↻ fx_mul ↻ nx_bench_sort_desc fx_div ↻ nx_bench_subtopic_recall fx_from_frac ↻ nx_bench_cube_filled

structs

none

consts

16const K_MAGIC_10000: i64 = 10000

functions

18func nx_putc(c: i64) -> i64 { let b: *u8 = sys_mmap(1); b[0] = c; sys_write(1, b, 1); return 0 }
19func nx_puts(s: *u8) -> i64 { sys_write(1, s, nx_str_len(s)); return 0 }
20func nx_put_i64(n: i64) -> i64
called by 2: nx_put_q16main calls 1: nx_putc
30func nx_put_q16(x: i64) -> i64
43func nx_facet_name(f: i64) -> *u8
called by 1: main
53func nx_tier_name(t: i64) -> *u8
called by 1: main
63func nx_emit_lb_row(name: *u8, sc: *NxScorecard, nishi: i64) -> i64
called by 1: main calls 2: nx_putsnx_put_q16
76func nx_emit_reach_row(name: *u8, sc: *NxScorecard, nishi: i64) -> i64
called by 1: main calls 2: nx_putsnx_put_q16
88func nx_eng_has(e: i64, u: *u8) -> i64
101func nx_eng_cover_count(ec: i64, u: *u8) -> i64
called by 1: main calls 1: nx_eng_has
111func main() -> i64