HF RL Explorer

limit error rate does not raise the sentinel error after the error limit is exceeded

limit error rate does not raise the sentinel error after the error limit is exceeded: a task in repo2rlenv-swe-smith (Harbor dataset). limit error rate(n, period, sentinel error) is supposed to allow the decorated function to run normally for the first n errors within the time window, and then…

The task

`limit_error_rate(n, period, sentinel_error)` is supposed to allow the decorated function to run normally for the first `n` errors within the time window, and then raise `sentinel_error` (without calling the underlying function) once the error count reaches `n`.

Part of FineEnvs/repo2rlenv-swe-smith.