code wiki / _hdl_build / nx_sourced_census_test.nx
nx_sourced_census_test.nx
buildroot/runtime/_hdl_build/nx_sourced_census_test.nx
about
nx_sourced_census_test.nx -- X-CENSUS-003: LIVE-SOURCED competitive census,
union-DATA-aware (the honest no-wave verdict).
Insight from reading the live source: a single encyclopedic stub does NOT
enumerate granular features, so token/fuzzy matching alone under-measures.
But the bench-reference `union` column already states which incumbents claim
each feature -- so the VALID head-to-head is computable NOW:
nishi_has = re_has(self_model, probe) -- COMPUTED, do WE have it
incumbent = union does NOT start with "none" -- bench-reference: any rival claims it
jelly_live = fuzzy_has(live_jelly_text, feat|probe) -- live PROVENANCE (case/hyphen-safe)
classification (no faked semantics):
nishi & !incumbent -> DIFFERENTIATED (sovereign axis: union says no rival has it)
nishi & incumbent -> PARITY (we + a rival both have it)
!nishi & incumbent -> BEHIND (rival has it, we lack it -- media breadth)
!nishi & !incumbent -> NEITHER
The live Jellyfin fetch CONFIRMS the union claim where its prose literally
states the feature (provenance); where prose words it differently that's the
remaining prose->feature SEMANTIC seat (a model seat) -- NOT faked here, just
not required for the differentiation/parity/behind verdict.
SOURCE-INTEGRITY GATE (no-false-green): live text MUST contain "Jellyfin" +
MUST NOT contain a nonsense token; self-model pos/neg controls. license_tier: ORIGINAL
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_research_extract.nxnx_html_to_text.nxnx_fuzzy_match.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 32 | const SC_SELF: *u8 = "runtime/_hdl_build/nx_ecosystem_test.nx" |
| 33 | const SC_REF: *u8 = "knowledge/registry/media_incumbent_ref.tsv" |
| 34 | const SC_RAW: *u8 = "knowledge/fetched/jellyfin_sovereign.raw" |
| 35 | const SC_OUT: *u8 = "knowledge/registry/media_sourced_census.tsv" |
| 36 | const SC_MAXF: i64 = 256 |
functions
| 38 | func sc_msg(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 39 | func sc_putn(v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m}; let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48;k=1}; while m>0{t[k]=48+(m%10);m=m/10;k=k+1}; var i: i64=0; while i<k{bb[i]=t[k-1-i];i=i+1} sys_write(1,bb,k); return 0 } |
| 40 | func sc_slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } called by 1: main |
| 42 | func sc_read_file(path: *u8, buf: *u8, cap: i64) -> i64 |
| 51 | func sc_scan_to(buf: *u8, n: i64, start: i64, delim: i64) -> i64 called by 1: main |
| 57 | func sc_app(dst: *u8, off: i64, s: *u8) -> i64 { var i: i64=0; while s[i]!=(0 as u8){dst[off+i]=s[i];i=i+1} return off+i } called by 1: main |
| 60 | func sc_union_none(u: *u8) -> i64 called by 1: main |
| 65 | func main() -> i64 |