Closed daemontus closed 3 months ago
Coverage Report
Tests | Skipped | Failures | Errors | Time |
---|---|---|---|---|
359 | 0 :zzz: | 0 :x: | 0 :fire: | 54.428s :stopwatch: |
Again, I am merging this PR since these are well understood changes that don't break any tests and don't introduce anything substantially new.
This PR adds a few extra options to the expansion methods, but otherwise should not impact performance or correctness.
expand_minimal_spaces
now has an optional starting node.expand_block
now has a size limit.expand_block
now has anoptimize_source_nodes
flag: this is mainly to ensure compatibility in tests. Normal expansion performs source node elimination before percolation, but block expansion does it after percolation, so it might run into source nodes that the full expansion does not see. In such case the two diagrams can be incomparable, even though both are technically correct.