b8168b69a18bc2b80c5523013041c71ad31421d4
Added test_hits_expire_after_window_elapses() which uses unittest.mock.patch to deterministically advance time and verify that expired hits are evicted from the rolling window. This exercises the while loop in RateLimiter.allow() that was previously untested. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013PphXq1s43DNRj1uWKGXof
Description
talking to spirits
Languages
TypeScript
46.3%
Python
32.6%
CSS
13%
C
7.3%
JavaScript
0.3%
Other
0.4%