from pathlib import Path


def default_dataset_location(dataset_name: str) -> Path:
    """
    Return the default location of a dataset.

    This currently returns "~/.avalanche/data/<dataset_name>" but in the future
    an environment variable bay be introduced to change the root path.

    :param dataset_name: The name of the dataset. Consider using a string that
        can be used to name a directory in most filesystems!
    :return: The default path for the dataset.
    """
    return Path.home() / f".avalanche/data/{dataset_name}"