code wiki / (root) / nx_caption_emit_test.nx

nx_caption_emit_test.nx

buildroot/runtime/nx_caption_emit_test.nx

7868 B204 linesdepth 8pulls 17 transitivereach 0 importersview sourcekind gate/prooftopic caption
docsdependenciesstructsconstsfunctions

about

nx_caption_emit_test.nx -- full HTML-paste -> first-person caption smoke. Exercises the full Tier 0-5 chain end-to-end: 1. paste raw HTML (mock literotica chapter) 2. nx_html_extract -> body text + title 3. nx_text_ingest -> StoryBeats 4. nx_term_extract -> learned outfit/location vocabulary 5. nx_cooccur_observe_db + nx_arc_anchor_discover -> motifs 6. nx_scene_index_build -> SceneCandidate 7. nx_caption_emit (LITEROTICA / JOYCAPTION / RAW_JSON) -> downstream prompt text Exit code: 0 = pass, N = failed assertion N.

dependencies 13 imports · 0 importers

syscalls.nx nx_media_pool.nx nx_storybeat.nx nx_storydb.nx nx_html_extract.nx nx_text_ingest.nx nx_term_registry.nx nx_term_extract.nx nx_term_cooccur.nx nx_arc_anchor.nx nx_caption_emit_test.nx

diagram shows first 10 each side; +3 more imports, +0 more importers in the complete lists below.

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

imported by: nobody (leaf or entry point)

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

main nx_html_extract sys_mmap nx_he_load_u8 nx_he_match_ci nx_he_to_lower nx_he_load_u8 ↻ nx_he_decode_entity nx_he_store_u8 nx_he_load_u8 ↻ nx_he_match_ci ↻ nx_he_store_u8 ↻ nx_he_is_block_tag_name nx_he_match_ci ↻ nx_pov_shift sys_mmap ↻ nx_pov_load_u8 nx_pov_is_alnum nx_pov_store_u8 nx_pov_to_lower nx_pov_is_upper nx_pov_replacement nx_pov_load_u8 ↻ nx_pov_apply_case 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

structs

none

consts

none

functions

29func main() -> i64