Skip to main content
HardAdd featurePython60 min

Add Notification Digest Scheduling

A practice debugging and feature-extension interview round in Python. Read an unfamiliar codebase, implement the requested behavior, run tests, and explain your decisions to an AI interviewer.

The incident

The notifications service needs a digest scheduler so users are not emailed for every event. Implement scheduled digest creation using user preferences, quiet hours, unread notifications, and deterministic deduplication.

Wire the feature through the service and keep the existing repository contract unchanged.

Requirements

  • Skip users with digests disabled
  • Respect quiet hours
  • Include only unread notifications
  • Deduplicate notification IDs within each job
  • Return stable job IDs so retries are idempotent

What this round practices

A harder feature round on notification digests, the system that keeps users from getting an email per event. Quiet hours, preferences, unread state, and deduplication all interact, so it practices turning a requirements list into tests before you write the scheduler.

Files you will work in

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

  • task.md
  • src/__init__.py
  • README.md
  • src/preferences.py
  • src/digest_scheduler.py
  • src/digest_service.py
  • tests/test_digest_scheduler.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.

  • Codebase understanding
  • Requirement decomposition
  • Implementation quality
  • Verification
  • Communication clarity

How the round works

You get 60 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.