Skip to main content
MediumBug fixPython90 min

BookClub: Repair the Reader Dashboard

A practice debugging interview round in Python. Reproduce the failure in an unfamiliar codebase, narrow down the cause, ship a minimal fix, and explain your reasoning to an AI interviewer.

The incident

Repair the reader dashboard one phase at a time.

My streak says zero after three days of finishing books. Other readers are also reporting inconsistent profiles after the rollout.

  • Alex's streak shows zero after three consecutive completion days.
  • Support reports missing history entries, month-boundary discrepancies, and stale profiles.

What this round practices

The longest round here: a small app with models, services, a cache, and routes, and several user reports to work through in phases. It is closest to a real on-call ticket queue, so it practices triage and keeping each fix scoped as much as finding bugs.

Files you will work in

These 19 workspace files open in the in-browser editor when you start the round. Hidden tests also run when you submit.

  • README.md
  • task.md
  • docs/incident.md
  • fixtures/readers.json
  • app/models.py
  • app/seed.py
  • app/repository.py
  • app/calendar.py
  • app/services/stats_service.py
  • app/services/reading_service.py
  • app/cache.py
  • app/services/dashboard_service.py
  • app/routes.py
  • tests/support.py
  • tests/test_streak_visible.py
  • tests/test_history_visible.py
  • tests/test_calendar_visible.py
  • tests/test_cache_visible.py
  • tests/test_baseline_visible.py

What you are assessed on

The scored report evaluates both your investigation steps and what you explain during the conversation, not only whether the final test run passes.

  • Reproduction
  • File navigation
  • Evidence gathering
  • Hypothesis
  • Root-cause understanding
  • Regression prevention
  • Patch scope
  • Verification
  • Edit control
  • Communication clarity

How the round works

You get 90 minutes in a Python workspace that runs in your browser, with no setup. Talk through your plan with the AI interviewer by voice or text, run the tests as often as you like, and submit when the visible checks pass. Hidden tests run on submit, and the scored report covers what you did and what you explained.

Ready to debug this codebase?

Open the workspace, run the failing check first, and walk the AI interviewer through your findings.