code wiki / _hdl_build / nx_ad_exceed.nx

nx_ad_exceed.nx

buildroot/runtime/_hdl_build/nx_ad_exceed.nx

15274 B263 linesdepth 7pulls 14 transitivereach 2 importersview sourcekind librarytopic ad
docsdependenciesstructsconstsfunctions

about

nx_ad_exceed.nx -- LIB: the ad engine's MEASURED-EXCEED CENSUS (organ-graded, cited). Answers the operator's standing question "where are we / where do we need to go" for the "Brought to you by" ad system, as a DURABLE MACHINE rather than a claim. The maturity ladder (per the Graceful Evolution Charter): ABSENT < STUB < BUILT < GATED < MEASURED < EXCEEDS < PHYSICS-OPTIMUM. HONESTY BY CONSTRUCTION (feedback-no-wave-measured-exceed + feedback-author-by-organ-not-claude): the grade for each axis is a PURE MONOTONE FUNCTION of LIVE EVIDENCE gathered by calling the real organs (serve, botfilter, conversion) -- never a self-score. `ax_level` cannot skip a rung: you cannot reach EXCEEDS without the whole chain exists->built->gated->measured->beats. That monotone gate IS the liar-kill (the gate proves a fabricated "beats" with no "measured" is REFUSED). THE FRAME (cited, sovereignly fetched by nx_research_fetch into knowledge/fetched/srch_*.raw): VIEWABILITY MRC: >=50% of ad pixels in view for >=1 continuous second (display) / >=2s (video), in an in-focus tab; "Time in View" [srch_adview.raw] BOT / IVT MRC Invalid-Traffic Detection Guidelines + TAG; GIVT (data-center / known-bot / non-browser) vs SIVT; fraud $88B(2023)->$172B(2028); ~50% of acquired traffic from data-center IPs (2016) [srch_adfraud.raw] PRIVACY Plausible: cookieless, NO persistent identifier, GDPR+CCPA, privacy-by-design -- ours ADDS a k-anon suppression floor the peer lacks [srch_privacy.raw] TRANSPARENCY IAB ads.txt (Authorized Digital Sellers), DIRECT vs RESELLER, anti domain-spoof -- a DIRECT single-sponsor model has no reseller chain [srch_adstxt.raw] license_tier: ORIGINAL

dependencies 9 imports · 2 importers

nx_ad_serve.nx nx_ad_view.nx nx_ad_botfilter.nx nx_ad_conversion.nx nx_ad_intake.nx nx_ad_ivt.nx nx_ad_h2h.nx nx_ad_store.nx nx_syscalls.nx nx_ad_exceed.nx nx_ad_exceed_gate.nx nx_advertising_page.nx

imports: nx_ad_serve.nxnx_ad_view.nxnx_ad_botfilter.nxnx_ad_conversion.nxnx_ad_intake.nxnx_ad_ivt.nxnx_ad_h2h.nxnx_ad_store.nxnx_syscalls.nx

imported by: nx_ad_exceed_gate.nxnx_advertising_page.nx

structs

none

consts

32const AX_MAGIC_4096: i64 = 4096
33const AX_MAGIC_5000: i64 = 5000
34const AX_MAGIC_1500: i64 = 1500
35const AX_MAGIC_3000: i64 = 3000
38const AX_ABSENT: i64 = 0
39const AX_STUB: i64 = 1
40const AX_BUILT: i64 = 2
41const AX_GATED: i64 = 3
42const AX_MEASURED: i64 = 4
43const AX_EXCEEDS: i64 = 5

functions

48func ax_level(exists: i64, built: i64, gated: i64, measured: i64, beats: i64) -> i64
called by 1: main
58func xw(fd: i64, s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(fd, s, n); return 0 }
called by 1: main calls 1: sys_write
59func xwn(fd: i64, v: i64) -> i64 { let bb: *u8 = sys_mmap(28); var m: i64=v; if m<0 {m=0-m; sys_write(fd,"-" as *u8,1)}; 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)) as u8; m=m/10; k=k+1}; var i: i64=0; while i<k {bb[i]=t[k-1-i]; i=i+1}; sys_write(fd, bb, k); return 0 }
65func ev_delivery() -> i64
81func ev_bot(rules: *i64, nrules: i64) -> i64
106func ev_privacy(rules: *i64, nrules: i64, k: i64) -> i64
128func ev_transparency() -> i64
140func ev_viewability() -> i64
159func ev_signup() -> i64
170func ev_ivt() -> i64
189func ax_census_levels(lv: *i64) -> i64
212func ax_level_name(fd: i64, lv: i64) -> i64
223func ax_report(fd: i64, lv: *i64, k: i64) -> i64