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

Qiskit / rustworkx / 44954863532
95%

Build:
DEFAULT BRANCH: main
Ran 21 Nov 2026 10:20PM UTC
Jobs 1
Files 118
Run time 1min
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

21 Nov 2026 09:44PM UTC coverage: 94.603% (-0.1%) from 94.705%
44954863532

push

github

web-flow
Restrict rustworkx-core's cycle_basis to undirected graphs (#1711)

* Restrict rustworkx-core's cycle_basis to undirected graphs

Paton's algorithm, which cycle_basis implements, is only defined for
undirected graphs. The Python function already only accepted PyGraph,
but the Rust interface accepted any graph and looped forever when given
a directed one.

Add a GraphProp<EdgeType = Undirected> bound so that case is a compile
error instead of a hang, and document the restriction. The only caller
in this repository is the PyO3 binding, which passes a StableUnGraph.

Fixes #1495

* Update cycle-basis-undirected-only-5a2c7e91b4d80f36.yaml

---------

Co-authored-by: Ivan Carvalho <8753214+IvanIsCoding@users.noreply.github.com>

1 of 1 new or added line in 1 file covered. (100.0%)

58 existing lines in 23 files now uncovered.

18316 of 19361 relevant lines covered (94.6%)

953613.15 hits per line

Coverage Regressions

Lines Coverage ∆ File
8
91.96
-7.18% src/matrix_market/mod.rs
7
91.45
-0.87% src/graphml.rs
4
98.09
0.01% src/digraph.rs
4
96.94
-0.07% src/graph.rs
4
86.79
-3.39% src/toposort.rs
3
72.08
-0.03% src/dot_parser/mod.rs
3
74.07
0.03% src/iterators.rs
3
82.57
-3.02% src/json/node_link_data.rs
3
96.15
-1.27% src/layout/kamada_kawai.rs
3
98.0
-2.0% src/shortest_path/floyd_warshall.rs
2
97.2
-0.83% rustworkx-core/src/planar/lr_planar.rs
2
92.38
-0.38% src/connectivity/mod.rs
2
98.63
-0.93% src/layout/spring.rs
1
97.5
-1.28% rustworkx-core/src/generators/binomial_tree_graph.rs
1
72.73
-1.42% rustworkx-core/src/graph_ext/contraction.rs
1
96.95
0.65% rustworkx-core/src/token_swapper.rs
1
99.16
-0.06% src/bisimulation.rs
1
98.1
-0.41% src/dag_algo/mod.rs
1
92.86
-2.14% src/layout/bipartite.rs
1
97.14
-2.86% src/layout/spiral.rs
1
97.61
2.42% src/lib.rs
1
99.47
-0.27% src/random_graph.rs
1
98.16
0.27% src/shortest_path/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 44954863532.1 21 Nov 2026 10:20PM UTC 118
94.6
GitHub Action Run
Source Files on build 44954863532
  • Tree
  • List 118
  • Changed 98
  • Source Changed 1
  • Coverage Changed 98
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44954863532
  • 388e737a on github
  • Prev Build on gh-readonly-queue/main/pr-1687-6565c2d1d6573198f067a6a015d1c097011e13bf (#42502121271)
  • Next Build on main (#44958285157)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc