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

Model Validation #25

Open
capsulecorplab opened this issue Jun 7, 2018 · 0 comments
Open

Model Validation #25

capsulecorplab opened this issue Jun 7, 2018 · 0 comments
Labels
enhancement New feature or request needs design input What should the interface, inputs, and/or outputs of this black box look like? SysML Domain-knowledge of SysML is recommended for working on this issue

Comments

@capsulecorplab
Copy link
Contributor

capsulecorplab commented Jun 7, 2018

This would be a method, isValid(), called from a Model object, for performing requirements validation. isValid() would recursively check if all requirements, or its derived requirements, contained in the model are satisfied by a Block instance, and verified by an Interaction instance.

e.g.,

import sysml
model = sysml.import_yaml('deathstar_plans.yaml') # import system model
model.isValid() # returns boolean

isValid() can return the following:
True - requirements are both satisfied and verified.
False - requirements are satisfied or verified, but not both.
raise Exception - requirements are over-satisfied or over-verified by multiple model elements.

@capsulecorplab capsulecorplab added enhancement New feature or request needs design feedback Design implementation needs feedback labels Jun 7, 2018
@capsulecorplab capsulecorplab added needs design input What should the interface, inputs, and/or outputs of this black box look like? and removed needs design feedback Design implementation needs feedback labels Aug 19, 2018
@capsulecorplab capsulecorplab added the SysML Domain-knowledge of SysML is recommended for working on this issue label Sep 10, 2018
@capsulecorplab capsulecorplab added the Hacktoberfest In celebration of open source label Oct 16, 2018
@capsulecorplab capsulecorplab removed the Hacktoberfest In celebration of open source label Jan 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs design input What should the interface, inputs, and/or outputs of this black box look like? SysML Domain-knowledge of SysML is recommended for working on this issue
Projects
None yet
Development

No branches or pull requests

1 participant