code wiki / (root) / nx_research_crossval.nx

nx_research_crossval.nx

buildroot/runtime/nx_research_crossval.nx

6999 B147 linesdepth 12pulls 25 transitivereach 4 importersview sourcekind librarytopic research
docsdependenciesstructsconstsfunctions

about

nx_research_crossval.nx -- MULTI-SOURCE CROSS-VALIDATION: the one refutation sub-axis peers lead (the matrix: "DeepResearcher cross-validates across sources"). Over ONE numeric claim and N fetched evidence texts (each with its own pattern + a caller-supplied HOST id), verdicts each source via cvc_verify_text, then CROSSES them with the INDEPENDENCE DISCIPLINE: corroboration requires >=2 CONFIRMS from DISTINCT hosts (the same host twice is an echo, not corroboration); any CONFIRM+DISCREDIT mix is CONFLICTED (surfaced, never averaged); all-absent stays UNVERIFIABLE (invents nothing); zero sources fail CLOSED to UNVERIFIABLE. Pure/deterministic/$0 -- the fetches stay in the caller (Tier-2), same split as nx_research_refute. Composes nx_claim_verify_core (cvc_*). Cross verdicts: 0=CORROBORATED 1=CONFIRMED-SINGLE 3=CONFLICTED 4=UNVERIFIABLE 5=REFUTED. license_tier: ORIGINAL

dependencies 3 imports · 2 importers

nx_syscalls.nx nx_claim_verify_core.nx nx_research_verify_synth.nx nx_research_crossval.nx nx_research_crossval_gate.nx nx_research_unified.nx

imports: nx_syscalls.nxnx_claim_verify_core.nxnx_research_verify_synth.nx

imported by: nx_research_crossval_gate.nxnx_research_unified.nx

structs

none

consts

none

functions

18func cvx_host_id(url: *u8) -> i64
called by 1: main
51func cvx_verify(bufs: *i64, lens: *i64, pats: *i64, hosts: *i64, n: i64, claim: i64, tol: i64, out: *i64) -> i64
called by 1: main calls 2: sys_mmapcvc_verify_text
98func cvx_answer_verify(ans: *u8, alen: i64, srcv: *i64, nsrc: i64, hosts: *i64, tol: i64, out: *i64) -> i64