def match(cls, responses, targets) -> int:
        """Exact match between targets and responses."""
        responses = str_to_list(responses)
        targets = str_to_list(targets)
        return len(longest_common_prefix(responses, targets)) / len(targets)
Exact match between targets and responses.
vlmeval/dataset/utils/megabench/scoring/longest_common_list_prefix_ratio.py