Api: User's averageLifeSpan > longestSingleLife

Created on 9 Feb 2018  路  4Comments  路  Source: Bungie-net/api

I'm compiling stats for my clan, and pulling GetHistoricalStats.allPvE, one user has averageLifeSpan of 26m 55s (1615 seconds), and longestSingleLife of 24m 22s (1462 s). Person is on PS4 and userid is 4611686018451206227. Mathematically, this should be impossible unless they are measuring different things.

bug investigation

All 4 comments

I'll ask some folks about it!

Suggestion from Discord folks: average is your best single-character average, based on all characters, even deleted ones (so for instance that one character you played one really long mission with, and immediately deleted), while longest single life is only based on currently active characters.

While that would indeed make sense of the numbers, I would humbly suggest a consistent measure for both numbers to avoid odd corner cases: average is average over all characters (whether active or active+deleted), and the same goes for longest. Either way, average should not be greater than max.... That just freaks me out.

Of course this assumes that diagnosis is even close to the mark. :-) Who knows what corner case I stumbled upon. It's the only one I've hit so far.

Hmm, that is possible.

My suspicion is that TimePlayedSeconds (on which the average is based) is more generous than the longestSingleLife (for instance, my suspicion at the moment is that TimePlayedSeconds may be counting activities that we wouldn't consider to be something that should contribute to your average, like standing around in the tower for an hour).

But I haven't had the chance to examine it further, and your suspicion could very well be what's going on as well. When I loop back around to it I'll check both for what I'm suspecting and what you are suspecting... we'll see if we can get to the bottom of it.

Logged as TFS 610197

Was this page helpful?
0 / 5 - 0 ratings