nx_carflip_roi.nx
buildroot/runtime/nx_carflip_roi.nx
about
nx_carflip_roi.nx -- R6 ROI-scorer organ for the Car-Flip lane.
Reads a used-car deal as argv (whole USD) and emits a downside-gated BUY/PASS.
Gate = P10 (bad case: LOW resale + HIGH repair) -- buy only winners.
v1 = deterministic calculator over operator-supplied REAL figures (no fabricated
data; the inspector enters findings at call time). v2 rung: read carflip-fail-
priors + carflip-sys- to auto-estimate repair_high.
license_tier: ORIGINAL expect_exit: 0
dependencies 1 imports · 0 importers
imports: nx_syscalls.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
| 10 | const CF_BPS: i64 = 10000 // ROI reported in basis points (10000 = 100%) |
functions
| 12 | func cf_puts(s: *u8) -> i64 |
| 18 | func cf_atoi(s: *u8) -> i64 called by 1: main |
| 34 | func cf_putn(n: i64) -> i64 |
| 59 | func cf_kv(key: *u8, val: i64) -> i64 |
| 67 | func main(argc: i64, argv: *i64) -> i64 |