code wiki / _hdl_build / nx_capability_map.nx

nx_capability_map.nx

buildroot/runtime/_hdl_build/nx_capability_map.nx

2273 B43 linesdepth 2pulls 2 transitivereach 1 importersview sourcekind librarytopic capability
docsdependenciesstructsconstsfunctions

about

nx_capability_map.nx -- SEE what a competitor (product / language / tool) HAS vs what WE do, across the TOP capability dimensions that matter -- grounded, not an infinite feature-by-feature search (operator: it's too black-box, I want to know the breadth vs the market). Owned by the MARKET RESEARCHER (competitive intelligence), composing the Genealogist's registry of OUR capabilities + the Examiner's honest grades. For each dimension it returns where we stand: AHEAD / PARITY / BEHIND / GAP (neither has it). The summary makes the honest picture visible: where the competitor's core strength beats us, and where our unique capabilities lead. license_tier: ORIGINAL Refs: competitive landscape mapping; the Examiner's honest grades.

dependencies 1 imports · 1 importers

nx_syscalls.nx nx_capability_map.nx nx_status_map_test.nx

imports: nx_syscalls.nx

imported by: nx_status_map_test.nx

structs

none

consts

12const MAP_AHEAD: i64 = 1 // we have it and lead (they lack it, or our grade is higher)
13const MAP_PARITY: i64 = 2 // both have it, equal grade
14const MAP_BEHIND: i64 = 3 // they have it and lead (we lack it, or our grade is lower)
15const MAP_GAP: i64 = 4 // neither has it (an open frontier)
34const MAP_NET_AHEAD: i64 = 1
35const MAP_NET_BEHIND: i64 = 2
36const MAP_NET_MIXED: i64 = 3

functions

18func map_standing(our_have: i64, our_grade: i64, they_have: i64, they_grade: i64) -> i64
called by 1: main
27func map_count(n: i64, standings: *i64, target: i64) -> i64
called by 2: map_netmain
37func map_net(n: i64, standings: *i64) -> i64
called by 1: main calls 1: map_count