Files
punktfunk/tools/loss-harness
enricobuehler e6cdd79f71
apple / swift (push) Successful in 1m17s
apple / screenshots (push) Has been cancelled
android / android (push) Has been cancelled
deb / build-publish-host (push) Failing after 5s
ci / web (push) Successful in 1m14s
decky / build-publish (push) Successful in 21s
docker / build-push (--build-arg FEDORA_VERSION=44, ci, ci/fedora-rpm.Dockerfile, punktfunk-fedora44-rpm) (push) Successful in 10s
ci / docs-site (push) Successful in 1m1s
docker / build-push (., web/Dockerfile, punktfunk-web) (push) Successful in 11s
docker / build-push (ci, ci/fedora-rpm.Dockerfile, punktfunk-fedora-rpm) (push) Successful in 9s
docker / build-push (ci, ci/rust-ci.Dockerfile, punktfunk-rust-ci) (push) Successful in 11s
docker / build-push (ci, ci/rust-ci-noble.Dockerfile, punktfunk-rust-ci-noble) (push) Successful in 11s
docker / build-push (docs-site, docs-site/Dockerfile, punktfunk-docs) (push) Successful in 10s
ci / bench (push) Successful in 5m9s
rpm / build-publish (44, fedora-44, punktfunk-fedora44-rpm) (push) Failing after 10m44s
deb / build-publish (push) Successful in 12m34s
arch / build-publish (push) Has been cancelled
ci / rust (push) Has been cancelled
docker / deploy-docs (push) Has been cancelled
rpm / build-publish (43, bazzite, punktfunk-fedora-rpm) (push) Has been cancelled
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.