code wiki / (root) / nx_frontier_research_fetch.nx

nx_frontier_research_fetch.nx source

↩ module page · 46 lines · 4608 B

1// nx_frontier_research_fetch.nx -- ★FRONTIER-WATCH researcher (operator 2026-07-08). Ingest CURRENT (2024-2026) 2// SOTA sovereignly. ⚠Semantic Scholar's SEARCH endpoint 429s unauthenticated AND its key form gates on 3// nonprofit/academic affiliation -> UNUSABLE for us. REPLACED with fully-OPEN, KEYLESS, no-affiliation-gate 4// scholarly APIs reachable over OUR sovereign TLS, with BROADER coverage than Semantic Scholar: 5// • OpenAlex (api.openalex.org, ~250M works, KEYLESS; polite pool via mailto=) -- the star source 6// • arXiv (export.arxiv.org, KEYLESS) -- the primary CS preprint source, latest-first 7// • Crossref (api.crossref.org, KEYLESS; polite pool via mailto=) -- publisher-neutral DOI + references 8// Banks -> knowledge/library/frontier_*.txt. Idempotent. Spaced for politeness. ORIGINAL expect_exit:0 9import "nx_research_engine.nx" 10const K_MAGIC_2200: i64 = 2200 11const K_MAGIC_8388608: i64 = 8388608 12 13func F(u: *u8, o: *u8, store: *TrustStore, out: *u8, cap: i64) -> i64 { rf_sleep_ms(K_MAGIC_2200); return rf_fetch_bank(u, o, store, out, cap) } 14 15func main() -> i64 { 16 let store: *TrustStore = rf_init() 17 if (store as i64) == 0 { rf_puts("frontier: trust store load failed\n" as *u8); return 1 } 18 rf_puts("CA roots="); rf_putn(trust_store_count(store)); rf_puts(" -- FRONTIER WATCH via OPEN keyless APIs (OpenAlex/arXiv/Crossref), sovereign TLS\n" as *u8) 19 let cap: i64 = K_MAGIC_8388608 20 let out: *u8 = sys_mmap(cap) 21 var ok: i64 = 0 22 var tot: i64 = 0 23 24 // === OpenAlex (KEYLESS, ~250M works, more coverage than Semantic Scholar) === 25 rf_section("OpenAlex: the operator's paper by DOI + its reference graph" as *u8) 26 ok = ok + F("https://api.openalex.org/works/doi:10.1145/3757377.3763839?mailto=elderwesto@gmail.com" as *u8, "frontier_oa_seedpaper" as *u8, store, out, cap); tot = tot + 1 27 28 rf_section("OpenAlex searches: current SOTA in our domains (2024+, title/abstract/doi/refs/OA)" as *u8) 29 ok = ok + F("https://api.openalex.org/works?search=single+image+3D+human+avatar+reconstruction&filter=from_publication_date:2024-01-01,type:article&per-page=20&mailto=elderwesto@gmail.com" as *u8, "frontier_oa_singleimg" as *u8, store, out, cap); tot = tot + 1 30 ok = ok + F("https://api.openalex.org/works?search=3D+gaussian+splatting+avatar+head+photorealistic&filter=from_publication_date:2024-01-01,type:article&per-page=20&mailto=elderwesto@gmail.com" as *u8, "frontier_oa_gaussavatar" as *u8, store, out, cap); tot = tot + 1 31 ok = ok + F("https://api.openalex.org/works?search=parametric+face+model+FLAME+blendshape+expression&filter=from_publication_date:2024-01-01,type:article&per-page=20&mailto=elderwesto@gmail.com" as *u8, "frontier_oa_paramface" as *u8, store, out, cap); tot = tot + 1 32 ok = ok + F("https://api.openalex.org/works?search=text+to+3D+human+avatar+generation+diffusion&filter=from_publication_date:2024-01-01,type:article&per-page=20&mailto=elderwesto@gmail.com" as *u8, "frontier_oa_text2avatar" as *u8, store, out, cap); tot = tot + 1 33 ok = ok + F("https://api.openalex.org/works?search=relightable+neural+skin+subsurface+scattering+real-time&filter=from_publication_date:2024-01-01,type:article&per-page=20&mailto=elderwesto@gmail.com" as *u8, "frontier_oa_skinrender" as *u8, store, out, cap); tot = tot + 1 34 35 // === arXiv (KEYLESS, primary CS preprint source, latest-first -- the free full-text route) === 36 rf_section("arXiv: latest cs.GR/cs.CV preprints (submittedDate desc)" as *u8) 37 ok = ok + F("https://export.arxiv.org/api/query?search_query=cat:cs.GR+AND+abs:avatar&start=0&max_results=20&sortBy=submittedDate&sortOrder=descending" as *u8, "frontier_arxiv_gravatar" as *u8, store, out, cap); tot = tot + 1 38 ok = ok + F("https://export.arxiv.org/api/query?search_query=abs:gaussian+AND+abs:human+AND+abs:reconstruction&start=0&max_results=20&sortBy=submittedDate&sortOrder=descending" as *u8, "frontier_arxiv_gaushuman" as *u8, store, out, cap); tot = tot + 1 39 40 // === Crossref (KEYLESS, publisher-neutral, DOI + references + OA links) === 41 rf_section("Crossref: recent 3D-avatar works (DOI + references)" as *u8) 42 ok = ok + F("https://api.crossref.org/works?query=3D+human+avatar+gaussian+splatting&filter=from-pub-date:2024-01-01&rows=20&mailto=elderwesto@gmail.com" as *u8, "frontier_cr_avatar" as *u8, store, out, cap); tot = tot + 1 43 44 rf_puts("FRONTIER BANKED: "); rf_putn(ok); rf_puts(" / "); rf_putn(tot); rf_puts(" -- 2025 frontier RESEARCHED via OPEN keyless APIs (knowledge/library/frontier_*.txt); NO Semantic Scholar, NO key\n" as *u8) 45 return 0 46}