Repo Added
|
Files
871
|
Badge
README BADGES
|
github
Restore correct max_trials behaviour for VF2Layout pass (#14667) * Restore correct max_trials behaviour for VF2Layout pass The VF2Layout pass is documented as setting a trial limit equivalent to the being based on the number of edges of the interaction or connectivity graph. Additionally it supports being a negative value to run unbounded. However, when vf2 layout was ported to rust in #14056 this behavior was not preserved. It was not able to handle negative values and also a value of None was treated as unbounded. This commit corrects these oversights so the argument to the pass is handled correctly as documented. * Improve tests The previous version of the tests in this module didn't set the seed correctly, so the rust component was not run. Similarly, the tests didn't cover the strict direction path. This commit corrects both oversights so the tests added in this PR cover the fix. (cherry picked from commit 6e4d83cf2)
24 of 25 new or added lines in 1 file covered. (96.0%)
21 existing lines in 5 files now uncovered.80092 of 91315 relevant lines covered (87.71%)
510869.58 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|