def dedupe(it):
    seen = set()
    for el in it:
        if el in seen:
            continue
        seen.add(el)
        yield el
The agent receives its position in the maze, to make this a fully observable
dataset/ETHPy150Open scrapinghub/splash/splash/utils.py/dedupe--crossover with--dataset/ETHPy150Open pybrain/pybrain/pybrain/rl/environments/mazes/tasks/mdp.py/MDPMazeTask.getObservation