Bug Reports

Forum >> Bug Reports >> AVG/OBP being calculated incorrectly?   Bookmark This Forum Thread

Post ID Date & Time Game Date Function
Peekay
Joined: 03/26/2014
Posts: 146

Inactive

Broken Bat Baseball
Have a look at my player Curtis Clayton:

http://brokenbat.org/player/77506

So far this year he has appeared in one game for a PH appearance which he subsequently walked in: http://brokenbat.org/game/1334270

His triple slash line should be .000/1.000/.000
But instead is showing as .000/.500/.000

I believe there is an error in the calculation because walk's are being counted as AB's (when they aren't really).

Obviously this would have a significant change to current and past statistics so I'm willing to ignore it if it's better for the game?
Peekay
Joined: 03/26/2014
Posts: 146

Inactive

Broken Bat Baseball
To expand on this if the above player were to get a hit in his next AB his average should then be 1.000 instead it would show as .500 due to their being 2 AB's

AVG should be calculated against AB's and OBP should be calculated against PA's (not sure if this is kept in the database)?

I'm guessing that Sac Fly's/Sac Bunt's are also counting into AVG when they shouldn't be due to the above (although they should count against OBP).

Cheers
MrTwoPlums
Joined: 04/14/2012
Posts: 213

Inactive

Broken Bat Baseball
He walked and struck out in the same inning.
admin
Joined: 01/27/2010
Posts: 5024

Administrator
Broken Bat Baseball
Yes, I think its correct given that he's had one strike out and one walk.

BA = 0/1 = .000
OBP = 1/2 = .500
SLG = 0/1 = .000

Steve
Peekay
Joined: 03/26/2014
Posts: 146

Inactive

Broken Bat Baseball
Now I feel very stupid!

Sorry for wasting everyones time!
admin
Joined: 01/27/2010
Posts: 5024

Administrator
Broken Bat Baseball
No...please report everything you think is a bug. There have been a few, so it could just as well been my error.

Steve


Previous Page | Show All |