import re


def sanitize_results_filename(filename: str) -> str:
  """Sanitizes results file name.

  Args:
    filename: original filename
  Returns:
    sanitized filename
  """
  return re.sub(r'[^\w\-\=]+', '_', filename)