Review gym

Every diff here has green checks and a real bug in it. Find the line. You don’t need to read code to start: any line will explain itself, and a wrong guess costs nothing.

0 found unaided0 with a hint0 shownReal agent output

Exercise 1 of 21

Search results, ten at a time

Written by us, with a seeded bugThe checks are real, and so is the bug.

The request Show search results ten at a time. Page 1 is the first page.

src/search/paging.ts

Find the line that is wrong

The checks are green, and it is still wrong. Read the request, then click or tap the line you think is the problem. A wrong guess costs nothing, and it tells you why that line is fine.

Can’t read code yet? That’s what this is for. Press ? beside any line and it says what that line does in plain English, and you can walk through the lot.

On a keyboard: Tab to the code, arrow keys to move, Enter to accuse, E to explain.

The workshop

Name a word, or describe what you mean in everyday language.