code wiki / (root) / nx_beerqa_fetch.nx

nx_beerqa_fetch.nx

buildroot/runtime/nx_beerqa_fetch.nx

2000 B27 linesdepth 24pulls 155 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_beerqa_fetch.nx -- fetch the BeerQA dev split (Stanford, beerqa.github.io) SOVEREIGNLY. BeerQA UNIFIES SQuAD(1-hop) + HotpotQA(2-hop) + newly-annotated 3-hop questions in ONE format tagged by `src` = the whole difficulty ladder in a single dataset (operator's explicit example). ⚠STATUS 2026-07-07: BLOCKED at the TLS HANDSHAKE (pinned via nx_fetch_probe, all 3 paths): TLS1.3, chrome fingerprint, AND TLS1.2 ALL fail at FAIL=HANDSHAKE(tls) -- so it is NOT DNS (resolves), NOT TCP (connects), NOT a TLS-version issue. The handshake reaches negotiation and dies = CERT-VALIDATION (Stanford CA/chain not in our Mozilla store, or an unsupported signature-alg) OR a required cipher/curve our client doesn't offer. Fixing it = a focused TLS arc (dump the ServerHello/cert stage, add the missing CA or cipher). NOT the fetcher's fault (paged/dynamic path proven on HF). ALTERNATIVE TAKEN: MuSiQue (2-4 hop, HARDER than BeerQA's 3-hop tier) is parquet-backed on HF and reachable -> nx_musique_fetch gives us a harder rung without the Stanford TLS arc. Keep this as the ready retry once the handshake is debugged. Run SOLO. expect_exit: 0 license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_research_engine.nx nx_beerqa_fetch.nx

imports: nx_research_engine.nx

imported by: nobody (leaf or entry point)

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

main rf_init nx_trust_store_load_from_c sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read 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 _decode_octal_escape _is_octal trust_store_alloc sys_mmap ↻ nx_x509_trust_store_load sys_mmap ↻ x509_parse sys_mmap ↻ asn1_cursor_init asn1_expect_tag sys_mmap ↻ asn1_read_tlv_header asn1_read_length x509_read_tlv sys_mmap ↻ asn1_expect_tag ↻ x509_read_alg_id sys_mmap ↻ asn1_expect_tag ↻ trust_store_add

structs

none

consts

14const K_MAGIC_25165824: i64 = 25165824

functions

16func main() -> i64