code wiki / (root) / nx_research_corroborate.nx

nx_research_corroborate.nx

buildroot/runtime/nx_research_corroborate.nx

3885 B124 linesdepth 2pulls 2 transitivereach 7 importersview sourcekind librarytopic research
docsdependenciesstructsconstsfunctions

about

nx_research_corroborate.nx -- the research DEPTH-rigor layer: independent cross-source corroboration + confidence. The thing that makes a researcher EXCEED naive aggregation: it counts DISTINCT INDEPENDENT source-classes per claim (independence rule -- same source-class = ECHO, not corroboration), so 3 echoes of one blog network rank BELOW 2 genuinely-independent sources. Confidence = CONFIRMED (>=2 independent classes) / SINGLE (1) / NONE (0). Citations preserved (distinct source ids per claim). Sovereign, integer. Composes with the fetch/extract/rank organs (the corroboration runs over the claims they surface). genealogy: the analyst independence rule (same incentive class = ECHO). license_tier: ORIGINAL

dependencies 1 imports · 6 importers

nx_syscalls.nx nx_research_corroborate.nx nx_research_corroborate_gate.nx nx_research_digest.nx nx_research_digest_gate.nx nx_research_web.nx nx_writehub_factcheck.nx nx_writehub_factlib.nx

imports: nx_syscalls.nx

imported by: nx_research_corroborate_gate.nxnx_research_digest.nxnx_research_digest_gate.nxnx_research_web.nxnx_writehub_factcheck.nxnx_writehub_factlib.nx

structs

18struct NxCorrAssert
24struct NxCorrob

consts

14const NX_CORR_NONE: i64 = 0
15const NX_CORR_SINGLE: i64 = 1
16const NX_CORR_CONFIRMED: i64 = 2
30const NX_CORR_BYTES: i64 = 24

functions

32func nx_corrob_new(capacity: i64) -> *NxCorrob
called by 4: mainmainfc_checkfcl_check calls 1: sys_mmap
40func _corr_at(c: *NxCorrob, i: i64) -> *NxCorrAssert
45func nx_corrob_assert(c: *NxCorrob, claim_id: i64, source_id: i64, source_class: i64) -> i64
56func nx_corrob_raw_count(c: *NxCorrob, claim_id: i64) -> i64
called by 2: mainmain calls 1: _corr_at
68func nx_corrob_independent_count(c: *NxCorrob, claim_id: i64) -> i64
94func nx_corrob_confidence(c: *NxCorrob, claim_id: i64) -> i64
102func nx_corrob_cite(c: *NxCorrob, claim_id: i64, out: *i64, max: i64) -> i64
called by 2: mainmain calls 1: _corr_at