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

Qiskit / qiskit / 9745535699
88%

Build:
DEFAULT BRANCH: main
Ran 01 Jul 2024 02:23PM UTC
Jobs 1
Files 845
Run time 2min
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

01 Jul 2024 12:59PM UTC coverage: 89.831% (+0.02%) from 89.808%
9745535699

push

github

web-flow
Encapsulate Python sequence-like indexers (#12669)

This encapsulates a lot of the common logic around Python sequence-like
indexers (`SliceOrInt`) into iterators that handle adapting negative
indices and slices in `usize` for containers of a given size.

These indexers now all implement `ExactSizeIterator` and
`DoubleEndedIterator`, so they can be used with all `Iterator` methods,
and can be used (with `Iterator::map` and friends) as inputs to
`PyList::new_bound`, which makes code simpler at all points of use.

The special-cased uses of this kind of thing from `CircuitData` are
replaced with the new forms.  This had no measurable impact on
performance on my machine, and removes a lot noise from error-handling
and highly specialised functions.

192 of 236 new or added lines in 4 files covered. (81.36%)

12 existing lines in 2 files now uncovered.

64400 of 71690 relevant lines covered (89.83%)

300676.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9745535699.1 01 Jul 2024 02:23PM UTC 0
89.83
GitHub Action Run
Source Files on build 9745535699
Detailed source file information is not available for this build.
  • Back to Repo
  • 373e8a68 on github
  • Prev Build on main (#9745133547)
  • Next Build on main (#9745765969)
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