About the project

Learning competitive programming should feel like a conversation, not a spoiler.

Nudge generates progressive hints for Codeforces problems so you can get unstuck at your own pace, without jumping straight to the full solution.

How it works

Three stages, fully automated.

Step 1

Scrape & queue

We pull completed problems from the Codeforces API and queue them for generation using Trigger.dev background jobs.

Step 2

AI generation

Anthropic's biggest, latest Claude model generates five progressive hints, a clean editorial, and a full C++ solution via the Batch API.

Step 3

Browse & learn

Problems show up here with collapsible hints, so you only reveal as much as you need to keep making progress.

Why progressive hints?

Reading a full editorial the moment you're stuck kills the learning. A small nudge in the right direction is usually enough to get you going again. Nudge gives you five levels of help, from the gentlest push to the full key insight, so you're always in control of how much you see.

View on GitHub