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

Qiskit-Extensions / qiskit-experiments / 6009595088
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-1267-60655bb7aa78fd8f27a3a0be3c19f1e89e483305
DEFAULT BRANCH: main
Ran 29 Aug 2023 09:06AM UTC
Jobs 4
Files 168
Run time 7s
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

29 Aug 2023 08:07AM UTC coverage: 88.281% (-0.001%) from 88.282%
6009595088

push

github

web-flow
Reimplement AnalysisResultTable (#1252)

### Summary

Follow-up of #1133 for data frame. 

### Details and comments

I realized I had some mistake when I wrote a base class of
`ThreadSafeDataFrame`. We plan to move the curve data (XY data) to the
artifact for better reusability of the data points. In addition,
[CurveData](https://github.com/Qiskit-Extensions/qiskit-experiments/blob/c66034c90/qiskit_experiments/curve_analysis/curve_data.py#L88-L113)
object which is a container of the XY data is also replaced with the
data frame in a follow up PR. Since this table should contain predefined
columns such as `xval`, `yval`, `yerr`, I was assuming this container
could be a subclass of `ThreadSafeDataFrame` -- but this was not a right
assumption.

Since the curve analysis always runs on a single thread (analysis
callbacks might be run on multiple threads and thus
`AnalysisResultTable` must be thread-safe), this curve data frame
doesn't need to be thread-safe object. In this PR, a functionality to
define default columns of the table is reimplemented as a Python mixin
class so that the function to add default columns will be used also for
curve data frame without introducing the unnecessary thread safe
mechanisms. `AnalysisResultTable` is a thread safe container but the
functionality to manage default columns is delegated to the mixin.

84 of 84 new or added lines in 4 files covered. (100.0%)

12384 of 14028 relevant lines covered (88.28%)

3.53 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
93.94
qiskit_experiments/framework/table_mixin.py
6
84.95
3.46% qiskit_experiments/framework/analysis_result_table.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
87.11
-0.09% qiskit_experiments/framework/experiment_data.py
1
80.49
-0.35% qiskit_experiments/framework/json.py
Jobs
ID Job ID Ran Files Coverage
1 unit-tests_python3.10-macOS-latest - 6009595088.1 29 Aug 2023 09:06AM UTC 168
88.28
GitHub Action Run
2 unit-tests_python3.8-macOS-latest - 6009595088.2 29 Aug 2023 09:38AM UTC 168
88.25
GitHub Action Run
3 unit-tests_python3.11-macOS-latest - 6009595088.3 29 Aug 2023 09:55AM UTC 168
88.28
GitHub Action Run
4 unit-tests_python3.9-macOS-latest - 6009595088.4 29 Aug 2023 09:55AM UTC 168
88.25
GitHub Action Run
Source Files on build 6009595088
  • Tree
  • List 168
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #6009595088
  • f5c759bd on github
  • Prev Build on gh-readonly-queue/main/pr-1250-5a518eea02ca606b917e4716e70db5e86ea0f91a (#5979742027)
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

© 2026 Coveralls, Inc