nx_doc_incumbent.nx
buildroot/runtime/nx_doc_incumbent.nx
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
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
| 99 | struct NxIncumbentRow |
| 125 | struct NxIncumbentTable |
consts
| 28 | const NX_PROVENANCE_INDUSTRY_STATED: i64 = 0 // vendor claim; not measured |
| 29 | const NX_PROVENANCE_PERSONALLY_MEASURED: i64 = 1 // substrate measured one silicon |
| 30 | const NX_PROVENANCE_CROSS_VALIDATED: i64 = 2 // ≥2 silicon classes |
| 31 | const NX_PROVENANCE_HARSH_VALIDATED: i64 = 3 // harsh conditions |
| 32 | const NX_PROVENANCE_TIME_PROVEN: i64 = 4 // measured + non-stale + N months prod |
| 33 | const NX_PROVENANCE_N: i64 = 5 |
| 63 | const NX_PCLASS_PATTERN_MATCHING: i64 = 0 // ripgrep / Hyperscan / RE2 / Wu-Manber |
| 64 | const NX_PCLASS_SORT: i64 = 1 // pdqsort / Timsort / ips4o |
| 65 | const NX_PCLASS_CARDINALITY: i64 = 2 // Apache DataSketches HLL / HLL++ / Theta |
| 66 | const NX_PCLASS_QUANTILE: i64 = 3 // DataSketches KLL / REQ / T-Digest / DDSketch |
| 67 | const NX_PCLASS_HASH_NONCRYPTO: i64 = 4 // xxHash / CityHash / MurmurHash3 / FNV |
| 68 | const NX_PCLASS_TLS: i64 = 5 // OpenSSL / BoringSSL / rustls / s2n-tls / WolfSSL |
| 69 | const NX_PCLASS_COMPRESSION: i64 = 6 // zstd / lz4 / snappy / brotli / zlib |
| 70 | const NX_PCLASS_DOCS: i64 = 7 // JavaDoc / Rustdoc / Doxygen / Sphinx / Mermaid / Obsidian |
| 71 | const NX_PCLASS_FLOATING_POINT: i64 = 8 // SoftFloat / Muller Handbook / Cody-Waite |
| 72 | const NX_PCLASS_GPU_COMPUTE: i64 = 9 // CUDA / ROCm-HIP / oneAPI / Metal / Vulkan |
| 73 | const NX_PCLASS_SHELL: i64 = 10 // bash / zsh / fish / PowerShell / Nushell / Oils |
| 74 | const NX_PCLASS_N: i64 = 11 |
functions
| 35 | func nx_provenance_is_valid(p: i64) -> i64 |
| 41 | func nx_provenance_name(p: i64) -> *u8 called by 1: nx_incumbent_table_emit |
| 53 | func nx_provenance_is_substrate_measured(p: i64) -> i64 called by 1: main |
| 76 | func nx_pclass_is_valid(c: i64) -> i64 |
| 82 | func nx_pclass_name(c: i64) -> *u8 |
| 108 | func nx_incumbent_row_init( |
| 137 | func nx_incumbent_table_init( |
| 159 | func nx_incumbent_table_set_rows( |
| 179 | func nx_incumbent_gap_pct_q14( |
| 203 | func _docincu_write_int(v: i64) |
| 209 | func nx_incumbent_table_emit(t: *NxIncumbentTable) -> i64 |