code wiki / (root) / nx_analyst_dashboard.nx

nx_analyst_dashboard.nx

buildroot/runtime/nx_analyst_dashboard.nx

12790 B195 linesdepth 10pulls 21 transitivereach 1 importersview sourcekind tooltopic analyst
docsdependenciesstructsconstsfunctions

about

nx_analyst_dashboard.nx -- F1007: the BI DASHBOARD, DATA-BOUND and served on nishifamily.com. It is not a hardcoded status page: it READS the census SSOT (dataeng_sota_features.conf) and a live stored dataset (azdemo) and RENDERS from that data server-side -- regenerating reflects the current numbers, the same model Superset/Metabase use. Emits a complete, self-contained, accessible, theme-consistent HTML page (the site design system, high-contrast dark). Honest scope: server-side data binding + real analysis; a client-side interactive QUERY BUILDER is the finer gap. license_tier: ORIGINAL No hardware writes.

dependencies 4 imports · 1 importers

nx_syscalls.nx nx_estate_path.nx nx_analyst_store.nx nx_analyst_infer.nx nx_analyst_dashboard.nx nx_analyst_dashboard_gate.nx

imports: nx_syscalls.nxnx_estate_path.nxnx_analyst_store.nxnx_analyst_infer.nx

imported by: nx_analyst_dashboard_gate.nx

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

main ep_anchor sys_openat_rd sys_close sys_chdir sys_mmap sys_mmap ↻ db_build sys_mmap ↻ db_census sys_openat_rd ↻ sys_mmap ↻ sys_read sys_close ↻ db_streq_span db_raw db_num sys_mmap ↻ db_bar db_raw ↻ db_num ↻ asr_load_field_sharded sys_mmap ↻ asr_shard_key sys_mmap ↻ asr_load_field_win asr_scan_slots sys_mmap ↻ ss_scan sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn ss_scan_seglist ss_len sys_mmap ↻ ss_cat ss_readall ss_r32 asr_field_i64 db_relrow

structs

none

consts

11const DB_MAGIC_100000: i64 = 100000
13const DB_OUT: i64 = 65536
14const DB_CONF_CAP: i64 = 262144 // the census SSOT is ~18KB and GROWS; a 16KB buffer silently
16const DB_TAB: i64 = 9
17const DB_NL: i64 = 10
18const DB_HASH: i64 = 35
19const DB_ZERO: i64 = 48

functions

21func db_raw(out: *u8, o: i64, s: *u8) -> i64 { var i: i64 = 0; while s[i] != (0 as u8) { out[o] = s[i]; o = o + 1; i = i + 1 } return o }
22func db_num(out: *u8, o: i64, v: i64) -> i64
34func db_streq_span(buf: *u8, a: i64, b: i64, lit: *u8) -> i64
called by 1: db_census
41func db_census(c: *i64) -> i64
83func db_bar(out: *u8, o: i64, label: *u8, cnt: i64, tot: i64, color: *u8) -> i64
called by 1: db_build calls 2: db_rawdb_num
98func db_relrow(out: *u8, o: i64, name: *u8, tcol: *i64, ccol: *i64, n: i64) -> i64
119func db_build(out: *u8) -> i64
186func main(argc: i64, argv: *i64) -> i64