Quote:
Originally Posted by steveb
here is another one that might give somebody an idea as far as error checking routines go.
all done programatically.
if something looks weird the computer automatically tells you it thinks something is up that creek.
first 4 columns self explanatory
M_TIME is converting the margin back to a time to see if it matches the official time.....never perfect because the margins are not perfect being .25 increments
MARGIN is official margin
T_MARGIN is converting time to margin to make sure it fits as well as possible
CON_FACTOR is trying to fiigure the conversion factor for each horse.
and again it can't be perect because of those increments, and especially when margin is small. should be .16 in hk
|
and i should mention...
if TIME lesss M_TIME is negative
then MARGIN less T_MARGIN must be positive
and the inverse is true
if one is zero then the other must be zero too
if those conditions are not met then you know something is wrong.