HF RL Explorer

limit error rate calls the wrapped function after the error limit is reached

limit error rate calls the wrapped function after the error limit is reached: a task in repo2rlenv-swe-smith (Harbor dataset). limit error rate(n, period, exception) is supposed to stop calling the underlying function once it has raised errors n times within the period, and instead raise the…

The task

`limit_error_rate(n, period, exception)` is supposed to stop calling the underlying function once it has raised errors `n` times within the period, and instead raise the specified `exception` directly. However, after the limit is reached the decorator still calls the underlying function and propagates whatever…

Part of FineEnvs/repo2rlenv-swe-smith.