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

Qiskit / qiskit / 13819553093
88%

Build:
DEFAULT BRANCH: main
Ran 12 Mar 2025 07:30PM UTC
Jobs 1
Files 788
Run time 5min
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

12 Mar 2025 06:26PM UTC coverage: 88.12% (-0.006%) from 88.126%
13819553093

push

github

web-flow
Add missing  `__getitem__` and other attributes to `BitLocations` (#13997)

* Add: `__getitem__` and other attributes to `BitLocations`
In an oversight after #13860, when switching to use the pyo3 friendly `BitLocations` which is not an instance of `namedtuple` we did not extend it to include sequence methods `__getitem__` and `__len__`, which results in breaking api changes.

The following commits add those methods to `BitLocations` and also labels the class correctly as a `sequence` in PyO3.

* Fix: Address review comments

* Fix: More formatting issues in tests

* Apply suggestions from code review

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

---------

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

17 of 18 new or added lines in 1 file covered. (94.44%)

14 existing lines in 3 files now uncovered.

72679 of 82477 relevant lines covered (88.12%)

497398.32 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
86.19
0.13% crates/circuit/src/dag_circuit.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.23
-0.23% crates/qasm2/src/expr.rs
6
97.61
-0.46% crates/qasm2/src/parse.rs
7
92.23
-1.0% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 13819553093.1 12 Mar 2025 07:30PM UTC 788
88.12
GitHub Action Run
Source Files on build 13819553093
  • Tree
  • List 788
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13819553093
  • 3a80a814 on github
  • Prev Build on gh-readonly-queue/main/pr-13989-abb0cf9dbe6c53c554c9227cfa4c3659348ba99c (#13815247728)
  • Next Build on main (#13831282993)
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