AI code review practice

Review what the AI wrote.

A coding agent opens a pull request. It says the bug is fixed, its own tests pass, and the diff looks tidy. Each challenge is one of those PRs. Read the change and the code around it, point to the lines that are wrong, explain what breaks, and write the fix that actually holds.

  • 25 agent pull requests
  • Python and JavaScript
  • graded by hidden tests
  • AI feedback on your explanation
  • free · no signup to try

What you practice

01

Find the real bug

The agent's fix usually handles the case in the ticket. Read past it: what input, caller or deploy step does it still get wrong? Select the lines that prove it.

02

Explain it like a reviewer

Write the review comment you'd leave on the PR: what breaks, for whom, and why. You get AI feedback on what your explanation caught and what it missed.

03

Ship the fix that holds

Fix the code yourself. Run shows the public checks; Submit runs the hidden suite, including the cases the agent never tested.

Security
SSRF that still reaches internal hosts, archive path traversal, unsafe YAML loading, CORS and redirect handling, reset tokens, secrets on disk.
Correctness
Money that loses half a cent, pagination that drops the last page, CSV edge cases, config merging, cached permissions.
Production
Migrations that break during a rolling deploy, unbounded metric labels, retry backoff, shared session caches, incremental sync watermarks.

The challenges

Shortest first. No signup to try one.

Filter reviews in the catalog →

Questions

Why practice reviewing AI-written code?
Agents now write a large share of pull requests, and the person approving them is still responsible for what ships. Their mistakes look different from a junior's: the code is clean, confident and tested against the happy path. Spotting what it missed is a skill you can train.
How is it graded?
Your fix is graded by a hidden test suite, so it has to be right, not just pass the visible case. Your written explanation gets AI feedback on what it caught and missed; that feedback doesn't change your result.
Is it free?
Yes. You can open and solve any challenge without an account. Sign up to keep your progress and streak.
What else is on ReadTheCode?
Debugging multi-file codebases, reading-comprehension challenges, and SQL and dbt data pipelines. All of it is about reading code you didn't write.