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

[Debug] Add sub flags to config logic, enable uinspect for circuit defs #1223

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

leonardt
Copy link
Collaborator

@leonardt leonardt commented Jan 9, 2023

When adding the sub flags to the set_debug_mode logic, I found that I needed to update the tests since using True/False breaks the assumption on certain tests where uinspect is enabled to True by default. In doing this, I noticed that uinspect isn't used for circuit def debug info, so I added that to be consistent with wiring.

@leonardt leonardt changed the title [Config] Add flags to debug mode [Config] Add sub flags to top level debug mode, enable uinspect for circuit defs Jan 9, 2023
@leonardt leonardt changed the title [Config] Add sub flags to top level debug mode, enable uinspect for circuit defs [Debug] Add sub flags to config logic, enable uinspect for circuit defs Jan 9, 2023
@codecov-commenter
Copy link

codecov-commenter commented Jan 31, 2023

Codecov Report

Merging #1223 (f678a21) into master (003df4d) will increase coverage by 0.00%.
The diff coverage is 95.23%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@           Coverage Diff           @@
##           master    #1223   +/-   ##
=======================================
  Coverage   85.44%   85.44%           
=======================================
  Files         160      160           
  Lines       17101    17112   +11     
=======================================
+ Hits        14612    14622   +10     
- Misses       2489     2490    +1     
Impacted Files Coverage Δ
magma/logging.py 92.40% <50.00%> (-0.55%) ⬇️
magma/circuit.py 92.00% <100.00%> (-0.04%) ⬇️
magma/config.py 85.13% <100.00%> (+2.32%) ⬆️
magma/debug.py 100.00% <100.00%> (+1.96%) ⬆️
magma/testing/utils.py 88.46% <100.00%> (+0.22%) ⬆️
magma/backend/mlir/hardware_module.py 96.85% <0.00%> (-0.12%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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