View Single Post
Old 04-16-2015, 05:53 PM   #975
estyles
Bat Boy
 
Join Date: Sep 2013
Posts: 15
Minimum Days of Service for 1 Service Year setting doesn't work as I would expect.

If I change this setting to, for example, 60 days, it messes up service time calculation for existing players. Suddenly I have guys who, according to their service time, have been in the big leagues since they were 5 years old. Basically, it seems to be multiplying service time by about 3 (giving them 172 days of service time for every year that they had played, and then dividing that by 60 for years of service time).

Instead, I would expect that if 60 days is the min days of service for a year, then 60 days is the MAX that a player can accrue in a year. If the data is stored as just a single number of X days, then when setting service time less than 172 days, I would guess you'd have to update every player with service time > 0 by multiplying by the ratio of N/172... Or something like that.
estyles is offline   Reply With Quote