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

sandialabs / LoQS / 34492205228
89%

Build:
DEFAULT BRANCH: main
Ran 10 Sep 2026 03:20PM UTC
Jobs 1
Files 77
Run time 1min
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

10 Sep 2026 02:54PM UTC coverage: 89.218% (+0.08%) from 89.139%
34492205228

push

github

web-flow
Linting (except codepacks and parallelization/checkpointing files) (#129)

* Format loqs/ with black and fix mechanical flake8 issues

Get most of loqs/ clean under black and flake8, deferring the 7 pre-existing complexity violations and four files excluded from this pass.
- Reformat 40 files with black.
- Add raw-string prefixes to three PauliFrame docstrings containing literal LaTeX escape sequences.
- Strip trailing whitespace from the STIM circuit grammar docstring and remove an unused local variable in NumpyStatevectorQuantumState.
- Remove a duplicate pymatching import guard and a redundant nested import that already had access to the outer scope's binding via closure.
- Fix f-string operator spacing, and rewrite two Protocol stub methods to use a pass-bodied stub instead of an inline ..., so black won't keep re-collapsing them into a form flake8 flags.

* Extract helpers to fix remaining C901 complexity violations

Reduce the last two non-codepack flake8 complexity violations via helper-function extraction, with no behavior change beyond one explicitly-agreed edge case.
- Split NumpyStatevectorQuantumState.__init__ into _init_from_existing_state, _infer_num_subsystems, _resolve_dimensions, and _init_state_array; also removes a real duplication where dimensions were computed generically then immediately discarded whenever copy-constructing from another instance.
- Extract a shared _first_successful_rep helper used by both PyGSTiNoiseModel._get_gate_rep and _get_instrument_rep (try each candidate rep type, cache the first success, raise a combined error otherwise), and pull _get_instrument_rep's largest branch out into _build_outcome_dict_rep.
- Copy-constructing NumpyStatevectorQuantumState with an explicit d no longer raises on a length mismatch against the source's qubit count; that value was already silently discarded in every case, so this only removes a spurious check on an untested edge case.

* Fix mypy errors in DictNoiseModel/PyGSTiNois... (continued)

2984 of 3544 branches covered (84.2%)

Branch coverage included in aggregate %.

9602 of 10563 relevant lines covered (90.9%)

0.91 hits per line

Coverage Regressions

Lines Coverage ∆ File
114
42.34
0.0% tools/pygstitools.py
39
77.66
1.27% core/instructions/builders.py
37
87.52
0.0% codepacks/codepack_surf17_surgery.py
35
89.7
0.0% internal/encoder/hdf5encoder.py
25
90.04
0.31% codepacks/codepack_surf17_tomita2014.py
22
92.97
0.0% backends/circuit/stimcircuit.py
16
94.35
-0.26% internal/serializable.py
12
75.0
0.0% core/instructions/instruction.py
7
94.35
0.04% backends/state/qsimstate.py
7
70.25
0.5% core/frame.py
7
87.76
0.0% core/history.py
6
95.33
0.0% backends/circuit/pygsticircuit.py
6
97.0
0.31% backends/model/dictmodel.py
6
94.37
-0.04% tools/migrate/cli.py
5
97.23
1.49% backends/state/npsvstate.py
5
93.36
0.02% backends/state/stimstate.py
5
86.73
0.0% codepacks/codepack_5_1_3_quantinuum2022.py
5
93.57
0.0% codepacks/codepack_surf17_multipatch.py
5
81.61
0.0% core/instructions/instructionstack.py
5
92.08
0.0% internal/encoder/jsonencoder.py
4
94.74
0.0% core/recordables/patchlayout.py
3
98.08
0.0% backends/circuit/listcircuit.py
3
95.96
0.09% tools/fttools.py
3
95.65
0.0% tools/migrate/flags.py
3
93.08
0.0% tools/migrate/ipynb.py
2
99.15
-0.01% backends/model/pygstimodel.py
2
99.28
0.01% backends/reps/conversion.py
2
95.78
0.0% backends/reps/gatereps.py
2
95.56
0.1% backends/reps/legacy.py
2
88.1
0.0% backends/state/basestate.py
2
81.82
-18.18% core/executors.py
2
95.12
0.0% tools/migrate/reptuple.py
1
97.46
0.0% tools/migrate/report.py
Jobs
ID Job ID Ran Files Coverage
1 34492205228.1 10 Sep 2026 03:20PM UTC 77
89.22
GitHub Action Run
Source Files on build 34492205228
  • Tree
  • List 77
  • Changed 46
  • Source Changed 0
  • Coverage Changed 46
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #34492205228
  • 7bfabfe8 on github
  • Prev Build on main (#33094065631)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc