nx_share_rec.nx
buildroot/runtime/nx_share_rec.nx
about
nx_share_rec.nx -- WHAT-TO-SHARE RECOMMENDATION (sharing ring rung 2; the number-one 2025/26 sharing-frontier
wave, gapmap momentum 205). Inverts SHARE-FIT: given an ITEM (a job with requirement skills), rank WHO in the
graph it fits BEFORE sharing -- so a share goes where it actually grows someone, not into the void.
SHARE-REC: for every person in the roster compute match_score (nx_career) -> rank by fit -> tier each as
STRONG / STRETCH / SKIP. Tier thresholds are ARGUMENTS (law: no hardcoded caps) -- the caller (UI/config)
owns them. Deterministic ranking (selection sort, ties keep roster order). Empty roster / empty reqs = LOUD.
Composes the nx_career pure core. Argless = selftest gate. license_tier: ORIGINAL expect_exit: 0
dependencies 1 imports · 0 importers
imports: nx_career.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
| none |
functions
| 11 | func sr_rank(reqs: *u8, names: *i64, profs: *i64, n: i64, order: *i64, scores: *i64) -> i64 |
| 46 | func sr_tier(score: i64, strong_min: i64, stretch_min: i64) -> *u8 called by 1: main |
| 52 | func main() -> i64 |