Who asked: Priya Nandakumar, operations lead at Bramble Couriers (a fictional parcel firm).
Why: Customers phone the depots to ask when their parcel will arrive. Priya wants every parcel that is not delivered yet to get an estimated arrival time each morning, and a text to go out once the times are saved.
The data: bramble.py (the depots' scan files, the list of depots that have reported, the partner tracking API and the parcel_etas table) and chat.py (the stand-in for the texting service). The tracking API allows two calls at a time and fails now and then.
Done looks like: bramble_tracking runs at 07:30 UTC; finds the open parcels at every depot that reported; tracks each one with retries and no more than two calls at once; saves the results with the day; and updates the parcel_etas asset so bramble_customer_texts sends the texts.
In this project you turn a script that only looks at Leeds into the morning tracker Bramble's operations team runs every day. Each step starts from your previous answer. The workspace clock is 08:00 UTC on 9 November until the last step; Leeds, York and Hull have uploaded, and Selby is closed on Mondays. The hidden copy has a fourth depot, Derby, so nothing can be hard-coded.