One unit is a city-hour, not the orders inside it.
When the whole market has to switch together and you have few markets, randomize time instead. A switchback test flips each city between treatment and control in time blocks, say an hour at a time. Every city-hour is a unit, and each city serves as its own control.
The analysis is this lesson's with a new cluster: the city-hour, not the order. Cabify's write-up puts it plainly: "Lastly, take into account that, in switchback experiments, each interval is one sample, so you need longer experiments to get significant results."
Two things to raise in an interview:
- Carryover. A ride requested late in a treatment block can finish in the next control block. Longer blocks, or a washout period dropped after each switch, as Cabify does, keep one arm's effects out of the other's numbers.
- Correlated blocks. Neighboring hours in a city share demand, so the blocks aren't fully independent either. Check that clustering on a coarser unit, such as the city-day, doesn't change your answer.