Closed dmaclean closed 10 years ago
Just kidding. I think the current implementation is correct. It makes sense that Bynum averaged 20 minutes/game, as long as it's understood that the context is games he played in. A better option might be to add some date or game checking to take into account that the player has missed games.
The query used to generate depth charts is an offender of this. It is only checking _game_totalsbasic which won't have a row if the player didn't play (see Andrew Bynum after mid December 2013). So, it's still showing him averaging 20 minutes a game when he hasn't played in a 1.5 months.
Another offender is _get_avg_stat_past_ngames.
Fix this shit.