Pipeline report over-counts one transform's materialized records
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
The FinOps on-call runs this reconciliation job every night. It replays the day's shared record feed through each named transform pipeline and reports how many records each pipeline successfully materialized, so usage can be billed against the platform dashboard. This morning FinOps flagged that one pipeline's count reads higher than the dashboard shows, and usage billing is held until the report is trusted again.
pipeline.py reads the shared record feed and prints, per pipeline, the number of records that pipeline materialized.
Every pipeline draws from the same feed. The pipelines run over that feed in a fixed, declared order: normalize, then enrich, then geocode, then publish. A record names the pipeline it belongs to, so records for different pipelines are interleaved in the feed.
What this round practices
Several transform pipelines replay the same shared record feed, and one reports more materialized records than the dashboard. The round practices replaying the feed through one pipeline at a time and proving each count by hand before trusting the report.
Files you will work in
These 4 workspace files open in the in-browser editor when you start the round. Hidden tests also run when you submit.
task.mdsrc/pipeline.pyfixtures/input.txttests/expected_output.txt
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 50 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.
Related rounds
View all debugging rounds- HardBug fix
Alert-incident rollup hides a monitor's second page in an interleaved feed
The per-monitor alert-incident rollup an on-call engineer reads reports one monitor firing fewer times than the metering dashboard, hiding a real second incident that already paged.
Python · 50 min
- HardBug fix
Session rollup over-counts one user's visits
The per-user session count Growth reads each morning reports one user with more sessions than the product analytics dashboard, a single boundary click away from misreading a returning user as a power user.
Python · 60 min
- HardBug fix
Nightly payout run under-schedules one merchant's settlement
The nightly settlement report schedules atlas_supply below their pending ledger, so their payout is held until the number reconciles.
Python · 50 min