code wiki / (root) / nx_content_guard_test.nx

nx_content_guard_test.nx

buildroot/runtime/nx_content_guard_test.nx

6079 B153 linesdepth 8pulls 15 transitivereach 0 importersview sourcekind gate/prooftopic content
docsdependenciesstructsconstsfunctions

about

nx_content_guard_test.nx -- smoke for NTR/multi-male/observer-passive guard. Three scenarios: A. Clean source (apron + me) -> verdict NONE B. NTR-coded source (her husband) -> verdict CONFIRMED + refusal text C. Multi-male active (he walked + he stepped + ...) -> SUSPECT Exit code: 0 = pass, N = failed assertion N.

dependencies 11 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_content_guard_test.nx

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

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.nxnx_content_guard.nx

imported by: nobody (leaf or entry point)

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

main build_index 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 ↻

structs

none

consts

none

functions

22func build_index(text: *u8, n: i64) -> *SceneIndex
48func main() -> i64