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 for result validation; Error in usage example #8

Merged
merged 2 commits into from
Feb 22, 2024
Merged

Fix for result validation; Error in usage example #8

merged 2 commits into from
Feb 22, 2024

Conversation

J-C-Q
Copy link
Contributor

@J-C-Q J-C-Q commented Feb 22, 2024

When running the usage example from the docs, there is an error when downloading the result.

Fixed it by adding meas_level and curc_id keys to the ExpResult schema.

Also, commented out menu tests until further investigation.

Menu tests don't work, since request() form REPL.TerminalMenus is called in a script. Also, stdin is type IOStream in the script and has no field buffer. In REPL stdin is Base.TTY.
Adding meas_level and curc_id keys to the ExpResult schema.
Copy link

codecov bot commented Feb 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3b4ed68) 83.63% compared to head (f565089) 64.64%.

Additional details and impacted files
@@             Coverage Diff             @@
##           master       #8       +/-   ##
===========================================
- Coverage   83.63%   64.64%   -19.00%     
===========================================
  Files           4        5        +1     
  Lines         275      280        +5     
===========================================
- Hits          230      181       -49     
- Misses         45       99       +54     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Roger-luo
Copy link
Member

Great Job! Thanks for the hard work!

@Roger-luo Roger-luo merged commit 751bb32 into QuantumBFS:master Feb 22, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants