code wiki / (root) / nx_research_crossval_gate.nx

nx_research_crossval_gate.nx

buildroot/runtime/nx_research_crossval_gate.nx

13188 B222 linesdepth 21pulls 172 transitivereach 0 importersview sourcekind gate/prooftopic research
docsdependenciesstructsconstsfunctions

about

nx_research_crossval_gate.nx -- gate for nx_research_crossval (multi-source cross-validation, the refutation sub-axis peers lead). PURE teeth ($0, fixtures): T1 corroborated needs >=2 CONFIRMS on DISTINCT hosts; T2 LIAR-KILLER: the same host confirming twice is an ECHO -> NOT corroborated (stays CONFIRMED-SINGLE); T3 confirm+discredit -> CONFLICTED (never averaged); T4 only-discredit -> REFUTED; T5 all-absent -> UNVERIFIABLE + invents NO confirms/discredits; T6 zero sources -> fail-closed UNVERIFIABLE. TIER-2 (argv[1]=live): the first sovereign LIVE multi-source cross-validation -- GPT-3 175B corroborated across arxiv.org + api.semanticscholar.org + api.datacite.org (3 independent hosts over sovereign TLS-1.3; graceful degradation: a rate-limited/degraded host contributes UNVERIFIABLE, never a fake corroboration). license_tier: ORIGINAL expect_exit: 0

dependencies 6 imports · 0 importers

nx_syscalls.nx nx_research_crossval.nx nx_research_unified.nx nx_x509_trust_store.nx nx_trust_store_load_from_certdata. nx_https_fetch_follow.nx nx_research_crossval_gate.nx

imports: nx_syscalls.nxnx_research_crossval.nxnx_research_unified.nxnx_x509_trust_store.nxnx_trust_store_load_from_certdata.nxnx_https_fetch_follow.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap gv_puts sys_write gv_slen cvx_verify sys_mmap ↻ cvc_verify_text cvc_parse_tenths cvc_find_after cvc_slen cvc_claim_verdict cvc_iabs gv_check gv_puts ↻ cvx_answer_verify sys_mmap ↻ txt_sentence_end rvs_first_number sys_mmap ↻ rvs_num_at rsq_sentence_cite sys_mmap ↻ txt_parse_cite rsq_len rvs_span_numbers_near sys_mmap ↻ rvs_num_at ↻ rvs_src_has_near sys_mmap ↻ rvs_num_at ↻ cvc_iabs ↻ rvs_src_has_near ↻ rvs_verify_answer sys_mmap ↻ txt_sentence_end ↻ rvs_first_number ↻ rsq_sentence_cite ↻ rsq_len ↻ rvs_span_numbers_near ↻

structs

none

consts

none

functions

17func gv_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 2: gv_checkmain calls 1: sys_write
18func gv_putn(v: i64) -> i64
called by 1: main calls 2: sys_writesys_mmap
28func gv_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 1: main
29func gv_streq(a: *u8, b: *u8) -> i64
called by 1: main
35func gv_name(v: i64) -> *u8
42func gv_check(st: *i64, ok: i64, label: *u8) -> i64
called by 1: main calls 1: gv_puts
48func main(argc: i64, argv: *i64) -> i64