All code challenges
Medium20 minutes

Rate limiter

A per-player token bucket for remotes, with refills over time and defaults from a config.

  • 3 functions

    The skeleton has the functions to write. Each one throws "TODO" until you implement it.

  • 2 files

    Bugs can hide in any file, config included.

  • 7 tests

    Some are visible, some hidden. Run them as often as you like; your code runs in a sandbox.

  • 5 AI prompts

    Your AI pair programmer can explain and show short snippets, but won't write the functions. Every prompt is on your scorecard.

  • Stay on this tab

    Leaving the tab or window is logged. Leave 3 times and the code challenge submits itself. Pasting code from outside is blocked.

  • What we save

    Your final files, test runs, AI chat and tab leaves, plus your score.