nicetoolbox.evaluation.data.input_loader.matches_filter

nicetoolbox.evaluation.data.input_loader.matches_filter(value: str, filter_value: str | Any | list[Any]) bool[source]

Match a discovered dimension value against an InputBlock filter.

Parameters:
  • value – The actual dimension value to test (e.g. dataset name, session ID).

  • filter_value – Filter to match against. Accepts "*" to accept any value, a literal string for exact match, or a list of values for membership test.

Returns:

True if value satisfies the filter, False otherwise.