code wiki / (root) / nx_docstore_test.nx

nx_docstore_test.nx

buildroot/runtime/nx_docstore_test.nx

2123 B46 linesdepth 5pulls 8 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_docstore_test.nx -- KAT for persistent crawl store. Native sovereign lane; exit 0 = pass, N = assertion N failed. Append 3 docs -> reload -> verify content survived -> rebuild index + search.

dependencies 4 imports · 0 importers

nx_str.nx nx_bm25.nx nx_search_inverted.nx nx_docstore.nx nx_docstore_test.nx

imports: nx_str.nxnx_bm25.nxnx_search_inverted.nxnx_docstore.nx

imported by: nobody (leaf or entry point)

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

main nx_docstore_reset sys_openat_wr sys_close nx_docstore_append sys_openat_append sys_mmap _ds_put_u32 sys_write sys_close ↻ nx_inv_new nx_inv_index_row nx_inv_is_token_char nx_inv_hash_bytes_lower nx_inv_add_posting nx_inv_count_token nx_inv_slot_at nx_inv_slot_hash nx_inv_slot_set_hash nx_inv_slot_set_postings_c nx_inv_slot_postings_count nx_inv_finalize_offsets nx_inv_slot_at ↻ nx_inv_slot_hash ↻ nx_inv_slot_postings_count ↻ nx_inv_slot_set_postings_o nx_inv_slot_set_write_curs nx_inv_emit_row nx_inv_is_token_char ↻ nx_inv_hash_bytes_lower ↻ nx_inv_emit_posting nx_inv_slot_at ↻ nx_inv_slot_hash ↻ nx_inv_slot_postings_count ↻ nx_inv_slot_postings_offse nx_inv_slot_write_cursor nx_inv_slot_set_write_curs ↻ nx_bm25_tf nx_inv_is_token_char ↻ nx_inv_hash_bytes_lower ↻

structs

none

consts

none

functions

11func main() -> i64