code wiki / (root) / nx_market_test.nx

nx_market_test.nx

buildroot/runtime/nx_market_test.nx

1775 B38 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic market
docsdependenciesstructsconstsfunctions

about

nx_market_test.nx -- smoke for nx_market. Proves production cost-down, Wright's-law learning curve, margin pricing, break-even, customer payback, the viability verdict, and composition with the real BOM. Exit code = failed assertion number; 0 = all pass.

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_bom.nx nx_market.nx nx_market_test.nx

imports: nx_syscalls.nxnx_bom.nxnx_market.nx

imported by: nobody (leaf or entry point)

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

main mk_production_unit_cost mk_learning_cost mk_price_for_margin mk_gross_margin_pct mk_break_even_units mk_daily_savings_cents mk_payback_days mk_viable mk_water_production_cost nx_bom_water_assemble sys_mmap nx_bom_water_qty nx_bom_part sys_mmap ↻ bom_set sys_munmap sys_munmap ↻ mk_production_unit_cost ↻

structs

none

consts

none

functions

10func main() -> i64