nx_market.nx
buildroot/runtime/nx_market.nx
about
nx_market.nx -- the NISHI MARKET RESEARCHER: sees what the team can CAPITALIZE on (operator). It
maps the team's capabilities to OPPORTUNITIES and scores each by VALUE x FEASIBILITY -- but only
recommends ones the team can actually DELIVER (its capability is at the grade the opportunity
REQUIRES, per the Examiner). High-value opportunities we can't deliver yet are HONESTLY flagged
BUILD-FIRST (they feed the Futurist + the backlog), not sold as ready. So the team chases value it
can actually ship, and knows exactly what to build to unlock the rest. composes Examiner (grades)
+ Futurist (timing). RACI: Market Researcher scores; Builder builds the unlock; Scientist publishes
the proof a buyer/critic needs. license_tier: ORIGINAL Refs: grade-gated opportunity scoring.
dependencies 2 imports · 2 importers
imports: nx_sclass_grader.nxnx_bom.nx
imported by: nx_market_test.nxnx_strategy_test.nx
structs
| none |
consts
| 19 | const MK_PCT: i64 = 100 |
| 20 | const MK_MIN_MARGIN_PCT: i64 = 40 // below this the margin cannot absorb support + returns |
| 21 | const MK_MAX_PAYBACK_DAYS: i64 = 180 // 6 months; past that a buyer stops believing the savings story |
| 93 | const MKT_CAPITALIZE: i64 = 1 // valuable AND deliverable now -> go |
| 94 | const MKT_BUILD_FIRST: i64 = 2 // valuable but capability not at the required grade -> build the unlock |
| 95 | const MKT_SKIP: i64 = 3 // not valuable enough |
functions
| 24 | func mk_production_unit_cost(prototype_cents: i64, bulk_pct: i64) -> i64 |
| 31 | func mk_learning_cost(base_cents: i64, retention_pct: i64, doublings: i64) -> i64 called by 1: main |
| 42 | func mk_price_for_margin(unit_cost_cents: i64, target_margin_pct: i64) -> i64 called by 1: main |
| 48 | func mk_gross_margin_pct(price_cents: i64, unit_cost_cents: i64) -> i64 called by 1: main |
| 55 | func mk_break_even_units(fixed_cents: i64, price_cents: i64, unit_cost_cents: i64) -> i64 called by 1: main |
| 61 | func mk_daily_savings_cents(liters_per_day: i64, alt_cost_per_l: i64, our_cost_per_l: i64) -> i64 called by 1: main |
| 70 | func mk_payback_days(price_cents: i64, daily_savings_cents: i64) -> i64 called by 1: main |
| 77 | func mk_viable(margin_pct: i64, payback_days: i64) -> i64 called by 1: main |
| 86 | func mk_water_production_cost(bulk_pct: i64) -> i64 |
| 98 | func mkt_can_deliver(capability_grade: i64, required_grade: i64) -> i64 called by 1: mkt_disposition |
| 104 | func mkt_disposition(value: i64, value_floor: i64, capability_grade: i64, required_grade: i64) -> i64 |
| 111 | func mkt_score(value: i64, feasibility: i64) -> i64 { return value * feasibility } called by 1: mkt_top_deliverable |
| 114 | func mkt_top_deliverable(n: i64, value: *i64, feasibility: *i64, grade: *i64, required: *i64, value_floor: i64) -> i64 |
| 128 | func mkt_top_unlock(n: i64, value: *i64, grade: *i64, required: *i64, value_floor: i64) -> i64 |