Skip to content

AutomatedReasoningPolicyScenario

Structure Class

AutomatedReasoningPolicyScenario dataclass

Bases: _SerdeShape

Represents a test scenario used to validate an Automated Reasoning policy, including the test conditions and expected outcomes.

Attributes

alternate_expression instance-attribute
alternate_expression: str

An alternative way to express the same test scenario, used for validation and comparison purposes.

expected_result instance-attribute
expected_result: str

The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).

expression instance-attribute
expression: str

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.