def compare_sets(a, b):
    """return missing and additional elements in two containers.
    """
    expected = set(a)
    received = set(b)
    return expected.difference(received), received.difference(expected)
