|
Ran
|
Jobs
1
|
Files
923
|
Run time
4min
|
Badge
README BADGES
|
push
github
Fix panic on `1.0` error in `VF2Layout` (#16285) (#16287) * Fix panic on `1.0` error in `VF2Layout` `VF2Layout` and `VF2PostLayout` internally use an `f64` to represent their score, and they're supposed to be allowed to treat this as fully ordered by validating that `nan` never enters as an error rate. This overlooked that `0 * inf` is `nan`, which was a reachable scoring path if an error rate was reported as `1.0` (since we actually score using $\sum -\ln(1 - e)$ and normalise this with $e = 1$ to $\infty$) on a single-qubit node but didn't use any 1q operations on it. * Fix degeneracy in test (cherry picked from commit 0b2cdf2b6) Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
1 of 1 new or added line in 1 file covered. (100.0%)
12 existing lines in 2 files now uncovered.104337 of 118862 relevant lines covered (87.78%)
1009722.64 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 9 |
74.13 |
-0.29% | crates/circuit/src/parameter/symbol_expr.rs |
| 3 |
92.8 |
0.51% | crates/qasm2/src/lex.rs |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 26525262478.1 | 923 |
87.78 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|