Files
punktfunk/tools/loss-harness
enricobuehler 421e811225 feat(loss-harness): sweep the streamed-AU wire shape alongside whole-AU
The Phase-2 gate: more, smaller wire units must not regress FEC recovery.
Adds a GF16 streamed column (three chunk pushes + finish per AU — sentinel
blocks then real totals). Measured: identical to whole-AU at every loss
rate (50/50 through 1/6, the same 25%-budget cliff).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-20 22:59:09 +02:00
..

loss-harness

A FEC loss-resilience sweep for punktfunk-core. It drives access units through the in-process loopback at increasing packet-loss rates — for both FEC schemes (GF(2⁸) and GF(2¹⁶)) — and reports how many frames survive.

It's a pure-software stand-in for tc netem: no network, no root, runs anywhere punktfunk-core builds. Use it to sanity-check the FEC before reaching for the real punktfunk/1 harness (which adds tc netem jitter/reorder on the UDP path).

cargo run -p loss-harness        # from the repo root

Part of the measurement tooling (punktfunk-planning: implementation-plan.md §10), alongside latency-probe.