HF RL Explorer

circuit breaker pattern: fix bug

circuit breaker pattern: fix bug: a task in smol-software-harbor (Harbor dataset). Once the circuit breaker in src/breaker.js opens it never closes again, even after resetMs has passed ( recovers after the reset time fails). Implement the half-open step described at the top of the file: after the…

The task

Once the circuit breaker in `src/breaker.js` opens it never closes again, even after `resetMs` has passed (`recovers after the reset time` fails). Implement the half-open step described at the top of the file: after the reset time one trial call is let through; success closes the circuit, failure opens it again for…

Part of efederici/smol-software-harbor.