def add_random_strings(data: str) -> List[str]:
    """
    Adds random strings to the start and end of the string `data`.
    Returns a list of strings.
    """
    urls_and_handles = [random_url(n=6) for _ in range(5)] + [random_handle() for _ in range(5)]
    rets = ["%s %s" % (x, data) for x in urls_and_handles]
    rets += ["%s %s" % (data, x) for x in urls_and_handles]
    return rets
Adds random strings to the start and end of the string `data`.
Returns a list of strings.
allennlp/confidence_checks/task_checklists/utils.py