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

Qiskit / qiskit / 13751987034
88%

Build:
DEFAULT BRANCH: main
Ran 09 Mar 2025 08:21PM UTC
Jobs 1
Files 788
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

09 Mar 2025 07:21PM UTC coverage: 88.129% (-0.008%) from 88.137%
13751987034

push

github

web-flow
Add gitattributes file to adjust linguist settings (#13977)

Github uses a ruby library linguist [1] for detecting the languages used
in a github repository. The detection this library does is not perfect
as it relies on file extensions and obviously it doesn't know about
context around certain files. Linguist provides tools for correcting
these issues so the reported split of languages in a repository is more
accurate. This commit adds a .gitattributes file to Qiskit to adjust how
linguist interprets some files to provide a better measurement of the
languages used in the repository. This involves three main changes:

1. Marking the qasm files in test/benchmarks/qasm as generated code as
   they're all generated output for measuring qasm parsing time or to
   have a deterministic circuit definition. These aren't source files
   that should be counted as part of the language breakdown.
2. Marking the visualization text references in LaTeX and txt files as
   generated, as they're generated from the visualization output to
   serve as a comparison for testing.
3. Marking the qasm libraries using the *inc extension as OpenQASM not
   C++.

With these three changes the languages used by qiskit is a better
reflection of the current state of the repository.

[1] https://github.com/github-linguist/linguist

72635 of 82419 relevant lines covered (88.13%)

498120.8 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.23
-0.23% crates/qasm2/src/expr.rs
2
94.59
-0.1% crates/accelerate/src/unitary_synthesis.rs
7
91.98
-1.25% crates/qasm2/src/lex.rs
12
97.15
0.0% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 13751987034.1 09 Mar 2025 08:21PM UTC 788
88.13
GitHub Action Run
Source Files on build 13751987034
  • Tree
  • List 788
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13751987034
  • 2b2c9b1b on github
  • Prev Build on main (#13730247126)
  • Next Build on main (#13764812891)
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