code wiki / (root) / nx_medbill_advocacy_gate.nx

nx_medbill_advocacy_gate.nx

buildroot/runtime/nx_medbill_advocacy_gate.nx

5909 B100 linesdepth 5pulls 6 transitivereach 0 importersview sourcekind gate/prooftopic medbill
docsdependenciesstructsconstsfunctions

about

nx_medbill_advocacy_gate.nx -- M-ADV GATE: proves (1) charity-care screening reads the CURRENT HHS poverty guidelines from the DATA pack and the pack MATCHES THE BANKED SOURCE bytes (aspe.hhs.gov, fetched sovereignly -- caught a stale-year error at authoring time), with the uniform increment cross-checked against the table's own multi-person rows; (2) FPL percent math is exact integer; (3) the 501(r) request letter carries the load-bearing content; (4) appeal deadline math is exact and LEAP-SAFE; (5) the denial-appeal letter is reason-specific with the computed deadline inline. Exits 0 iff ALL pass. Run from nxc2. license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_medbill_codes.nx nx_medbill_charity.nx nx_medbill_appeal.nx nx_medbill_advocacy_gate.nx

imports: nx_syscalls.nxnx_medbill_codes.nxnx_medbill_charity.nxnx_medbill_appeal.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 chk g_puts sys_write g_putn sys_write ↻ sys_mmap ↻ mbch_fpl sys_mmap ↻ mbc_read_all sys_openat_rd sys_read sys_close mbr10 mbc_read_all ↻ mbc_find mbc_slen mbch_pct mbch_letter mbch_cat mbch_n sys_mmap ↻ mbc_contains mbc_slen ↻ mbc_find ↻ mba_add_days mba_cfd mba_dfc mba_letter mba_add_days ↻ mba_cat mba_date mba_n2 mba_reason mba_cat ↻ g_puts ↻ g_putn ↻

structs

none

consts

none

functions

13func g_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 2: chkmain calls 1: sys_write
14func g_putn(v: i64) -> i64
called by 2: chkmain calls 2: sys_writesys_mmap
27func chk(name: *u8, got: i64, want: i64, st: *i64) -> i64
called by 1: main calls 2: g_putsg_putn
33func main() -> i64