Skip to content

Clarify event semantics for AssertionLevel.error #2571

@henrikt-ma

Description

@henrikt-ma

#1520 raised very relevant questions regarding event generation of assert with AssertionLevel.error, but I still think that the outcome of the discussion hasn't really made it into the specification.

The text regarding AssertionLevel.warning that says that the condition shall be treated with implicit noEvent is still non-normative. A side effect of this being non-normative nature is that this also makes it less clear what is actually the rule in the AssertionLevel.error case.

Then, there is also non-normative text for AssertionLevel.error saying that it can be used to avoid evaluating a model outside its limits of validity, but it doesn't mention that one would need to explicitly wrap the condition in noEvent in order to to avoid risk of event hysteresis handling allowing the condition to be violated by a small amount before triggering the assert.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions