bentocorp / houston

Java / Scala back-end for Onfleet replacement
0 stars 0 forks source link

Calculate a simple ETA #4

Closed vcardillo closed 8 years ago

vcardillo commented 8 years ago

Calculate a simple system-wide ETA (SSE) to display in the app.

Average orders per driver * 15 minutes = sse_result

All fields are already on dev and prod.


vcardillo commented 8 years ago

vincent [7:32 PM] There are interesting implications as to when we round the numbers.

​[7:33] So by not rounding 13/4 and leaving it as 3.25, you get 48.75 minutes which becomes 50 minutes. As opposed to rounding it earlier to 3, and ending up with 45 minutes still.

​[7:33] Not really a big deal, just an observation.

marcdoan commented 8 years ago

This has been released.