Peano
Loading...
Searching...
No Matches
test_splittrees_example3_offline_triple_split Namespace Reference

Functions

 test_example3_stage1_bfs_finest_first_leaf_distribution ()
 Integration test for the example shown in visualise_tree_split_example3.png.
 
 test_example3_stage3_promotes_root_and_level1_node ()
 Integration test for the full staged pipeline on example 3.
 
 test_example3_stage3_can_promote_sparse_mixed_parents_when_enabled ()
 With relaxed Stage III gating, sparse mixed parents in example 3 can be promoted without requiring a complete child set.
 

Function Documentation

◆ test_example3_stage1_bfs_finest_first_leaf_distribution()

test_splittrees_example3_offline_triple_split.test_example3_stage1_bfs_finest_first_leaf_distribution ( )

Integration test for the example shown in visualise_tree_split_example3.png.

The final tree contains 10 leaves arranged as a single refined branch:

  • 4 deepest leaves on the left-most branch
  • 3 middle-level leaves on the same branch
  • 3 top-level leaves directly under the root

With 3 subtrees and bfs_finest_first traversal, Stage I should distribute the leaves as [4, 3, 3].

Definition at line 14 of file test_splittrees_example3_offline_triple_split.py.

◆ test_example3_stage3_can_promote_sparse_mixed_parents_when_enabled()

test_splittrees_example3_offline_triple_split.test_example3_stage3_can_promote_sparse_mixed_parents_when_enabled ( )

With relaxed Stage III gating, sparse mixed parents in example 3 can be promoted without requiring a complete child set.

Definition at line 134 of file test_splittrees_example3_offline_triple_split.py.

◆ test_example3_stage3_promotes_root_and_level1_node()

test_splittrees_example3_offline_triple_split.test_example3_stage3_promotes_root_and_level1_node ( )

Integration test for the full staged pipeline on example 3.

Stage II should compact the deepest branch onto Level 2.

For this sparse example, Stage III keeps the upper mixed parents unchanged (their child set is incomplete), while preserving the same leaf split.

Definition at line 75 of file test_splittrees_example3_offline_triple_split.py.