code wiki / (root) / nx_doc_incumbent.nx

nx_doc_incumbent.nx

buildroot/runtime/nx_doc_incumbent.nx

9841 B263 linesdepth 6pulls 6 transitivereach 4 importersview sourcekind librarytopic doc
docsdependenciesstructsconstsfunctions

about

nx_doc_incumbent.nx -- D21 provenance tier + D22 multi-incumbent comparison table. Operationalizes the V5 'benchmark against ALL known activities' cardinal. Substrate names FULL incumbent field per primitive class + emits a markdown comparison table with substrate's value + each incumbent's value + provenance tier + percent gap. Per [[feedback-substrate-knowledge-system-s-class-reasoning- provenance-dashboard]] cardinal. Composes with nx_doc_decision (D20) for full decision context: ADR explains WHY this class, incumbent table shows HOW WE STACK UP. **Quadrant:** REFERENCE (Diátaxis) **Topic Type:** REFERENCE (DITA) **Status:** DRAFT (D21 + D22 first stones) **Trust State:** WRITTEN_UNTESTED **Competitive State:** UNCLASSIFIED

dependencies 2 imports · 4 importers

nx_syscalls.nx nx_string_ops.nx nx_doc_incumbent.nx nx_doc_dashboard.nx nx_doc_dashboard_substrate_state_t nx_doc_dashboard_test.nx nx_doc_incumbent_test.nx

imports: nx_syscalls.nxnx_string_ops.nx

imported by: nx_doc_dashboard.nxnx_doc_dashboard_substrate_state_test.nxnx_doc_dashboard_test.nxnx_doc_incumbent_test.nx

structs

99struct NxIncumbentRow
125struct NxIncumbentTable

consts

28const NX_PROVENANCE_INDUSTRY_STATED: i64 = 0 // vendor claim; not measured
29const NX_PROVENANCE_PERSONALLY_MEASURED: i64 = 1 // substrate measured one silicon
30const NX_PROVENANCE_CROSS_VALIDATED: i64 = 2 // ≥2 silicon classes
31const NX_PROVENANCE_HARSH_VALIDATED: i64 = 3 // harsh conditions
32const NX_PROVENANCE_TIME_PROVEN: i64 = 4 // measured + non-stale + N months prod
33const NX_PROVENANCE_N: i64 = 5
63const NX_PCLASS_PATTERN_MATCHING: i64 = 0 // ripgrep / Hyperscan / RE2 / Wu-Manber
64const NX_PCLASS_SORT: i64 = 1 // pdqsort / Timsort / ips4o
65const NX_PCLASS_CARDINALITY: i64 = 2 // Apache DataSketches HLL / HLL++ / Theta
66const NX_PCLASS_QUANTILE: i64 = 3 // DataSketches KLL / REQ / T-Digest / DDSketch
67const NX_PCLASS_HASH_NONCRYPTO: i64 = 4 // xxHash / CityHash / MurmurHash3 / FNV
68const NX_PCLASS_TLS: i64 = 5 // OpenSSL / BoringSSL / rustls / s2n-tls / WolfSSL
69const NX_PCLASS_COMPRESSION: i64 = 6 // zstd / lz4 / snappy / brotli / zlib
70const NX_PCLASS_DOCS: i64 = 7 // JavaDoc / Rustdoc / Doxygen / Sphinx / Mermaid / Obsidian
71const NX_PCLASS_FLOATING_POINT: i64 = 8 // SoftFloat / Muller Handbook / Cody-Waite
72const NX_PCLASS_GPU_COMPUTE: i64 = 9 // CUDA / ROCm-HIP / oneAPI / Metal / Vulkan
73const NX_PCLASS_SHELL: i64 = 10 // bash / zsh / fish / PowerShell / Nushell / Oils
74const NX_PCLASS_N: i64 = 11

functions

35func nx_provenance_is_valid(p: i64) -> i64
41func nx_provenance_name(p: i64) -> *u8
53func nx_provenance_is_substrate_measured(p: i64) -> i64
called by 1: main
76func nx_pclass_is_valid(c: i64) -> i64
82func nx_pclass_name(c: i64) -> *u8
108func nx_incumbent_row_init(
called by 3: mainmainmain calls 1: nx_provenance_is_valid
137func nx_incumbent_table_init(
159func nx_incumbent_table_set_rows(
called by 3: mainmainmain
179func nx_incumbent_gap_pct_q14(
203func _docincu_write_int(v: i64)
209func nx_incumbent_table_emit(t: *NxIncumbentTable) -> i64