code wiki / _hdl_build / nx_capability_census.nx
nx_capability_census.nx
buildroot/runtime/_hdl_build/nx_capability_census.nx
about
nx_capability_census.nx -- LIB: a GENERAL, reusable "study an external tool -> compare to OUR capability
census" engine for the Nishi researcher. Point it at ANY subject (a set of sovereign-fetched source files)
and ANY capability axis (a competitor-evidence TERM + our implementing-organ path + our exceed-gate path),
and per axis it grades, NEVER self-scored:
competitor-has = how many of the subject's banked sources attest the term (re_has over the .raw corpus;
>=2 = corroborated, >=1 = noted, 0 = unattested)
our-grade = EXCEEDS (our exceed-gate opens on disk) > PRESENT (our organ opens) > ABSENT [disk facts]
verdict = GAP (they have, we ABSENT) | PARITY (both have) | AHEAD (we EXCEEDS, or we PRESENT & they unattested)
Composes the proven nx_game_research_census grading pattern + re_has (nx_research_extract). Adding a new tool
or axis = DATA (more rows in the caller), NOT new code -> the researcher's comparison muscle keeps GROWING and
is SHARED across domains (EDA today, CAD/DCC/games/metahumans tomorrow -- same engine, different census).
Third-party tools are BENCHMARKS ONLY (yardsticks we exceed sovereignly), never dependencies. license_tier: ORIGINAL
dependencies 2 imports · 13 importers
diagram shows first 10 each side; +0 more imports, +3 more importers in the complete lists below.
imports: nx_syscalls.nxnx_research_extract.nx
imported by: nx_adnet_census.nxnx_apistack_census.nxnx_archive_census.nxnx_capability_census_gate.nxnx_dlperf_census.nxnx_dr_census.nxnx_mirror_census.nxnx_office_census_gate.nxnx_openpub_census.nxnx_p2pdist_census.nxnx_remote_access_census_gate.nxnx_s21_census.nxnx_sharehub_census.nx
structs
| none |
consts
| none |
functions
| 18 | func cc_file_exists(path: *u8) -> i64 |
| 26 | func cc_read_file(path: *u8, buf: *u8, cap: i64) -> i64 |
| 36 | func cc_comp_attest(paths: *i64, npaths: i64, term: *u8, buf: *u8, cap: i64) -> i64 |
| 48 | func cc_our_grade(organ: *u8, exceed: *u8) -> i64 |
| 55 | func cc_verdict(comp: i64, our: i64) -> i64 |
| 65 | func cc_grade_str(g: i64) -> *u8 |
| 70 | func cc_verdict_str(v: i64) -> *u8 |