|
Ran
|
Jobs
1
|
Files
923
|
Run time
3min
|
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>
104319 of 118862 relevant lines covered (87.76%)
1010022.8 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 10 |
74.01
|
-0.41% | crates/circuit/src/parameter/symbol_expr.rs |
| 7 |
91.0
|
-1.29% | crates/qasm2/src/lex.rs |
| 6 |
97.63
|
1.42% | crates/qasm2/src/parse.rs |
| 1 |
93.82
|
-0.24% | crates/qasm2/src/expr.rs |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 26526808731.1 | 923 |
87.76
|
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|