code wiki / (root) / nx_underbuilt_board.nx

nx_underbuilt_board.nx

buildroot/runtime/nx_underbuilt_board.nx

4647 B97 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic underbuilt
docsdependenciesstructsconstsfunctions

about

nx_underbuilt_board.nx -- R6 THE UNDERBUILT-PART BOARD (cadtwin ladder; operator: identify underbuilt parts when flipping cars). Reads the banked NHTSA complaints+recalls JSON (nx_underbuilt_fetch) and prints, per vehicle: total complaints, per-COMPONENT frequency ranked with permille share, crash/fire tallies, and the recall components (mandated fixes = confirmed underbuilt). All parsing = nx_underbuilt_lib context-byte JSON scan; deterministic integer output. Vehicles grow as DATA rows in main (add a fetch row + a board row). expect_exit: 0 license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_underbuilt_lib.nx nx_underbuilt_board.nx

imports: nx_underbuilt_lib.nx

imported by: nobody (leaf or entry point)

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

main ubl_puts sys_write ubb_vehicle ubl_puts ↻ ubl_read sys_openat_rd sys_read sys_close ubl_key_int ubl_next ubl_match ubl_count_true ubl_next ↻ ubl_reset ubl_tally ubl_next ↻ ubl_tok_add ubl_putn sys_mmap ubl_puts ↻ sys_write ↻ ubl_top ubl_name_out sys_write ↻ ubl_putn ↻

structs

none

consts

8const K_MAGIC_16777216: i64 = 16777216
9const K_MAGIC_65536: i64 = 65536
10const K_MAGIC_8192: i64 = 8192
11const K_MAGIC_1024: i64 = 1024

functions

13func ubb_vehicle(label: *u8, cpath: *u8, rpath: *u8, buf: *u8, t: *i64, rank: *i64) -> i64
72func main() -> i64