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

Qiskit / rustworkx / 9620123262
94%

Build:
DEFAULT BRANCH: main
Ran 21 Jun 2024 09:51PM UTC
Jobs 1
Files 104
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 Jun 2024 09:40PM UTC coverage: 95.873% (-0.03%) from 95.899%
9620123262

push

github

web-flow
Add capacity keyword arguments to graph creation (#975)

* Add capacity keyword arguments to graph creation

This adds `initial_node_count` and `initial_edge_count` optional keyword
arguments to the Python-space constructors of `PyGraph` and `PyDiGraph`
to expose the `with_capacity` constructor from Rust space.  This also
easily allows these to be used during pickling operations.

* Correct release note

* Run formatting

* Add private methods to stubs

* Fix `__getnewargs_ex__` node counts

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

* Elaborate on meaning of overallocation

* Apply suggestions from code review

---------

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

42 of 42 new or added lines in 2 files covered. (100.0%)

7 existing lines in 1 file now uncovered.

17470 of 18222 relevant lines covered (95.87%)

1156378.51 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
7
75.59
-1.04% src/iterators.rs
Jobs
ID Job ID Ran Files Coverage
1 9620123262.1 21 Jun 2024 09:51PM UTC 104
95.87
GitHub Action Run
Source Files on build 9620123262
  • Tree
  • List 104
  • Changed 20
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #9620123262
  • c39d3ebf on github
  • Prev Build on main (#9604084112)
  • Next Build on main (#9620375454)
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