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

Qiskit / qiskit / 24679584739
88%

Build:
DEFAULT BRANCH: main
Ran 20 Apr 2026 05:29PM UTC
Jobs 1
Files 932
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

20 Apr 2026 04:34PM UTC coverage: 87.485% (+0.02%) from 87.468%
24679584739

push

github

web-flow
fix: PI format for rust Circuit display (#15917)

* fix: added a intermediate function format_float_pi to find closet pi ratio up to a certain limit. also added relative tests named as test_pi_float_format. files modified :crates/circuit/src/circuit_drawer.rs .This concerns the issue #15849

* fix: changed the code according to the comments left. Added more parameters to the function to copy the use of pi_check. Added the possibility of choosing a specific format. Next step is to add the features to support other format.

* fix: moved the function format_float_pi to its own file 'py_check.rs' for better reading. Added support of formats according to the original py_check.py. Added tests for the rust function. Modified the lib.rs to be able to use the function accross files.

* fixe: moved the function to circuit_drawer.rs as asked. Added test to the same file. Removed function parameters as asked and modified output to only have text format

* fix: forgot to remove py_check.rs

* fix: added the fix needed. Merged checks 5 and 6. Rewrite test part into an array for better reading.

* fix: forgot a '}'. Ran all tests

* Apply minor touch-ups to comments and tests

---------

Co-authored-by: OnyxBrumeSky <cowbeez@MacBook-Pro-de-CowBeez.local>
Co-authored-by: OnyxBrumeSky <cowbeez@f6r14s10.clusters.42paris.fr>
Co-authored-by: OnyxBrumeSky <cowbeez@f6r14s14.clusters.42paris.fr>
Co-authored-by: Eli Arbel <arbel@il.ibm.com>

101 of 101 new or added lines in 1 file covered. (100.0%)

4 existing lines in 2 files now uncovered.

104681 of 119656 relevant lines covered (87.48%)

980896.02 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
73.93
0.04% crates/circuit/src/parameter/symbol_expr.rs
2
92.8
1.54% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 24679584739.1 20 Apr 2026 05:29PM UTC 932
87.48
GitHub Action Run
Source Files on build 24679584739
  • Tree
  • List 932
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24679584739
  • 142954be on github
  • Prev Build on gh-readonly-queue/main/pr-16018-b83933cb5a1e78f90c82b4cc6fa0a4677bd78553 (#24577409701)
  • Next Build on main (#24696666595)
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