imas_validator.validate.result.IDSValidationResult

class imas_validator.validate.result.IDSValidationResult(success: bool, msg: str, rule: IDSValidationRule, idss: list[tuple[str, int]], tb: StackSummary, nodes_dict: dict[tuple[str, int], set[str]], exc: Exception | None = None)

Bases: object

Class for storing data regarding IDS validation test results

__init__(success: bool, msg: str, rule: IDSValidationRule, idss: list[tuple[str, int]], tb: StackSummary, nodes_dict: dict[tuple[str, int], set[str]], exc: Exception | None = None)

Methods

__init__(success, msg, rule, idss, tb, ...)

Attributes

exc

Exception that was encountered while running validation test

success

Whether or not the validation test was successful

msg

Given message for failed assertion

rule

Rule to apply to IDS data

idss

Tuple of ids_names and occurrences

tb

A stack of traceback frames

nodes_dict

Set of nodes that have contributed in this result, identified by a combination of the ids name and occurence

exc : Exception | None = None

Exception that was encountered while running validation test

idss : List[Tuple[str, int]]

Tuple of ids_names and occurrences

msg : str

Given message for failed assertion

nodes_dict : Dict[Tuple[str, int], Set[str]]

Set of nodes that have contributed in this result, identified by a combination of the ids name and occurence

rule : IDSValidationRule

Rule to apply to IDS data

success : bool

Whether or not the validation test was successful

tb : StackSummary

A stack of traceback frames


Last update: 2025-08-29