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

sandialabs / LoQS / 42695555994
90%

Build:
DEFAULT BRANCH: main
Ran 09 Nov 2026 08:53PM UTC
Jobs 1
Files 85
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

09 Nov 2026 08:42PM UTC coverage: 89.383% (-0.001%) from 89.384%
42695555994

push

github

web-flow
Fix `loqs-migrate` aliased imports and `PyGSTiPhysicalCircuit` label read-back (#174)

* Keep module aliases when loqs-migrate renames a name

loqs-migrate and the frozen-function decode path no longer write code
that raises NameError for a renamed name reached through an aliased
module import or imported both as a module and by name (#161).

- Do same-module renames in a new _SameModuleRenamer, which keeps the
  user's module alias, `as` name and import placement.
- Re-add the from-import RenameCommand drops for a module-changing
  rename when the file also imports the old module.
- Minor: tests for the alias and mixed-import cases, an updated
  expected string for a multi-name from-import, the module docstring's
  quirks list, and a CHANGELOG entry.

Co-authored-by: claude-sonnet-5-5 <noreply@anthropic.com>
Co-authored-by: claude-opus-5-5 <noreply@anthropic.com>

* Read saved pyGSTi circuits back on the right qubits

Reading a saved PyGSTiPhysicalCircuit no longer fails or moves gates
to the wrong qubit for integer or prefix-colliding labels (#166).

- Swap labels for parser-safe names with one regex that matches only
  where a label stands, longest first and on its string form.
- Map labels back with a new _map_circuit_labels helper, which keeps
  gate arguments and times; map_qubit_labels_inplace uses it too.
- Minor: a label mismatch raises ValueError instead of an assert, a
  file with no qubits reads back, round-trip and mapping tests, and a
  CHANGELOG entry.

Co-authored-by: claude-sonnet-5-5 <noreply@anthropic.com>
Co-authored-by: claude-opus-5-5 <noreply@anthropic.com>

---------

Co-authored-by: claude-sonnet-5-5 <noreply@anthropic.com>

3805 of 4528 branches covered (84.03%)

Branch coverage included in aggregate %.

12350 of 13546 relevant lines covered (91.17%)

0.91 hits per line

Coverage Regressions

Lines Coverage ∆ File
13
90.64
-1.19% backends/circuit/pygsticircuit.py
6
93.94
-0.18% tools/migrate/renames.py
Jobs
ID Job ID Ran Files Coverage
1 42695555994.1 09 Nov 2026 08:53PM UTC 85
89.38
GitHub Action Run
Source Files on build 42695555994
  • Tree
  • List 85
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42695555994
  • d9c5b3b2 on github
  • Prev Build on main (#42656922475)
  • Next Build on main (#42949170701)
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