code wiki / (root) / nx_scene_index_test.nx

nx_scene_index_test.nx

buildroot/runtime/nx_scene_index_test.nx

4352 B116 linesdepth 7pulls 14 transitivereach 0 importersview sourcekind gate/prooftopic scene
docsdependenciesstructsconstsfunctions

about

nx_scene_index_test.nx -- end-to-end smoke for the full ingestion stack. Verifies the FULL Tier 0 -> Tier 4 chain end-to-end: 1. ingest text (nx_text_ingest) 2. extract terms (nx_term_extract -> nx_term_registry) 3. co-occurrence (nx_term_cooccur) 4. anchor discovery (nx_arc_anchor) 5. scene-candidate build (nx_scene_index) Then queries the index for an OUTFIT_LOCATION candidate and verifies the companion can recover the source byte span. Exit code: 0 all assertions pass N assertion N failed

dependencies 10 imports · 0 importers

syscalls.nx nx_media_pool.nx nx_storybeat.nx nx_storydb.nx nx_text_ingest.nx nx_term_registry.nx nx_term_extract.nx nx_term_cooccur.nx nx_arc_anchor.nx nx_scene_index.nx nx_scene_index_test.nx

imports: syscalls.nxnx_media_pool.nxnx_storybeat.nxnx_storydb.nxnx_text_ingest.nxnx_term_registry.nxnx_term_extract.nxnx_term_cooccur.nxnx_arc_anchor.nxnx_scene_index.nx

imported by: nobody (leaf or entry point)

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

main nx_storydb_alloc nx_storydb_alloc_sized sys_mmap nx_media_pool_alloc sys_mmap ↻ nx_media_pool_add nx_media_item_at nx_text_ingest nx_media_pool_get nx_media_item_at ↻ nx_media_pool_type nx_media_item_at ↻ sys_mmap ↻ nx_text_skip_blank_lines nx_text_load_u8 nx_text_is_horiz_ws nx_text_is_heading nx_text_load_u8 ↻ nx_storydb_close_scene nx_storydb_scene_at nx_storydb_close_chapter nx_storydb_chapter_at nx_text_line_end nx_text_load_u8 ↻ nx_storydb_push_beat nx_storydb_beat_at nx_beat_init nx_storydb_open_chapter nx_storydb_chapter_at ↻ nx_text_load_u8 ↻ nx_text_is_scene_break nx_text_load_u8 ↻ nx_text_is_horiz_ws ↻ nx_text_is_horiz_ws ↻ nx_storydb_open_scene nx_storydb_scene_at ↻ nx_text_classify_paragraph nx_text_load_u8 ↻ nx_term_registry_alloc

structs

none

consts

none

functions

28func main() -> i64