Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix classifiers plot #928

Merged
merged 2 commits into from
Jul 17, 2024
Merged

Fix classifiers plot #928

merged 2 commits into from
Jul 17, 2024

Conversation

andrea-pasquale
Copy link
Contributor

When plotting from file using qq report the fit was never appearing for single shot classification.
This PR fixes the issue.
@Edoardo-Pedicillo for the time being this is mostly a patch, if you have a better solution let me know

Checklist:

  • Reviewers confirm new code works as expected.
  • Tests are passing.
  • Coverage does not decrease.
  • Documentation is updated.
  • Compatibility with Qibo modules (Please edit this section if the current pull request is not compatible with the following branches).
    • Qibo: master
    • Qibolab: main
    • Qibolab_platforms_qrc: main

@andrea-pasquale andrea-pasquale added the bug Something isn't working label Jul 9, 2024
@andrea-pasquale andrea-pasquale self-assigned this Jul 9, 2024
Copy link

codecov bot commented Jul 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.55%. Comparing base (46df4ef) to head (e1a7b57).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #928      +/-   ##
==========================================
+ Coverage   97.27%   97.55%   +0.28%     
==========================================
  Files         118      118              
  Lines        9014     9016       +2     
==========================================
+ Hits         8768     8796      +28     
+ Misses        246      220      -26     
Flag Coverage Δ
unittests 97.55% <100.00%> (+0.28%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
src/qibocal/protocols/classification.py 100.00% <100.00%> (+8.50%) ⬆️

... and 3 files with indirect coverage changes

Copy link
Contributor

@Edoardo-Pedicillo Edoardo-Pedicillo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a patch it is fine (maybe open an issue)

@alecandido
Copy link
Member

Let's merge this right after #869 :)

@andrea-pasquale
Copy link
Contributor Author

Let's merge this right after #869 :)

Ok, then I'll add you as a reviewer as well since we will need two reviews.

@alecandido alecandido force-pushed the import-from-executor branch 3 times, most recently from 1eda603 to 39a3ba6 Compare July 16, 2024 16:36
Base automatically changed from import-from-executor to main July 17, 2024 07:35
@alecandido
Copy link
Member

@andrea-pasquale should we merge?

@andrea-pasquale andrea-pasquale added this pull request to the merge queue Jul 17, 2024
Merged via the queue into main with commit 1d8afc2 Jul 17, 2024
21 checks passed
@andrea-pasquale andrea-pasquale deleted the fix_classifiers_plot branch July 17, 2024 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants