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

Qiskit / qiskit / 16113285112
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: lightcone-fix
DEFAULT BRANCH: main
Ran 07 Jul 2025 10:03AM UTC
Jobs 1
Files 827
Run time 2min
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 09:11AM UTC coverage: 87.727% (+0.07%) from 87.653%
16113285112

push

github

web-flow
Restore correct max_trials behaviour for VF2Layout pass (#14667) (#14692)

* 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)

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

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

6 existing lines in 3 files now uncovered.

80108 of 91315 relevant lines covered (87.73%)

511119.66 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.98
0.21% crates/circuit/src/symbol_expr.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 16113285112.1 07 Jul 2025 10:03AM UTC 827
87.73
GitHub Action Run
Source Files on build 16113285112
  • Tree
  • List 827
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16113285112
  • 6f8d3de0 on github
  • Prev Build on gh-readonly-queue/stable/2.1/pr-14658-a2a267751a83ed303a2ca66a740730c9914f4566 (#15998131164)
  • Next Build on stable/2.1 (#16113973435)
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

© 2026 Coveralls, Inc