HF RL Explorer

Write a Python generator function called unique in window that filters items from an iterable, yielding only…

Write a Python generator function called unique in window that filters items from an iterable, yielding only…: a task in repo2rlenv-r2e (Harbor dataset). Function signature: python def unique in window(iterable, n, key=None):

The task

Function signature: ```python def unique_in_window(iterable, n, key=None): ```

Part of FineEnvs/repo2rlenv-r2e.