You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
selection: test unique predecessors theorem for collect_commactor_routing_tree
Summary:
adds a property-based test validating the “Unique Predecessor Theorem” under `collect_commactor_routing_tree`.
this test asserts that in the CommActor-style multicast routing simulation:
- each destination is forwarded to by at most one distinct peer (i.e., no fan-in),
- and no node forwards to itself (`x → x`), a stricter property than general breadth-first routing.
we reconstruct the predecessor relation from `tree.forwards`, checking for violations across 256 randomly generated selections and mesh topologies.
this complements the earlier test for `collect_routed_paths` and reinforces structural routing invariants.
Reviewed By: moonli
Differential Revision: D75016108
fbshipit-source-id: 75db6eb8de91b928a771252d4a8284a5e5cf3e17
0 commit comments