code wiki / _hdl_build / nx_perma_mine.nx

nx_perma_mine.nx

buildroot/runtime/_hdl_build/nx_perma_mine.nx

3864 B89 linesdepth 6pulls 8 transitivereach 1 importersview sourcekind library
docsdependenciesstructsconstsfunctions

about

nx_perma_mine.nx -- LIB: GRIND the permaculture corpus into structured AFFORDABILITY facts (operator: "grind this as part of our affordability improvement"). Two extractions over the license-clean perma_*.raw corpus: 1. COMPANION PLANTING -- crop co-occurrence in the corpus = which crops to grow together for better yield (more food per square foot = more affordability). Promoted to garden:companion:<a>:<b>. 2. SOIL-IMPROVEMENT RANKING -- how often each cheap soil practice (compost, mulch, cover crop, ...) appears = an evidence-ranked list of the cheapest ways to build fertility (free compost beats bought fertilizer). FACTS-ONLY + LICENSE-GATED (reuses the recipe miner fm_* + the provenance gate). This GROWS the researcher from a fetcher into a synthesizer (signal extraction), per the grow-the-researcher doctrine. license_tier: ORIGINAL

dependencies 6 imports · 1 importers

nx_food_recipe_mine.nx nx_garden.nx nx_food_provenance.nx nx_food_science.nx nx_seg_store.nx nx_syscalls.nx nx_perma_mine.nx nx_perma_mine_gate.nx

imports: nx_food_recipe_mine.nxnx_garden.nxnx_food_provenance.nxnx_food_science.nxnx_seg_store.nxnx_syscalls.nx

imported by: nx_perma_mine_gate.nx

structs

none

consts

none

functions

17func pm_count_term(c: *u8, clen: i64, term: *u8, tl: i64) -> i64
called by 1: main
37func pm_lower_term(t: *u8) -> i64
44func pm_promote_companions(prefix: *u8, world: *i64, cooc: *i64) -> i64
77func pm_companion(prefix: *u8, a: *u8, b: *u8) -> i64
called by 1: main calls 4: sys_mmapas_appendss_getfd_atoi