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

Qiskit / rustworkx / 29438748013
95%
main: 95%

Build:
Build:
LAST BUILD BRANCH: no-win32-i686
DEFAULT BRANCH: main
Ran 15 Jul 2026 06:13PM 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

15 Jul 2026 05:59PM UTC coverage: 94.696%. Remained the same
29438748013

push

github

web-flow
Return neighbors in a deterministic order (#1638)

* Return neighbors in a deterministic order

PyGraph.neighbors, PyDiGraph.neighbors and PyDiGraph.neighbors_undirected
deduplicated their results through a HashSet and returned them via
`drain()`. The HashSet iteration order is randomized, so the order of the
returned node indices could change between runs and even between calls.

Deduplicate while preserving the graph's edge iteration order by filtering
through a `seen` set instead of draining a HashSet. This keeps the
multigraph deduplication behaviour but makes the ordering stable.

Also update the now-deterministic neighbors_undirected docstring example
and add regression tests asserting a stable order and correct dedup.

Fixes #1501

* Use IndexSet for deterministic ordering

---------

Co-authored-by: Ivan Carvalho <ivancarvalho@gatech.edu>

19230 of 20307 relevant lines covered (94.7%)

914183.47 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29438748013.1 15 Jul 2026 06:13PM UTC 118
94.7
GitHub Action Run
Source Files on build 29438748013
  • Tree
  • List 118
  • Changed 2
  • Source Changed 2
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29438748013
  • 5ff5a9f7 on github
  • Prev Build on main (#29039907914)
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