The Late Arrival

An easy AI Coding mock interview question on DataDriven, with an AI interviewer who asks follow-up questions and a hire or no-hire decision at the end.

Domain
AI Coding
Difficulty
easy
Seniority
L4

Interview Prompt

Finance reports the daily orders dashboard is missing roughly 3% of revenue versus the source system of record. Reproduce by running tests/test_late_events.py. Fix the pipeline so the test passes; keep any currently-passing tests green. Be ready to walk an interviewer through what changed and how a re-run on the next hour does or does not double-count.

Summary

The clock was lying.

How This Interview Works

  1. Read the task and the repository: the files, the failing check and the constraints
  2. Work the fix with the AI agent at your side, and run the checks until they pass
  3. Submit, then answer the interviewer's questions about the change you made
  4. Get a hire or no-hire decision with feedback on how you drove the agent