from typing import List
import random


def _generate_random_pairing(names: List[str]) -> dict:
    """
    Return a random pairing of names.
    """
    people = names[:]
    pairs = {}
    while len(people) > 0:
        a = people.pop(int(random.random() * len(people)))
        b = people.pop(int(random.random() * len(people)))
        pairs[a] = b
        pairs[b] = a
    return pairs