blossom plugin v2 #19
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Current output on test case:
running 2 tests
[10, 11, 16, 17]
[10, 11, 16, 17]
opening link http://localhost:8072?filename=plugin_blossom_basic_1_multiple_cluster.json (start local server by running ./visualize/server.sh) or call
node index.js <link>to render locallygroup_max_update_length: ValidGrow(Ratio { numer: 1, denom: 4 })
opening link http://localhost:8072?filename=plugin_blossom_basic_1_single_cluster.json (start local server by running ./visualize/server.sh) or call
node index.js <link>to render locallygroup_max_update_length: ValidGrow(Ratio { numer: 1, denom: 1 })
group_max_update_length: Conflicts([Conflicting(12)])
group_max_update_length: Conflicts([Conflicting(6), Conflicting(7), Conflicting(11), Conflicting(12)])
thread 'plugin_blossom::tests::plugin_blossom_basic_1::_multiple_cluster_growingstrategy_multipleclusters_expects' panicked at src/invalid_subgraph.rs:83:9:
assertion
left == rightfailedleft: Err("it's a valid subgraph because edges [] ⊆ {} can satisfy the parity requirement from vertices {0, 5}")
right: Ok(())
note: run with
RUST_BACKTRACE=1environment variable to display a backtracetest plugin_blossom::tests::plugin_blossom_basic_1::_multiple_cluster_growingstrategy_multipleclusters_expects ... FAILED
thread 'plugin_blossom::tests::plugin_blossom_basic_1::_single_cluster_growingstrategy_singlecluster_expects' panicked at src/invalid_subgraph.rs:83:9:
assertion
left == rightfailedleft: Err("it's a valid subgraph because edges [] ⊆ {} can satisfy the parity requirement from vertices {0, 5}")
right: Ok(())
test plugin_blossom::tests::plugin_blossom_basic_1::_single_cluster_growingstrategy_singlecluster_expects ... FAILED
failures:
failures:
plugin_blossom::tests::plugin_blossom_basic_1::_multiple_cluster_growingstrategy_multipleclusters_expects
plugin_blossom::tests::plugin_blossom_basic_1::_single_cluster_growingstrategy_singlecluster_expects
test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 125 filtered out; finished in 0.15s