code wiki / (root) / nx_arxiv_census.nx

nx_arxiv_census.nx

buildroot/runtime/nx_arxiv_census.nx

6371 B132 linesdepth 23pulls 150 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_arxiv_census.nx -- COMPLETE-POPULATION CENSUS of an arXiv date window. Turns "I read the current month" from a seat's assertion into a MECHANICAL verdict, which is what the sotabar/barscan law needs. COMPOSES the incumbents, deliberately does not duplicate them: se_fetch (nx_search_extern) -- polite sovereign-TLS fetch, the ONE arXiv fetcher em_int_after (nx_search_emerge) -- opensearch:totalResults reader em_collect_yms (nx_search_emerge) -- <published> year-month extractor em_maxym (nx_search_emerge) -- newest YYYY-MM, which IS the barscan newest= field ac_reason/ac_verdict (nx_arxiv_census_lib) -- the ONE decision, shared with the gate in-process The ONE question neither incumbent asks: does opensearch:totalResults RECONCILE against the number of entries actually delivered? Equal means the window is a POPULATION and an absence claim over it is sound; fewer means a SAMPLE wearing a population's clothes and absence over it is UNPROVEN. nx_search_emerge is NOT defective and this organ does not replace it: it samples 12 on purpose for a cheap daily velocity signal and HONESTLY prints "sampled hits" beside "total volume". That is a different question (is this field moving) from this one (what did this window actually contain). Its em_collect_yms cap is silent at the FUNCTION level for any future composer, which is filed as dataio rung DI19. license_tier: ORIGINAL

dependencies 6 imports · 0 importers

nx_search_extern.nx nx_search_emerge.nx nx_arxiv_census_lib.nx nx_syscalls.nx nx_x509_trust_store.nx nx_trust_store_load_from_certdata. nx_arxiv_census.nx

imports: nx_search_extern.nxnx_search_emerge.nxnx_arxiv_census_lib.nxnx_syscalls.nxnx_x509_trust_store.nxnx_trust_store_load_from_certdata.nx

imported by: nobody (leaf or entry point)

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

main ac_usage acp sys_write sys_exit ac_atoi ac_trust nx_trust_store_load_from_c sys_mmap nxa_die sys_write ↻ sys_exit ↻ nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close nx_nss_certdata_parse sys_mmap ↻ _pat_class_cert _pat_value_octal _pat_end _find_newline _starts_with _parse_octal_line sys_mmap ↻ _is_space

structs

none

consts

27const AC_BUFCAP: i64 = 4194304
28const AC_URLCAP: i64 = 1024
29const AC_MAXD: i64 = 4096 // date slots. nd==AC_MAXD is ANNOUNCED as a local cap, never silent.
30const AC_YMSLOT: i64 = 8
31const AC_TRUST_HINT: i64 = 512
32const AC_DEFAULT_MAX: i64 = 300
33const AC_MINARGC: i64 = 4
34const AC_ASCII_ZERO: i64 = 48
35const AC_ASCII_NINE: i64 = 57
36const AC_NUMBUF: i64 = 28

functions

38func acp(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: ac_usagemain calls 1: sys_write
39func acn(v: i64) -> i64
48func ac_numto(dst: *u8, off: i64, v: i64) -> i64
calls 1: sys_mmap
57func ac_atoi(s: *u8) -> i64
called by 1: main
69func ac_trust() -> i64
75func ac_usage() -> i64
called by 1: main calls 1: acp
82func main(argc: i64, argv: *i64) -> i64