-
Notifications
You must be signed in to change notification settings - Fork 9
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
feat: routine verification #76
Conversation
return self.is_valid | ||
|
||
|
||
def verify_routine_topology(routine: Routine) -> VerificationOutput: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue (nonblocking): Missing Returns
section. For the sake of how the docs look, I would add a simple paragraph like:
Returns:
An object indicating if the verification succeeded, containing a (possibly empty) list of found problems.
return VerificationOutput(problems=verify_topology(qref_routine).problems) | ||
|
||
|
||
def verify_uncompiled_routine(routine: Routine, backend: SymbolicBackend) -> VerificationOutput: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue (nonblocking): Missing Returns
section in docstrings.
return f"Couldn't parse {object_type}: {original_object} of subroutine: {path}." | ||
|
||
|
||
def verify_compiled_routine(routine: Routine, backend: SymbolicBackend) -> VerificationOutput: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue (nonblocking): Missing Returns
section in docstring.
Description
Closes #18
Please verify that you have completed the following steps