qiboteam / qibocal

Quantum calibration, characterization and validation module for Qibo.
https://qibo.science
Apache License 2.0
31 stars 7 forks source link

Handling `ZeroDivisionError` #842

Closed andrea-pasquale closed 4 months ago

andrea-pasquale commented 4 months ago

Closes #733

Checklist:

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 50.00000% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 97.22%. Comparing base (aad9f40) to head (4336866). Report is 10 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/qiboteam/qibocal/pull/842/graphs/tree.svg?width=650&height=150&src=pr&token=3EA9ZUNKUY&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam)](https://app.codecov.io/gh/qiboteam/qibocal/pull/842?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam) ```diff @@ Coverage Diff @@ ## main #842 +/- ## ========================================== - Coverage 97.26% 97.22% -0.04% ========================================== Files 106 106 Lines 7855 7860 +5 ========================================== + Hits 7640 7642 +2 - Misses 215 218 +3 ``` | [Flag](https://app.codecov.io/gh/qiboteam/qibocal/pull/842/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/qiboteam/qibocal/pull/842/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam) | `97.22% <50.00%> (-0.04%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/qiboteam/qibocal/pull/842?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam) | Coverage Δ | | |---|---|---| | [...aracterization/two\_qubit\_interaction/chsh/utils.py](https://app.codecov.io/gh/qiboteam/qibocal/pull/842?src=pr&el=tree&filepath=src%2Fqibocal%2Fprotocols%2Fcharacterization%2Ftwo_qubit_interaction%2Fchsh%2Futils.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam#diff-c3JjL3FpYm9jYWwvcHJvdG9jb2xzL2NoYXJhY3Rlcml6YXRpb24vdHdvX3F1Yml0X2ludGVyYWN0aW9uL2Noc2gvdXRpbHMucHk=) | `82.35% <50.00%> (-17.65%)` | :arrow_down: |