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

Qiskit / qiskit / 14045064185
88%

Build:
DEFAULT BRANCH: main
Ran 24 Mar 2025 08:38PM UTC
Jobs 1
Files 788
Run time 4min
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

24 Mar 2025 07:00PM UTC coverage: 88.08% (+0.03%) from 88.049%
14045064185

push

github

web-flow
Remove Python dependency for creating a blank dag (#14069)

* Remove Python dependency for creating a blank dag

This commit removes the py token argument for the dag constructor which
wasn't strictly needed. The only pieces of the dagcircuit struct which
need python is the metadata atribute (which is an `Option<PyDict>`) and
the var tracking sets. This commit rearranges the constructor so it
doesn't actively need python. This is achieved by moving the var
tracking sets inside a once lock which is only initialized in a context
where vars are being used. The metadata is changed to None by default.

The other use case was the control flow module
which wasn't strictly required and is removed in this PR and using the
import once cell mechanism that we use for this everywhere else.

* Remove conditional import of OnceLock since it's always used

* Update rust tests

* Remove _bound suffix from method names

* Add docstring to VarsByType

131 of 133 new or added lines in 3 files covered. (98.5%)

5 existing lines in 3 files now uncovered.

72642 of 82473 relevant lines covered (88.08%)

371497.84 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
86.34
0.07% crates/circuit/src/dag_circuit.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
86.34
0.07% crates/circuit/src/dag_circuit.rs
1
94.23
-0.23% crates/qasm2/src/expr.rs
3
93.73
1.25% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 14045064185.1 24 Mar 2025 08:38PM UTC 788
88.08
GitHub Action Run
Source Files on build 14045064185
  • Tree
  • List 788
  • Changed 7
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14045064185
  • 0bb43cc9 on github
  • Prev Build on gh-readonly-queue/main/pr-14080-3b4a39d00e5b55ddb232b9d6a1e40ec629a8d8b0 (#14041373637)
  • Next Build on main (#14045192987)
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