code wiki / (root) / nx_actor_role_llm_v2_autoreg_test.nx

nx_actor_role_llm_v2_autoreg_test.nx

buildroot/runtime/nx_actor_role_llm_v2_autoreg_test.nx

4289 B101 linesdepth 11pulls 37 transitivereach 0 importersview sourcekind gate/prooftopic actor
docsdependenciesstructsconstsfunctions

about

nx_actor_role_llm_v2_autoreg_test.nx -- reset state-machine smoke for nx_lv_actor_reset_for_next_token. Honest scope: this tests the RESET state-machine logic in isolation (does it correctly roll an actor from DONE back to INIT? does it reject invalid inputs?). The full multi-token-through-real-transformer loop hits an nxc2 preprocessor edge when combined with the GGUF fixture code in one .nx file -- future work splits the fixture into a sibling file or pre-builds it via a fixture primitive. For now the single-token real-transformer path is verified in nx_actor_role_llm_v2_real_test.nx; this smoke proves the reset substrate handles all valid + invalid input paths.

dependencies 8 imports · 0 importers

nx_syscalls.nx nx_tier.nx nx_model_spec.nx nx_gguf.nx nx_bpe.nx nx_actor.nx nx_message.nx nx_actor_role_llm_v2.nx nx_actor_role_llm_v2_autoreg_t

imports: nx_syscalls.nxnx_tier.nxnx_model_spec.nxnx_gguf.nxnx_bpe.nxnx_actor.nxnx_message.nxnx_actor_role_llm_v2.nx

imported by: nobody (leaf or entry point)

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

main nx_model_spec_gpt2_small nx_model_spec_new sys_mmap sys_mmap ↻ nx_lv_actor_new sys_mmap ↻ nx_ac_sched_new sys_mmap ↻ nx_ac_spawn nx_lv_actor_reset_for_next nx_ac_find _ac_at nx_ac_find ↻

structs

none

consts

none

functions

23func main() -> i64