Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions src/extensions/score_metamodel/metamodel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,13 @@ graph_checks:
saf_linkage_safety:
needs:
include: feat_saf_fmea, comp_saf_fmea, plat_saf_dfa, feat_saf_dfa, comp_saf_dfa
condition: safety == ASIL_B
condition:
and:
- safety == ASIL_B
- status == valid
check:
mitigated_by: safety != QM
mitigated_by:
and:
- safety != QM
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is mittigated_by here the only thing that can have linked requirements?

According to the text it says that all linkages must fulfill this.
Cant check the code atm on phone. So if this is correct then looks good.

- status == valid
explanation: An ASIL_B safety requirement must link to a ASIL_B requirement. Please ensure that the linked requirements safety level is not QM and it's status is valid.
Loading