Files
punktfunk/tools/loss-harness
enricobuehlerandClaude Fable 5 e6cdd79f71 fix(loss-harness): drop the needless mut on send_wires — workspace clippy is -D warnings
Slipped through 421e8112: the on-box clippy runs covered punktfunk-core and
punktfunk-host but not the tools crates; CI's workspace-wide pass caught it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-20 23:44:37 +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.