Library Search is a book search system for a public library's website. The codebase contains about a dozen small files that work together to turn raw search parameters into a JSON-ready response. Readers can search the catalog, filter books by genre or availability, and browse paginated results, with a summary box displayed above the list.
The round lasts 60 minutes and has four phases:
The individual bugs are small, and the assistant will find each one quickly. The hard part is that every fix has a version that is only half right.
Every ticket describes a specific symptom, and the visible tests check exactly that symptom. The hidden tests check the README rule behind it, so a fix that only covers the ticket passes the visible tests but fails the hidden ones.