import re


def get_cached_path(cogs_dir, sheet_title):
    """Return the path to the cached version of a sheet based on its title."""
    filename = re.sub(r"[^A-Za-z0-9]+", "_", sheet_title.lower())
    return f"{cogs_dir}/tracked/{filename}.tsv"