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

Qiskit / rustworkx / 5940303796
94%

Build:
DEFAULT BRANCH: main
Ran 22 Aug 2023 03:17PM UTC
Jobs 1
Files 93
Run time 4s
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

22 Aug 2023 02:35PM UTC coverage: 96.441% (-0.03%) from 96.474%
5940303796

push

github

web-flow
Handle token_swapper impossible swap mapping with Error (#971)

* Handle token_swapper impossible swap mapping with Error

This commit fixes the handling of invalid mapping requests in the
token_swapper rustworkx-core function and the graph_token_swapper
function in rustworkx that uses it. Previously if an invalid mapping was
requested the function would internally panic because it always assumed
there was a path in the graph to fulfill the user requested mapping. However,
because the rustworkx-core function didn't support error returns a
breaking api change is needed to add a result return type.

* Fix formatting

---------

Co-authored-by: Edwin Navarro <enavarro@comcast.net>

43 of 43 new or added lines in 3 files covered. (100.0%)

15392 of 15960 relevant lines covered (96.44%)

2584207.56 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
96.95
-1.99% rustworkx-core/src/token_swapper.rs
Jobs
ID Job ID Ran Files Coverage
1 5940303796.1 22 Aug 2023 03:17PM UTC 93
96.44
GitHub Action Run
Source Files on build 5940303796
  • Tree
  • List 93
  • Changed 22
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ffb1973e on github
  • Prev Build on main (#5932667641)
  • Next Build on main (#5957077984)
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