code wiki / (root) / nx_vqoe_research_fetch.nx

nx_vqoe_research_fetch.nx source

↩ module page · 61 lines · 4936 B

1// nx_vqoe_research_fetch.nx -- GROUND video-call QoE BENCHMARKING (operator 2026-07-03: "provide fps and 2// stability and other measurements for video chats ... what benchmarking tools for video audio over 3// distances like belarus and texas exist ... we have had too many false positives that our video chat is 4// really good and we need honest feedback if we need more hardware or different hardware"). 5// Banks the REAL measurement surface over sovereign TLS-1.3 (nx_research_engine, no curl): 6// (1) VIDEO quality metrics: VMAF (Netflix, the industry reference), PSNR, SSIM, subjective methods 7// (2) AUDIO quality: MOS, E-model (ITU G.107), PESQ, POLQA -- the mouth-to-ear standards 8// (3) NETWORK QoE: latency/jitter/loss/goodput, end-to-end delay, QoE frameworks, packet-loss concealment 9// (4) the TOOLS: netem-class network emulation, iperf, RIPE Atlas (REAL measured Texas<->Minsk paths), 10// internet measurement platforms -- what we can consume + what we must build hardware-up 11// (5) the PATH itself: Internet in Belarus (the family's real leg) 12// Idempotent have-skip => resumable. Sources land in knowledge/library (harvest indexes them). 13// expect_exit: 0 license_tier: ORIGINAL 14import "nx_research_engine.nx" 15const K_MAGIC_8388608: i64 = 8388608 16 17func F(u: *u8, o: *u8, store: *TrustStore, out: *u8, cap: i64) -> i64 { return rf_fetch_bank(u, o, store, out, cap) } 18 19func main() -> i64 { 20 let store: *TrustStore = rf_init() 21 if (store as i64) == 0 { rf_puts("vqoe: trust store load failed\n" as *u8); return 1 } 22 rf_puts("CA roots="); rf_putn(trust_store_count(store)); rf_puts(" -- QoE benchmarking: measure HONESTLY, no false positives\n" as *u8) 23 let cap: i64 = K_MAGIC_8388608 24 let out: *u8 = sys_mmap(cap) 25 var ok: i64 = 0 26 27 rf_section("VIDEO quality metrics -- the reference numbers a claim must cite" as *u8) 28 ok = ok + F("https://en.wikipedia.org/wiki/Video_Multimethod_Assessment_Fusion" as *u8, "vqoe_vmaf" as *u8, store, out, cap) 29 ok = ok + F("https://en.wikipedia.org/wiki/Peak_signal-to-noise_ratio" as *u8, "vqoe_psnr" as *u8, store, out, cap) 30 ok = ok + F("https://en.wikipedia.org/wiki/Structural_similarity_index_measure" as *u8, "vqoe_ssim" as *u8, store, out, cap) 31 ok = ok + F("https://en.wikipedia.org/wiki/Video_quality" as *u8, "vqoe_videoquality" as *u8, store, out, cap) 32 ok = ok + F("https://en.wikipedia.org/wiki/Subjective_video_quality" as *u8, "vqoe_subjective" as *u8, store, out, cap) 33 34 rf_section("AUDIO quality -- MOS/E-model/PESQ/POLQA (mouth-to-ear standards)" as *u8) 35 ok = ok + F("https://en.wikipedia.org/wiki/Mean_opinion_score" as *u8, "vqoe_mos" as *u8, store, out, cap) 36 ok = ok + F("https://en.wikipedia.org/wiki/E-model" as *u8, "vqoe_emodel" as *u8, store, out, cap) 37 ok = ok + F("https://en.wikipedia.org/wiki/Perceptual_Evaluation_of_Speech_Quality" as *u8, "vqoe_pesq" as *u8, store, out, cap) 38 ok = ok + F("https://en.wikipedia.org/wiki/Perceptual_Objective_Listening_Quality_Analysis" as *u8, "vqoe_polqa" as *u8, store, out, cap) 39 40 rf_section("NETWORK QoE -- the transport axes that make or break a Minsk call" as *u8) 41 ok = ok + F("https://en.wikipedia.org/wiki/Quality_of_experience" as *u8, "vqoe_qoe" as *u8, store, out, cap) 42 ok = ok + F("https://en.wikipedia.org/wiki/End-to-end_delay" as *u8, "vqoe_e2edelay" as *u8, store, out, cap) 43 ok = ok + F("https://en.wikipedia.org/wiki/Jitter" as *u8, "vqoe_jitter" as *u8, store, out, cap) 44 ok = ok + F("https://en.wikipedia.org/wiki/Packet_loss" as *u8, "vqoe_packetloss" as *u8, store, out, cap) 45 ok = ok + F("https://en.wikipedia.org/wiki/Packet_loss_concealment" as *u8, "vqoe_plc" as *u8, store, out, cap) 46 ok = ok + F("https://en.wikipedia.org/wiki/Goodput" as *u8, "vqoe_goodput" as *u8, store, out, cap) 47 ok = ok + F("https://en.wikipedia.org/wiki/Measuring_network_throughput" as *u8, "vqoe_throughput" as *u8, store, out, cap) 48 49 rf_section("the TOOLS -- emulate + measure real intercontinental paths" as *u8) 50 ok = ok + F("https://en.wikipedia.org/wiki/Network_emulation" as *u8, "vqoe_netem" as *u8, store, out, cap) 51 ok = ok + F("https://en.wikipedia.org/wiki/Iperf" as *u8, "vqoe_iperf" as *u8, store, out, cap) 52 ok = ok + F("https://en.wikipedia.org/wiki/RIPE_Atlas" as *u8, "vqoe_ripeatlas" as *u8, store, out, cap) 53 ok = ok + F("https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol" as *u8, "vqoe_icmp" as *u8, store, out, cap) 54 ok = ok + F("https://en.wikipedia.org/wiki/Traceroute" as *u8, "vqoe_traceroute" as *u8, store, out, cap) 55 56 rf_section("the PATH -- the family's real Belarus leg" as *u8) 57 ok = ok + F("https://en.wikipedia.org/wiki/Internet_in_Belarus" as *u8, "vqoe_belarus" as *u8, store, out, cap) 58 59 rf_puts("VQOE BANKED: "); rf_putn(ok); rf_puts(" / 21 (run nx_library_harvest_v2 to index) -- the QoE bar is RESEARCHED, not asserted\n" as *u8) 60 return 0 61}