code wiki / (root) / nx_render_sweep.nx

nx_render_sweep.nx

buildroot/runtime/nx_render_sweep.nx

6492 B159 linesdepth 6pulls 11 transitivereach 0 importersview sourcekind tooltopic render
docsdependenciesstructsconstsfunctions

about

nx_render_sweep.nx -- RENDER EVERY PUBLISHED /compare BOARD, not a sample of them. Two pages rendered is a SPOT CHECK: it proves the pipeline CAN draw a page, never that it draws the pages we actually publish. This walks the estate's own SSOT (buildroot/knowledge/compare/regen.list) and renders every domain on it through nx_pagerender_lib -- the SAME code the single-page CLI runs, so the two can never disagree about what "rendered" means. THE PARTITION MUST SUM AND THE SUM IS PRINTED. domains_listed = passed + skipped + failed. A sweep that quietly drops a row reports coverage it does not have, and a residual nobody can reconcile is a leak, not a rounding error. The marker check is DELIBERATELY SKIPPED here and that choice is REPORTED per row rather than being silently absent: every board has a different h1, so one marker cannot be right for all of them, and inventing per-domain markers would be asserting page content this organ has not read. What the sweep proves is the RENDER -- text extracted and a non-blank framebuffer painted. The marker assertion stays available for targeted single-page checks, where it is meaningful. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_pagerender_lib.nx nx_render_sweep.nx

imports: nx_syscalls.nxnx_pagerender_lib.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close rs_puts sys_write ↻ rs_cat pr_stats sys_mmap ↻ pr_render sys_mmap ↻ sys_read_file ↻ nx_html_to_text nx_html_to_text_x h2t_state_new sys_mmap ↻ sys_mmap ↻ h2t_scan_tag h2t_skip_to_gt h2t_scan_name h2t_is_name

structs

none

consts

21const RS_NL: i64 = 10
22const RS_HASH: i64 = 35
23const RS_CR: i64 = 13
24const RS_PATHCAP: i64 = 512
25const RS_NUMCAP: i64 = 32

functions

27func rs_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 3: rs_numrs_padmain calls 1: sys_write
29func rs_num(v: i64) -> i64
called by 1: main calls 3: sys_mmaprs_putssys_write
43func rs_cat(d: *u8, at: i64, s: *u8) -> i64
called by 1: main
50func rs_pad(s: *u8, width: i64) -> i64
called by 1: main calls 1: rs_puts
58func main(argc: i64, argv: *i64) -> i64