I don't get why this is included in the window.Uber pingData. It seems as though your rating is something that isn't necessary and shouldn't be surfaced client-side.
Anyone have some insight into why this data is there in the first place? Is this an accidental leak, some sort of optimization or something else?
No reason to hide it until it becomes a problem. I suspect now that someone's gone to the trouble to surface it, they'll patch it out, but really, it doesn't matter if a tiny percentage of uber-users know what their score is.
It's an optimization for their developers. They probably don't want to write a bunch of "if user.driver?"'s in their API responses, so just return all the data all the time and let their clients decide what to show.
Anyone have some insight into why this data is there in the first place? Is this an accidental leak, some sort of optimization or something else?