code wiki / (root) / nx_fin_grant.nx

nx_fin_grant.nx

buildroot/runtime/nx_fin_grant.nx

2376 B51 linesdepth 2pulls 2 transitivereach 1 importersview sourcekind librarytopic fin
docsdependenciesstructsconstsfunctions

about

nx_fin_grant.nx -- R8 (Nishi Grants): pull in NON-DILUTIVE cash. Eligibility screening for SBIR/STTR (US small business, <=500 employees, >=51% US-owned, for-profit), program-fit scoring to rank opportunities, draft-completeness accounting (the 5 required sections), and the phase award caps (DATA -- adjust per agency per year). The drafting itself composes Nishi Writer (nx_writecraft readability) as a follow-on wiring step. Pure, i64. license_tier: ORIGINAL

dependencies 1 imports · 1 importers

nx_syscalls.nx nx_fin_grant.nx nx_fin_grant_gate.nx

imports: nx_syscalls.nx

imported by: nx_fin_grant_gate.nx

structs

none

consts

8const GR_SBIR_MAX_EMP: i64 = 500 // SBIR/STTR small-business ceiling
9const GR_SBIR_MIN_USOWN: i64 = 51 // >=51% US-owned
10const GR_PHASE1_CAP_CENTS: i64 = 27500000 // ~$275,000 typical Phase I
11const GR_PHASE2_CAP_CENTS: i64 = 180000000 // ~$1,800,000 typical Phase II

functions

14func gr_sbir_eligible(is_small_biz: i64, employees: i64, us_owned_pct: i64, is_for_profit: i64) -> i64
called by 1: main
24func gr_fit_score(topic_match_pct: i64, phase_ready: i64, novelty: i64, w_phase: i64, w_novelty: i64) -> i64
called by 1: main
33func gr_draft_complete(has_abstract: i64, has_innovation: i64, has_commercial: i64, has_budget: i64, has_team: i64) -> i64
called by 1: main
44func gr_draft_ready(completeness: i64) -> i64 { if completeness >= 5 { return 1 } return 0 }
called by 1: main
47func gr_award_cap(phase: i64) -> i64
called by 1: main