nx_spend_analyze_gate.nx
buildroot/runtime/nx_spend_analyze_gate.nx
about
nx_spend_analyze_gate.nx -- proves the spend analyzer on a hand-computed monthly budget:
housing $1500 (need,recurring), groceries $400 (need), dining $300 (want), subscriptions $80 (want,recurring),
entertainment $120 (want), savings $200 (save,recurring). Total $2600.
Verifies class totals + 50/30/20 percentages, the largest-want cut target, subscription drain (+ annual cost),
and the situation-aware "how much to cut from wants to hit a savings goal". Exit 0 iff all pass. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_gate.nxnx_spend_analyze.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
| none |
functions
| 9 | func chk(name: *u8, got: i64, want: i64, st: *i64) -> i64 |
| 15 | func main() -> i64 |