The token-bucket rate limiter in front of a quotes API: fix a refill bug, add daily quotas with a limits endpoint and policy headers, then make it safe against clock jumps, impossible batches and unbounded memory.
TypeScript · Node 20+ · Vitest · 3 parts · 90 minutes
This repo and its bugs are CircleCoder’s own practice material, not taken from any company’s interview. Free with an account; the AI debrief is charged like any AI session.
Log in to start