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

sandialabs / LoQS / 47260582370
90%

Build:
DEFAULT BRANCH: main
Ran 04 Dec 2026 04:24AM UTC
Jobs 1
Files 93
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

04 Dec 2026 03:37AM UTC coverage: 90.27% (+0.05%) from 90.223%
47260582370

push

github

web-flow
Add `BaseProgramResults` as the umbrella over `HistoryResults` and `OutputResults` (#204)

* Make ProgramResults the umbrella over HistoryResults

ProgramResults is now the abstract type over both results kinds, so
runners and isinstance checks take either; today's full-history class
becomes HistoryResults, which run() returns.

- ProgramResults (abstract, name/num_shots/root_seed) holds the shared
  root encoding; HistoryResults and OutputResults subclass it.
- Building ProgramResults directly still works: it warns that it's
  deprecated and returns a HistoryResults.
- Serialization version 3 relocates results stored as ProgramResults
  to HistoryResults; old files and checkpoints read back unchanged.
- The fast history reader keeps navigating version-2 files, and the
  pre-1.2 label rewrite stays limited to pre-1.2 sources.
- HistoryDataCollector.collect and stim_record_from_outcomes refuse an
  OutputResults with a TypeError, as they need full histories.
- loqs-migrate rewrites ProgramResults(...) calls to HistoryResults and
  flags that file's other ProgramResults uses (pre-1.4 API comment).
- Minor: 1.3.1 results and checkpoint fixtures with their generator;
  tests for old files, the deprecation, the shared attributes, the
  refusals and the migrate pass; notebooks and CHANGELOG.

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

* Share collect_shot_data across both results kinds

collect_shot_data becomes ProgramResults' one read of an output for
every shot, so collectors and the runners' reduce steps take a
HistoryResults or an OutputResults and get the same values.

- ProgramResults declares collect_shot_data; OutputResults implements
  it, returning plain Python values shaped as a HistoryResults' read.
- OutputResults records each output's collector, in memory and in its
  file, and refuses a read of an output it didn't keep or kept under
  another collector or none.
- History... (continued)

4404 of 5152 branches covered (85.48%)

Branch coverage included in aggregate %.

13900 of 15125 relevant lines covered (91.9%)

0.92 hits per line

Coverage Regressions

Lines Coverage ∆ File
66
37.0
0.16% tools/pygstitools.py
47
91.62
0.01% internal/serializable.py
41
90.45
0.12% internal/encoder/hdf5encoder.py
26
90.55
0.14% internal/encoder/jsonencoder.py
25
94.63
0.05% engines/stim.py
6
93.94
0.0% tools/migrate/renames.py
5
95.77
-0.11% core/outputresults.py
4
97.15
0.06% tools/stimtools.py
1
90.85
0.0% tools/migrate/cli.py
Jobs
ID Job ID Ran Files Coverage
1 47260582370.1 04 Dec 2026 04:24AM UTC 93
90.27
GitHub Action Run
Source Files on build 47260582370
  • Tree
  • List 93
  • Changed 13
  • Source Changed 0
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #47260582370
  • ff221bd1 on github
  • Prev Build on main (#47213979562)
  • Next Build on main (#47492434798)
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