AutomatedReasoningPolicyScenario¶
Structure Class¶
AutomatedReasoningPolicyScenario
dataclass
¶
Represents a test scenario used to validate an Automated Reasoning policy, including the test conditions and expected outcomes.
Attributes¶
alternate_expression
class-attribute
instance-attribute
¶
alternate_expression: str = field(repr=False)
An alternative way to express the same test scenario, used for validation and comparison purposes.
expected_result
instance-attribute
¶
expected_result: AutomatedReasoningCheckResult
The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).
expression
class-attribute
instance-attribute
¶
expression: str = field(repr=False)
The logical expression or condition that defines this test scenario.
rule_ids
instance-attribute
¶
rule_ids: list[str]
The list of rule identifiers that are expected to be triggered or evaluated by this test scenario.