code wiki / (root) / nx_career_fair.nx

nx_career_fair.nx

buildroot/runtime/nx_career_fair.nx

5496 B116 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic career
docsdependenciesstructsconstsfunctions

about

nx_career_fair.nx -- FAIRNESS BY CONSTRUCTION for the career matcher (career ring rung 3; the number-one 2025/26 frontier wave, gapmap momentum 228). The mechanical claim, PROVEN not asserted: MATCH-SCORE is a function of SKILLS ALONE. A candidate RECORD may carry name / gender / age / zip -- the scorer extracts only the skills field, and this gate proves INVARIANCE: records identical in skills but different in every demographic field score BYTE-IDENTICALLY (direct discrimination impossible by construction), while a skills change DOES move the score (sensitivity control -- ignoring everything would trivially "pass"), and skill ORDER does not matter. HONEST SCOPE: this is attribute-blindness; proxy fairness (skills themselves correlating with demographics) is the open research frontier and is NOT claimed here. Record form: name|gender|age|zip|skills-csv. Argless = selftest gate; CLI: score <record> <need-csv>. expect_exit: 0 license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_career.nx nx_career_fair.nx

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

main cf_selftest p sys_write slen cf_score cf_field skills_parse match_score skill_find seq pn p ↻ sys_mmap sys_write ↻ seq ↻ p ↻ cf_score ↻ pn ↻

structs

none

consts

12const K_MAGIC_1024: i64 = 1024

functions

15func cf_field(s: *u8, idx: i64, out: *u8, cap: i64) -> i64
called by 1: cf_score
38func cf_score(rec: *u8, needcsv: *u8) -> i64
53func cf_selftest() -> i64
called by 1: main calls 3: pcf_scorepn
106func main(argc: i64, argv: *i64) -> i64