code wiki / (root) / nx_verify_ingest.nx

nx_verify_ingest.nx

buildroot/runtime/nx_verify_ingest.nx

7334 B209 linesdepth 4pulls 6 transitivereach 0 importersview sourcekind tooltopic verify
docsdependenciesstructsconstsfunctions

about

nx_verify_ingest.nx -- verify the ingested-primitive JSONL artifact. Reads specs/ingested_metamath_1m.jsonl (or any *_ingest_*.jsonl) and reports: - total rows - rows with well-formed `"label":"..."` field - unique labels (via FNV-1a hashing into a fixed-cap bitset) - duplicate-label count (collision detection) - kind distribution Per user directive 2026-05-13: confirm the algorithms came in properly, were deduped, and are well-formed enough for NishiLang to reference.

dependencies 5 imports · 0 importers

nx_syscalls.nx nx_runtime.nx nx_clock.nx nx_hash.nx nx_tier.nx nx_verify_ingest.nx

imports: nx_syscalls.nxnx_runtime.nxnx_clock.nxnx_hash.nxnx_tier.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 sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close sys_write strlen print_i64 sys_mmap ↻ itoa sys_mmap ↻ sys_write ↻ nx_hash_new nx_clock_monotonic_ns sys_mmap ↻ sys_clock_gettime_mono find_substr strlen ↻ find_quote nx_hash_fnv1a_bytes nx_hash_has nx_hash_probe nx_hash_fnv1a_i64 nx_hash_put nx_hash_probe ↻

structs

none

consts

27const STDOUT: i64 = 1

functions

30func find_quote(buf: *u8, start: nx_idx, end: nx_idx) -> nx_idx
called by 1: main
40func find_substr(buf: *u8, start: nx_idx, end: nx_idx, needle: *u8) -> nx_idx
called by 1: main calls 1: strlen
57func main() -> i64