import random


def generate_tag_info() -> dict:
    """ Generates metadata used for creating a tag record

    Returns:
        Tag metadata (dict) 
    """
    def simulate_tag():
        dataset_name = "test_dataset"
        dataset_set = f"set_{str(random.randint(0, 10))}"
        version = f"version_{str(random.randint(0, 10))}"
        return [dataset_name, dataset_set, version]

    return {
        meta: [simulate_tag() for _ in range(random.randint(1, 10))] 
        for meta in ["train", "evaluate", "predict"]
    }