code wiki / (root) / nx_qwen_extract_gate.nx

nx_qwen_extract_gate.nx

buildroot/runtime/nx_qwen_extract_gate.nx

1906 B47 linesdepth 11pulls 22 transitivereach 0 importersview sourcekind gate/prooftopic qwen
docsdependenciesstructsconstsfunctions

about

nx_qwen_extract_gate.nx -- unit test for nx_qwen_extract: build a synthetic qabench g[] (1 paragraph, 2 sentences, a question), boot Qwen, qwx_extract, print the answer. Proves the module compiles AND the qabench g[] slot contract (4=question, 15/16/17/18=sentence bytes/off/len/para, 19=ns) works end-to-end BEFORE wiring into the large/contended nx_qabench. Liar-kill: the answer must contain "Miller". license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_qwen_extract.nx nx_qwen_extract_gate.nx

imports: nx_syscalls.nxnx_qwen_extract.nx

imported by: nobody (leaf or entry point)

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

main qeg_ps sys_write sys_mmap qwx_load sys_openat_rd sys_mmap ↻ sys_read sys_close nsv_init sys_now_ms sys_mmap ↻ sys_clock_gettime_mono nsv_log sys_write ↻ nf_pool nx_pool_new nx_hw_worker_count nx_hw_cpu_count sys_mmap ↻ nx_chan_new sys_mmap ↻ _nx_chan_cell sys_thread_create nx_thread_spawn nx_thread_spawn_fn sys_mmap ↻ sys_mmap ↻ nsv_load_meta sys_mmap ↻ nsv_log ↻ sys_read_file sys_openat_rd ↻ sys_lseek sys_mmap ↻ sys_read ↻ sys_close ↻ nx_gguf_parse nx_le_read_u32 nx_le_read_u64

structs

none

consts

none

functions

8func qeg_ps(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 1: main calls 1: sys_write
10func main(argc: i64, argv: *i64) -> i64