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

Qiskit / qiskit / 9744691145
90%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 01 Jul 2024 01:22PM 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.827% (+0.04%) from 89.79%
9744691145

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%)

1 existing line in 1 file now uncovered.

64397 of 71690 relevant lines covered (89.83%)

298877.71 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
92.06
2.38% crates/accelerate/src/euler_one_qubit_decomposer.rs
6
89.5
1.17% crates/accelerate/src/two_qubit_decompose.rs
11
90.85
-0.1% crates/circuit/src/circuit_data.rs
21
83.2
crates/circuit/src/slice.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
92.11
0.0% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 9744691145.1 01 Jul 2024 01:22PM UTC 845
89.83
GitHub Action Run
Source Files on build 9744691145
  • Tree
  • List 845
  • Changed 38
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 373e8a68 on github
  • Prev Build on gh-readonly-queue/main/pr-12639-c452694d70bfa17df8419335c7fb138c9b81963b (#9744532114)
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