Skip to content

Commit

Permalink
Update issue description (#61)
Browse files Browse the repository at this point in the history
Signed-off-by: romanodanilo <[email protected]>
Signed-off-by: romanodanilo <[email protected]>
  • Loading branch information
romanodanilo authored Sep 17, 2024
1 parent 0639336 commit 2a7cbcf
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def check_rule(checker_data: models.CheckerData) -> None:
issue_id = checker_data.result.register_issue(
checker_bundle_name=constants.BUNDLE_NAME,
checker_id=CHECKER_ID,
description="Issue flagging when no FileHeader is found under root element",
description="No FileHeader found under root element",
level=IssueSeverity.ERROR,
rule_uid=RULE_UID,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def check_rule(checker_data: models.CheckerData) -> None:
issue_id = checker_data.result.register_issue(
checker_bundle_name=constants.BUNDLE_NAME,
checker_id=CHECKER_ID,
description="Issue flagging when root tag is not OpenSCENARIO",
description="Root tag is not OpenSCENARIO",
level=IssueSeverity.ERROR,
rule_uid=RULE_UID,
)
Expand Down
2 changes: 1 addition & 1 deletion qc_openscenario/checks/basic_checker/version_is_defined.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def check_rule(checker_data: models.CheckerData) -> None:
issue_id = checker_data.result.register_issue(
checker_bundle_name=constants.BUNDLE_NAME,
checker_id=CHECKER_ID,
description="Issue flagging when revMajor revMinor attribute of FileHeader are missing or invalid",
description="Version attributes revMajor-revMinor missing or invalid",
level=IssueSeverity.ERROR,
rule_uid=RULE_UID,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def check_rule(checker_data: models.CheckerData) -> None:
issue_id = checker_data.result.register_issue(
checker_bundle_name=constants.BUNDLE_NAME,
checker_id=CHECKER_ID,
description="Issue flagging invalid operand is used within expression",
description="Invalid operand used within expression",
level=IssueSeverity.ERROR,
rule_uid=RULE_UID,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def check_rule(checker_data: models.CheckerData) -> None:
issue_id = checker_data.result.register_issue(
checker_bundle_name=constants.BUNDLE_NAME,
checker_id=CHECKER_ID,
description="Issue transitionTime in LightStateAction node is negative",
description="transitionTime in LightStateAction node is negative",
level=IssueSeverity.ERROR,
rule_uid=RULE_UID,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def check_rule(checker_data: models.CheckerData) -> None:
issue_id = checker_data.result.register_issue(
checker_bundle_name=constants.BUNDLE_NAME,
checker_id=CHECKER_ID,
description="Issue flagging when attribute “duration” in the complex type “Phase” is negative",
description="Attribute “duration” in the complex type “Phase” is negative",
level=IssueSeverity.ERROR,
rule_uid=RULE_UID,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def check_rule(checker_data: models.CheckerData) -> None:
issue_id = checker_data.result.register_issue(
checker_bundle_name=constants.BUNDLE_NAME,
checker_id=CHECKER_ID,
description="Issue flagging when used parameters is not defined or has not default value within a catalog",
description="Parameter not defined or without default value within a catalog",
level=IssueSeverity.ERROR,
rule_uid=RULE_UID,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def check_rule(checker_data: models.CheckerData) -> None:
issue_id = checker_data.result.register_issue(
checker_bundle_name=constants.BUNDLE_NAME,
checker_id=CHECKER_ID,
description="Issue flagging when an entity is referred in a entityRef attribute but it is not declared among Entities",
description="Entity not declared among Entities but referred in an entityRef attribute",
level=IssueSeverity.ERROR,
rule_uid=RULE_UID,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def check_rule(checker_data: models.CheckerData) -> None:
issue_id = checker_data.result.register_issue(
checker_bundle_name=constants.BUNDLE_NAME,
checker_id=CHECKER_ID,
description="Issue flagging traffic light id not present in linked xodr file",
description="Traffic light id not present in linked xodr file",
level=IssueSeverity.ERROR,
rule_uid=RULE_UID,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def check_rule(checker_data: models.CheckerData) -> None:
issue_id = checker_data.result.register_issue(
checker_bundle_name=constants.BUNDLE_NAME,
checker_id=CHECKER_ID,
description="Issue flagging when a storyboardElementRef does not point to an existing element",
description="Reference in a storyboardElementRef does not point to an existing element",
level=IssueSeverity.ERROR,
rule_uid=RULE_UID,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def check_rule(checker_data: models.CheckerData) -> None:
issue_id = checker_data.result.register_issue(
checker_bundle_name=constants.BUNDLE_NAME,
checker_id=CHECKER_ID,
description="Issue flagging traffic signal controller reference not present in the declared RoadNetwork",
description="Traffic signal controller referred but not present in the declared RoadNetwork",
level=IssueSeverity.ERROR,
rule_uid=RULE_UID,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def check_rule(checker_data: models.CheckerData) -> None:
issue_id = checker_data.result.register_issue(
checker_bundle_name=constants.BUNDLE_NAME,
checker_id=CHECKER_ID,
description="Issue flagging when a variable is referred in a variableRef attribute but it is not found within ScenarioDefinition",
description="Variable not found within ScenarioDefinition but referred in a variableRef attribute",
level=IssueSeverity.ERROR,
rule_uid=RULE_UID,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def check_rule(checker_data: models.CheckerData) -> None:
issue_id = checker_data.result.register_issue(
checker_bundle_name=constants.BUNDLE_NAME,
checker_id=CHECKER_ID,
description="Issue flagging when a element name is not unique within its level",
description="Duplicated element name used at given document level",
level=IssueSeverity.ERROR,
rule_uid=RULE_UID,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def check_rule(checker_data: models.CheckerData) -> None:
issue_id = checker_data.result.register_issue(
checker_bundle_name=constants.BUNDLE_NAME,
checker_id=CHECKER_ID,
description="Referenced names are not unique",
description="Referenced entity name duplicated",
level=IssueSeverity.WARNING,
rule_uid=RULE_UID,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def check_rule(checker_data: models.CheckerData) -> None:
issue_id = checker_data.result.register_issue(
checker_bundle_name=constants.BUNDLE_NAME,
checker_id=CHECKER_ID,
description="Issue flagging when no Actor is specified but a PrivateAction is used",
description="No Actor is specified but a PrivateAction is used",
level=IssueSeverity.ERROR,
rule_uid=RULE_UID,
)
Expand Down

0 comments on commit 2a7cbcf

Please sign in to comment.