def match(cls, responses, targets) -> int:
        """Exact match between targets and responses."""
        if not isinstance(responses, str):
            responses = str(responses)
        responses = str_to_list(responses)
        targets = str_to_list(targets)
        return 1 if responses == targets else 0
Exact match between targets and responses.
vlmeval/dataset/utils/megabench/scoring/sequence_equality.py