code wiki / (root) / nx_arc_anchor_test.nx

nx_arc_anchor_test.nx

buildroot/runtime/nx_arc_anchor_test.nx

3533 B94 linesdepth 6pulls 13 transitivereach 0 importersview sourcekind gate/prooftopic arc
docsdependenciesstructsconstsfunctions

about

nx_arc_anchor_test.nx -- smoke for co-occurrence + arc anchor discovery. Ingests a small corpus with TWO recurring (outfit, location) motifs and verifies the anchor discoverer surfaces them both as OUTFIT_LOCATION anchors WITHOUT any pre-seeded scene list. Exit code: 0 all assertions pass N assertion N failed

dependencies 9 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_arc_anchor_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.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

21func main() -> i64