Closed stavros11 closed 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 66.35%. Comparing base (
926104e
) to head (4946322
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Looks good, should we open another PR in qibolab platforms as well ?
I believe this is not necessary. If no bounds are given in parameters.json it will use the defaults hardcoded for the used instrument. These are the values from your PR which I believe are good estimates for what we know so far. If someone finds better values then they can put them in the platform. The only confusion may be that platforms dumped by qibocal will now contain the default bounds (even when not specified in the original platform), but that shouldn't be an issue.
@alecandido I fixed the conflict and responded to your comments. If you have no objection, feel free to merge. Regarding instrument.dump()
, maybe we should migrate all instruments to that approach, but certainly not here.
I manually changed base branch to the PR. @scarrazza is it possible to enable to automated rebase in the settings?
The only confusion may be that platforms dumped by qibocal will now contain the default bounds (even when not specified in the original platform), but that shouldn't be an issue.
For this we should decide a consistent scheme, since those platforms are becoming lock files, but they should not be recommitted as is to the platforms' repo (otherwise it would not make use of the defaults any longer). It would be nice if we could generate both fully detailed platforms (for reproducibility) and minimal updates (to recommit them back).
Implements what is described in https://github.com/qiboteam/qibolab/pull/817#discussion_r1515985368.