HF RL Explorer

Currently opnieuw will only raise the last caught exception.

Currently opnieuw will only raise the last caught exception.: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). @retry( retry on exceptions=(TypeError, ValueError), max calls total=3, retry window after first call in seconds=1, ) def raise depending on counter() -…

The task

@retry( retry_on_exceptions=(TypeError, ValueError), max_calls_total=3, retry_window_after_first_call_in_seconds=1, ) def raise_depending_on_counter() -> None: global counter counter += 1 if counter == 1: raise TypeError elif counter == 2: raise ValueError else: raise IndexError

Part of FineEnvs/MiMo-V2.6-RL-harbor-code.