code wiki / (root) / nx_dr_elo.nx

nx_dr_elo.nx

buildroot/runtime/nx_dr_elo.nx

3800 B94 linesdepth 2pulls 2 transitivereach 5 importersview sourcekind librarytopic dr
docsdependenciesstructsconstsfunctions

about

nx_dr_elo.nx -- SOVEREIGN deterministic integer Elo TOURNAMENT ranker (DR-1). The Co-Scientist "Tournament of Ideas": pairwise-critique match outcomes -> Elo ratings -> a ranking that decides which research vectors deserve deep compute. Determinism/reproducibility = the sovereign EXCEED axis vs single-agent tools: bit-exact, NO float, a fixed 41-point expected-score table (E(d)=1000/(1+10^(d/400)) in permille, d=rating gap) with integer linear interpolation. No hardware writes (Rule 26). Imports ONLY nx_syscalls = drift-immune. module: nishi-core.research.dr_elo depends: nx_syscalls.nx capability: CORE_COMPUTE wired_status: LIBRARY (conductor wiring = DR-4; critic match-outcomes = DR-2) genealogy_id: elo_1978_rating + coscientist_2026_tournament_of_ideas

dependencies 1 imports · 2 importers

nx_syscalls.nx nx_dr_elo.nx nx_dr_conductor.nx nx_dr_elo_cli.nx

imports: nx_syscalls.nx

imported by: nx_dr_conductor.nxnx_dr_elo_cli.nx

structs

none

consts

16const EL_START: i64 = 1500
17const EL_K: i64 = 32

functions

21func el_make_etab() -> *i64
called by 2: cond_runmain calls 1: sys_mmap
34func el_expected(rself: i64, ropp: i64, tab: *i64) -> i64
called by 1: el_run_tournament
49func el_update(rating: i64, expected: i64, score: i64, k: i64) -> i64
called by 1: el_run_tournament
56func el_run_tournament(ratings: *i64, n: i64, ma: *i64, mb: *i64, mo: *i64, m: i64, k: i64, tab: *i64) -> i64
called by 2: cond_runmain calls 2: el_expectedel_update
74func el_rank(ratings: *i64, n: i64, out_order: *i64) -> i64
called by 1: main calls 1: sys_mmap