def METHOD_NAME(self, tags: Mapping[str, Any]) -> Decision:
    if len(self.relevant_tag_names) == 0:
        relevant_tags = pmap(tags)
    else:
        relevant_tags = pmap(
            {
                tag: self._normalize_value(tag, value)
                for tag, value in tags.items()
                if tag in self.relevant_tag_names
            }
        )
    rating: Rating = max(self.iterate_ratings(relevant_tags))
    if rating == Rating.BAD:
        return Decision.EXCLUDE
    elif rating == Rating.GOOD:
        return Decision.INCLUDE
    elif rating == Rating.NONE or rating == Rating.UNCERTAIN:
        if relevant_tags not in self.shown_warning_tags:
            logger.warning(
                f"Will include observation ({format_tags(relevant_tags)}) for analysis "
                f'even though quality rating is "{rating.name}"'
            )
            self.shown_warning_tags.add(relevant_tags)
        return Decision.INCLUDE
    else:
        raise ValueError()