Repo Added
|
Files
913
|
Badge
Embed ▾
README BADGES
|
push
github
Remove old graph structure during `EquivalenceLibrary.set_entry` (#11959) (#11962) * Remove old graph structure during `EquivalenceLibrary.set_entry` The previous implementation of `EquivalenceLibrary.set_entry` changed the equivalence rules attached to particular nodes within the graph structure, but didn't correctly update the edges, so the graph was no longer representing the correct data, and queries within `BasisTranslator` would still use the old equivalence sets. This correctly clears out the old rules and adds the new structure when `set_entry` is used. The inner private variable `_rule_count` is replaced with `_rule_id`, since it would actually be misleading for its use to decrement it; this could cause clashes, and what's actually intended and used is that it's an id for rules. * Add test with parallel edges (cherry picked from commit 67e0243ab) Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
9 of 9 new or added lines in 1 file covered. (100.0%)
5 existing lines in 1 file now uncovered.58907 of 65977 relevant lines covered (89.28%)
184124.75 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|