• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit / 16111409572
88%

Build:
DEFAULT BRANCH: main
Ran 07 Jul 2025 08:38AM UTC
Jobs 1
Files 829
Run time 5min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Jul 2025 07:44AM UTC coverage: 87.794% (+0.07%) from 87.72%
16111409572

push

github

web-flow
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.

24 of 25 new or added lines in 1 file covered. (96.0%)

7 existing lines in 4 files now uncovered.

81057 of 92326 relevant lines covered (87.79%)

505888.84 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
91.35
8.87% crates/transpiler/src/passes/vf2/vf2_layout.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
73.69
-0.04% crates/circuit/src/symbol_expr.rs
1
93.43
0.0% crates/transpiler/src/passes/unitary_synthesis.rs
1
91.35
8.87% crates/transpiler/src/passes/vf2/vf2_layout.rs
4
92.78
1.03% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 16111409572.1 07 Jul 2025 08:38AM UTC 829
87.79
GitHub Action Run
Source Files on build 16111409572
  • Tree
  • List 829
  • Changed 7
  • Source Changed 1
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16111409572
  • 6e4d83cf on github
  • Prev Build on gh-readonly-queue/main/pr-14610-eca9c4799cc6b96e4d816b051928c17616ca96c2 (#16028097139)
  • Next Build on main (#16112547654)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc