def unique_permutations(iterable, length):
    seen = set()
    while True:
        element = tuple(sorted(random.sample(iterable, length)))
        if element not in seen:
            seen.add(element)
            yield list(element)
Gets related resources, i.e links to resources related to the
dataset/ETHPy150Open arq5x/gemini/gemini/tool_burden_tests.py/unique_permutations--crossover with--dataset/ETHPy150Open rwl/muntjac/muntjac/demo/sampler/Feature.py/Feature.getRelatedResources