Thread history
Time | User | Activity | Comment |
---|---|---|---|
No results |
Welcome to the land of Performance Enhancing Bug! When facing things like this, there are two ways to go — leave it, or fully understand how it works and reproduce it!
It seems that you have mostly understood how the bug works, then just tweak your formula to fit the bug in!
Btw, have you ever tried putting two exactly same bot with different version, and see the score difference?
- I will just be reverting back to 2.2.7.1 it with the XOR filter which doesn't log real waves twice and I will use my better firepower formula to have a better score.
- I don't think putting exactly the same bot will help because no bots has been change since WhiteFang 2.2.7.1 but you may be right; my Bullet Shielding algorithm may cause extreme deviations in score.
The only purpose of putting the same bot twice with the same environment is to see how much noise there is with your testing method. Experience of improving ScalarBot told me that most of the time a small change in score is just noice; big drop is bug and big increase is new critical feature.
- I will put 2.2.7.1N after 2.4.5; maybe it is just a great noise which I had been trying to pass for a long time =)
- Oh, I am so dumb. It has nothing to do with my movement; 2.2.7.1 contains this line of code:
counter++; if (counter == 0) { possibleFuturePositions[direction + 1] = (Point2D.Double) predictedPosition.clone(); }
- Consequently it is impossible to have the future position predicted but my prediction system doesn't work so it made my scores lower =)
- Anyways, thank you so much for your time and I have actually learnt a lot of things.
This is so annoying, the bug I have mentioned above is actually more sensible than "Sometimes predicting the future position correct and sometimes calculating the opposite direction" however, seems like this bug was also a Performance Enhancing bug.
- I have just wondered how you normalize dangers in ScalarBot or since it's not OS what is the general way of doing it? In the latest version of WhiteFang I use
weight * MaximumPossibleDistance / (euclidean_distance + 1) / predictionNum
to have a balance between different weighting schemes and K's.
Just have a look at DrussGT and Diamond, ScalarBot uses similar formula. And most (new) bots imitate this style as well.
Make sure to use bullet damage and time-till-hit for weighting one wave vs another. Depending on the type of enemy this can make a big difference.
- Thank you for your response. The weighting system I wrote above only affects the bins. Later I divide/multiply those values while choosing the best movement option since WhiteFang has a bin-based KNN Algorithm(The code base was originally designed for Neural Networks).
- Actually, I have a logical mistake in my movement but I didn't fix it yet since I wanted a controlled testing environment.