Skip to content

test(verify): Phase 3 Pillar I deterministic simulation testing with turmoil - #223

Merged
vxfemboy merged 4 commits into
mainfrom
feat/phase3-turmoil-dst
Nov 14, 2026
Merged

vxfemboy merged 4 commits into
mainfrom
feat/phase3-turmoil-dst

Conversation

@vxfemboy

Copy link
Copy Markdown
Member

Summary

  • Implemented Phase 3 Pillar I Deterministic Simulation Testing (DST) with turmoil in crates/yip-verify/tests/sim_turmoil.rs.
  • Integrated turmoil 0.7 under crates/yip-verify/Cargo.toml dev-dependencies.
  • test_turmoil_virtual_udp_ping_pong: Virtual UDP socket communication with explicit seed control (rng_seed(42)).
  • test_turmoil_multi_node_gossip_convergence: Multi-node (3-node and 5-node) epidemic gossip directory reconciliation under simulated latency jitter (5ms - 25ms) and 5% packet loss, with deterministic BTreeMap key ordering.
  • test_turmoil_network_partition_healing: Bipartite network partition isolation and 100% full directory reconciliation post-repair across 4 nodes.
  • test_turmoil_adaptive_fec_burst_loss: Reed-Solomon FEC erasure recovery over 20% lossy turmoil link verifying active packet loss (sent > received), active RS reconstruction (recovered_count > 0), and byte-for-byte payload integrity.
  • test_turmoil_byzantine_gossip_rejection: Active injection of corrupted gossip records, verifying honest node rejection and authentic consensus.
  • Enforced #![forbid(unsafe_code)] with zero emojis across code, commits, and comments.

@vxfemboy
vxfemboy deployed to benchmark-approval November 14, 2026 00:35 — with GitHub Actions Active
@vxfemboy
vxfemboy deployed to benchmark-approval November 14, 2026 00:35 — with GitHub Actions Active
@vxfemboy
vxfemboy merged commit 2fbe100 into main Nov 14, 2026
12 checks passed
@vxfemboy
vxfemboy deleted the feat/phase3-turmoil-dst branch November 14, 2026 01:01

This branch was successfully deployed

1 active deployment
benchmark-approval — bb5da7fc Deployed Nov 14, 2026 by vxfemboy via iperf-netem-bench #120
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant