code wiki / (root) / nx_climbout_real.nx

nx_climbout_real.nx

buildroot/runtime/nx_climbout_real.nx

7117 B121 linesdepth 5pulls 13 transitivereach 8 importersview sourcekind librarytopic climbout
docsdependenciesstructsconstsfunctions

about

nx_climbout_real.nx -- R5b: build the climb-out plan from REAL engine outputs, not demo literals. The caller runs the actual engines on the person's data -- nx_fin_audit (overcharges to RECOVER), nx_fin_finance (rate savings to CUT-COST), nx_debt (interest to ATTACK), nx_bills (OVERDUE to STABILIZE) -- and passes the computed dollar figures here; `cor_build` assembles them into the (tier, impact) action set that nx_climbout (co_plan/co_total_impact/co_next_action) orders + filters. Only INCLUDES an action when it applies (no overcharge -> no recover step), so the plan reflects the real situation. Thresholds (the per-overdue late fee) are DATA (#11). No floats, no hardware writes. license_tier: ORIGINAL

dependencies 9 imports · 2 importers

nx_syscalls.nx nx_money.nx nx_climbout.nx nx_fin_audit.nx nx_fin_finance.nx nx_debt_payoff.nx nx_bills.nx nx_bills_store.nx nx_climbout_docs.nx nx_climbout_real.nx nx_climbout_real_gate.nx nx_finance_web.nx

imports: nx_syscalls.nxnx_money.nxnx_climbout.nxnx_fin_audit.nxnx_fin_finance.nxnx_debt_payoff.nxnx_bills.nxnx_bills_store.nxnx_climbout_docs.nx

imported by: nx_climbout_real_gate.nxnx_finance_web.nx

structs

none

consts

none

functions

25func cor_build(overdue_count: i64, late_fee: i64, recover_amt: i64, cutcost_amt: i64, attack_amt: i64, buffer_goal: i64, out_tiers: *i64, out_impacts: *i64) -> i64
called by 2: cor_dashboardmain
57func cor_dashboard(bills_prefix: *u8, respondent: *u8, today: i64, debt_balance: i64, debt_apr: i64, debt_payment: i64, out_tiers: *i64, out_impacts: *i64, out_order: *i64, out_n: *i64) -> i64