code wiki / (root) / nx_mediapath_test.nx

nx_mediapath_test.nx

buildroot/runtime/nx_mediapath_test.nx

4017 B91 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_mediapath_test.nx -- 1:1 KAT for self-healing best-media-path selection (nx_mediapath.nx). Deterministic: build candidate LinkFlows with known quality scores, assert mp_decide's KEEP/SWITCH/GIVEUP + reason for each class (degrade-failover, anti-flap keep, meaningful- better switch, all-poor least-bad, stuck-on-best-poor, no-incumbent). expect_exit: 0 license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_mediapath.nx nx_mediapath_test.nx

imports: nx_mediapath.nx

imported by: nobody (leaf or entry point)

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

main mpt_flow lq_flow_new sys_mmap lq_score lq_srtt_ms lq_jitter_ms lq_loss_pct mp_decide mp_select_best lq_score ↻ lq_score ↻ mp_render lq_dec sys_write sys_mmap ↻ lq_band_word sys_write ↻ lq_verdict_band

structs

none

consts

none

functions

13func mpt_flow(srtt_ms: i64, jit_ms: i64, loss_q16: i64) -> *LinkFlow
called by 1: main calls 1: lq_flow_new
21func main() -> i64