code wiki / _hdl_build / nx_browser_ux_census.nx
nx_browser_ux_census.nx
buildroot/runtime/_hdl_build/nx_browser_ux_census.nx
about
nx_browser_ux_census.nx -- the RESEARCH-GROUNDED browser UX/CX census (operator: the testing suite =
researcher + census proving s-class on UI/CX/features "without needing a human but matching a humans
experience"). Every axis cites the banked research corpus (nx_ux_research_fetch -> ux_*.raw: Nielsen
heuristic evaluation, Fitts's law, WCAG, usability testing, digital anthropology) and is graded by a
MECHANICAL probe wherever one exists:
- WCAG contrast COMPUTED (integer gamma~2 sRGB approximation) for body text + links on our real colors;
- legibility = the OCR judge's LIVE number PARSED from ocr_legibility.log (ours vs chrome/edge 1000);
- scroll/reflow/click = the synthetic user's artifacts (nx_browser_user_sim gate, usersim_*.png);
- target sizes = the chrome's real button geometry vs the WCAG 24px minimum;
- un-built human-experience axes (tabs, find, a11y tree, focus, error pages, zoom UI, dark mode) =
ADMIT rows -- the census mechanically CANNOT whitewash (C2 forces >=5 admissions).
Verdict = census integrity, never the score. NEVER-BRICK: reads evidence, writes status artifacts.
expect_exit: 0 license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_itoa_lib.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
| 16 | const K_MAGIC_2126: i64 = 2126 |
| 17 | const K_MAGIC_7152: i64 = 7152 |
| 18 | const K_MAGIC_10000: i64 = 10000 |
| 19 | const K_MAGIC_12750: i64 = 12750 |
| 20 | const K_MAGIC_65536: i64 = 65536 |
| 21 | const K_MAGIC_4500: i64 = 4500 |
| 22 | const K_MAGIC_50000: i64 = 50000 |
functions
| 24 | func uc_puts(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 29 | func uc_num(v: i64) -> i64 { nxi_out(v); return 0 } |
| 30 | func uc_app(buf: *u8, pos: i64, s: *u8) -> i64 { var p: i64=pos; var i: i64=0; while s[i]!=(0 as u8) { buf[p]=s[i]; p=p+1; i=i+1 } return p } called by 1: main |
| 31 | func uc_appd(buf: *u8, pos: i64, v: i64) -> i64 |
| 43 | func uc_write_file(path: *u8, data: *u8, n: i64) -> i64 |
| 50 | func uc_fsize(path: *u8) -> i64 |
| 57 | func uc_parse_after(path: *u8, key: *u8) -> i64 |
| 85 | func uc_contrast_milli(tr: i64, tg: i64, tb: i64, br2: i64, bg2: i64, bb2: i64) -> i64 called by 1: main |
| 99 | func main() -> i64 |