How to calculate overall score based on trip scores

  • 1
  • Question
  • Updated 2 years ago
  • Answered
Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members.

I work for a data company that purchases all employees Automatics to spur some healthy competition! We have connected to the API to get the back end data to compare all drivers. The data is on a trip-level and thus we can't calculate overall driver scores. Would love to know the exact algorithm used to calculate driver scores so I can replicate it from the data from the API. We're driving cross-country in a few months and will be showcasing our Automatic data and would love a way to give overall score.
Photo of Amy Elliott

Amy Elliott

  • 82 Points 75 badge 2x thumb
  • hopeful

Posted 2 years ago

  • 1
Photo of Jerry

Jerry, Co-founder

  • 2,438 Points 2k badge 2x thumb
Hi Amy,

The original automatic score awards 50 points to driving "in the city" and 50 to driving "on the highway", and you can get those two fields in the rest API with score_speeding and score_events.  In order to calculate an aggregated score across many trips, you can just sum up each of those scores respectively (weighted by duration of the trip) to get 2 final scores: aggregated_score_speeding, and aggregated_score_events.

You may notice that one of the score components may be negative, which we round up to 0.  After that, you can just sum the two components to get the final automatic score.
(Edited)
Photo of Amy Elliott

Amy Elliott

  • 82 Points 75 badge 2x thumb
Thanks Jerry, I just got it working!!
We drive from Maine to the Tableau Conference every year and visualize the trip data (here's a prior example that won Tableau's Viz of the Day: https://public.tableau.com/profile/ar...). We're doing it with Automatic this year and have converted the polylines into lat/lons so are just about ready! Last question I have is if you can give insight into the algorithm for the speeding score, we're thinking of incorporating a few other elements in as well. Really appreciate the quick response yesterday!
Photo of Jerry

Jerry, Co-founder

  • 2,438 Points 2k badge 2x thumb
The dashboard looks great!

The speeding score is based a combination of the time over 70mph as well as the amount over that threshold.

This conversation is no longer open for comments or replies.