Aces High Bulletin Board
General Forums => Aces High General Discussion => Topic started by: fullback on July 07, 2003, 05:09:18 PM
-
I don't understand the scoring page math.
-
it's k/(d+1). The 1 is to prevent division by zero.
-
If you have 1 kill and NO deaths, you end up with a k/d of 1/0, which really annoys most programmic math APIs. K/D+1 ensures you have a legal operation.
Of course, it makes your K/D calculation WRONG, but it is easy.
Personally I think there needs to be two scores; streak and K/D. When you have no deaths k/d is worthless, and if ($DEATH=0) {ignore}. Once you have died, then you can worry about K/D ratio. Streak is simply the number of kills since your last death/capture. A bail/landing wouldn't count against streak or k/d.
Just imagine, in WWII, George Preddy gets his first kill, but can't put the flag on his bird because his k/(d+1) is still 1...and after his first death, rather than a 1:1 k/d he's at 1:2 for some reason...
Anyway, put on your nomex underwear, because the score potato flames are about to start...
Just my 2 perks.
-
It's
k/(d+1)
not
k/d+1
-
Originally posted by funkedup
It's
k/(d+1)
not
k/d+1
Precisely correct, and I was inconsistant with my formula. I should have just said fx=K/(D+1) where K = kills and D = deaths. Then used fx rather than the whole formula in further conversation. My aplogies.
What's surprising is the code segment didn't get trashed. One of the Rules of the Monistary: Thou shalt not post code fragments on pain of heavy flaming.
-
Of course I assumed it was k/(d+1) to avoid division by zero, but the *result* does not match the kill and death statistics.
Let me try to make this more clear: Does anyone know the formula *actually* being used to compute k/d ratio, since the ratio presented does not represent the kill/death data?
-
IIRC they count bails and captures as partial deaths.
-
Per help system under scoring.
Air Categories
Kills per Death = TotalKills / ((Discos * 0.5) + Bails + Captures + Deaths + 1)
-
Hot damn! Don't you go nowhere! There tons of people wanna ask you tons o' things one forum up! :D
-
Originally posted by hitech
Per help system under scoring.
Air Categories
Kills per Death = TotalKills / ((Discos * 0.5) + Bails + Captures + Deaths + 1)
What does the expensive bribe get me? Ki84 modeled? A quick change in the scoring tabulation so I can sponsor another contest?
-
If you've ever done any sort of programming, then you'll know that division by 0 = bad.
-
It isn't Kills per Deaths, it's Kills per Life, thus the +1 ;)
-
Thanks hitech.
k/d=kills/0.5*(discos + bails + captured) + (deaths +1)
-
Originally posted by fullback
Thanks hitech.
k/d=kills/0.5*(discos + bails + captured) + (deaths +1)
Your equation has operator precedence issues. :)
-
Oooh you are a clever one. Remind me to *not* post in the early morning... :)
k/d = total kills/[(discos + bails + ditches)/2 + (deaths + 1)]
or
kd = total kills / [ 0.5*(discos + bails + ditches) + (deaths + 1)]
-
That equation is still wrong. It's only disco's that should be divided with 2.
Bails, ditches and deaths count the same in the equation.
-
Did you calculate it using your data before you posted?
Bails, Ditches and Discos and multiplied by 0.5 in my score. Not in yours?
Here are my stats (I'm not very good...):
k/d + 1 = 3.28571
Kills = 23
Bailed = 2
Ditched = 2
Deaths = 4
Discos = 0
23 / [0.5*(2 + 2 + 0) + (4 + 1)]
23 / (2 + 5)
23 / 7 = 3.28571
If I only multiply discos by 0.5 then my ratio would be:
23 / (2 + 2 + 4 + 1)
23 / 9 = 2.5555
But my score says k/d + 1 = 3.28571
-
No, I did not and I can see I didn't study your equation good enough before I posted, but just look at Hitech's, it's what it's suppose to look like.
You removed captures and put in ditches in the previous post. Ditches should not be included. In regard to K/D they count as much as landed (read "none").
-
Originally posted by fullback
Did you calculate it using your data before you posted?
Bails, Ditches and Discos and multiplied by 0.5 in my score. Not in yours?
Here are my stats (I'm not very good...):
k/d + 1 = 3.28571
Kills = 23
Bailed = 2
Ditched = 2
Deaths = 4
Discos = 0
23 / [0.5*(2 + 2 + 0) + (4 + 1)]
23 / (2 + 5)
23 / 7 = 3.28571
If I only multiply discos by 0.5 then my ratio would be:
23 / (2 + 2 + 4 + 1)
23 / 9 = 2.5555
But my score says k/d + 1 = 3.28571
Try this:
23 / ((.5*0)+2+4+1)
It's that simple. Both your first and second equations are simply wrong.
MiniD
-
Originally posted by hitech
Per help system under scoring.
Air Categories
Kills per Death = TotalKills / ((Discos * 0.5) + Bails + Captures + Deaths + 1)
Now I understand why i see so many guys winking out before they hit the ground
-
MiniD is correct...you guys should really look at the equation hitech posted before you start doing math in the early morning :D
Just as a refresher....
Kills per Death = TotalKills / ((Discos * 0.5) + Bails + Captures + Deaths + 1)
So, in your case 23/7 = 3.28571
My fighter numbers from last tour are:
36/(0*0.5) + 1 + 0 + 5 + 1 = 36/7 = 5.14286
This tour is a little less impressive as I've been more apt to take off from heavily vulched fields :)...
-
Well... I'm thoroughly embarrassed at my mistake now.
But, unlike many, I will admit it:
I was wrong.