AI-assisted engineering/AI-collaboration build

Fix is_quiet for quiet hours that cross midnight

AI-collaboration buildMedium30 min

Users who set quiet hours from 22:00 to 07:00 are still woken at 3 am. The assistant has a tidy fix.

Your task

Fix is_quiet so it honors its contract. The assistant may help, and it may be wrong.

  • the start minute is inside the window, the end minute is not
  • a window whose end is earlier than its start runs past midnight
  • a window whose start equals its end is never quiet
  • leave minutes and run_case alone; the tests call run_case

Hidden tests run at submit. Your prompts, runs and edits are the trace the critique reads.