qas
QAS model and functions to handle Quality Attribute Scenarios.
QASDescriptor
Bases: BaseModel
Describes the system-level requirements for the model component. Represents a Quality Attribute Scenario.
Source code in mlte/negotiation/qas.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | |
environment = None
class-attribute
instance-attribute
Set of circumnstances in which the scenario takes place.
identifier = None
class-attribute
instance-attribute
The unique identifier for the QAS.
measure = None
class-attribute
instance-attribute
Used to determine if the goals of the responses of the scenario have been achieved.
quality = ''
class-attribute
instance-attribute
System property that is being evaluated. Selected from quality attributes custom list.
response = None
class-attribute
instance-attribute
Activity that ocurrs as the result of the stimulus.
source = None
class-attribute
instance-attribute
Where the stimulus comes from.
stimulus = None
class-attribute
instance-attribute
The condition that triggers this scenario.
__str__()
Converts to a string representation of the QA scenario.
Source code in mlte/negotiation/qas.py
39 40 41 42 43 44 | |
add_qas_ids(base_id, quality_scenarios)
Ensures that all QAS in the NegotiationCard have an id, and assigns one to those who don't have it.
Source code in mlte/negotiation/qas.py
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | |