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

sandialabs / LoQS / 29874064839
88%

Build:
DEFAULT BRANCH: main
Ran 21 Jul 2026 10:43PM UTC
Jobs 1
Files 59
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

21 Jul 2026 10:31PM UTC coverage: 87.765% (+5.4%) from 82.395%
29874064839

push

github

web-flow
Replace RepTuple enum structure with class-based structure (#95)

* Fix InstrumentRep gaps and add rep serialization fixtures

Found during test-coverage gap analysis for the
RepTuple/GateRep/InstrumentRep enum-to-class refactor (issue 72).

- npsvstate.py: input_reps omitted ZBASIS_OUTCOME_OPERATION_DICT
  despite implementing it.
- qsimstate.py: unsupported InstrumentRep now raises cleanly instead
  of hitting an unrelated assertion first.
- stimdictmodel.py: fix silent qubit-drop when merging a generic STIM
  circuit-string template across qubits; now raises if a template
  isn't self-indexed, with new regression tests.
- Add pre-refactor JSON/HDF5 serialization fixtures (with regenerable
  generator scripts) for RepTuple/DictNoiseModel/STIMDictNoiseModel,
  to validate the future legacy-decode shim against real bytes.

* Add test coverage for reps, DictNoiseModel, and PyGSTiNoiseModel

Found during test-coverage gap analysis for the
RepTuple/GateRep/InstrumentRep enum-to-class refactor (issue 72).

- test_reps.py: RepTuple validator tests and full reps_v1 fixture
  round-trip (JSON + HDF5).
- test_dictmodel.py: DictNoiseModel construction, gate/instrument
  dispatch, and dictmodel_v1 fixture round-trip.
- test_pygstimodel.py: PyGSTiNoiseModel gate/instrument rep selection
  against real pyGSTi models, including the previously-untested
  priority-fallback loop.
- test_stimdictmodel.py: add stimdictmodel_v1 fixture round-trip;
  strengthen two tautological tests.

Documents but does not fix: PyGSTiNoiseModel's qubit-label check
makes several constructor branches unreachable, qubit_aliases
doesn't bypass the label-format check as documented, and two
serialization quirks (bool/int coercion, JSON dict-key
stringification).

* Fix PyGSTiNoiseModel dispatch, bool coercion, STIMDictNoiseModel validation

- pygstimodel.py: PyGSTiNoiseModel.__init__ ran a qubit-label-format
  assertion before its type-dispatch chain, so the copy-constructor,
  DictNoiseMode... (continued)

1119 of 1252 branches covered (89.38%)

Branch coverage included in aggregate %.

6305 of 7207 relevant lines covered (87.48%)

0.87 hits per line

Coverage Regressions

Lines Coverage ∆ File
138
9.3
-14.25% tools/pygstitools.py
34
92.26
0.47% codepacks/codepack_5_1_3_quantinuum2022.py
31
90.59
1.62% codepacks/codepack_surf17_tomita2014.py
23
94.46
2.83% backends/circuit/stimcircuit.py
23
91.55
0.2% internal/encoder/hdf5encoder.py
16
93.41
0.89% codepacks/codepack_7_1_3_quantinuum2021.py
13
91.1
11.79% backends/circuit/basecircuit.py
13
94.82
6.49% backends/state/stimstate.py
9
96.34
0.83% backends/state/qsimstate.py
8
78.01
0.0% core/instructions/builders.py
6
97.85
40.17% backends/model/pygstimodel.py
5
88.1
9.03% backends/state/basestate.py
4
98.51
20.96% backends/model/dictmodel.py
1
91.94
0.06% internal/encoder/jsonencoder.py
Jobs
ID Job ID Ran Files Coverage
1 29874064839.1 21 Jul 2026 10:43PM UTC 59
87.76
GitHub Action Run
Source Files on build 29874064839
  • Tree
  • List 59
  • Changed 20
  • Source Changed 0
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #29874064839
  • 379c56ec on github
  • Prev Build on main (#29751469323)
  • Next Build on main (#29942166221)
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