[Home]PerformanceEnhancingBug

Robo Home | Changes | Preferences | AllPages

Difference (from prior minor revision) (major diff, author diff)

Changed: 8c8
* Until 0.945, Dooki's WaveSurfing surfed waves until they passed his rear edge, but my Wave detection was off by 1 tick (though they lined up visually in graphical debugging). An accidental but in a new bot-width calculation (in 0.93) ended up calculating the bot width as almost 0 a lot of the time, which, I think, roughly compensated for the waves being off by 1 tick, and the rating went up. In the end, I fixed the off-by-1, fixed the bot-width calculation, and made the movement surf a wave until it was passed the center instead of the rear edge.
* Until 0.945, Dooki's WaveSurfing surfed waves until they passed his rear edge, but my Wave detection was off by 1 tick (though they lined up visually in graphical debugging). A bug in a new bot-width calculation (in 0.93) ended up calculating the bot width as almost 0 a lot of the time, which, I think, roughly compensated for the waves being off by 1 tick, and the rating went up. In the end, I fixed the off-by-1, fixed the bot-width calculation, and made the movement surf a wave until it was passed the center instead of the rear edge.

Robot code that does not behave as intended, but when fixed results in inferior performance. Share your examples!


Quote from the Shadow page: Thanks, but I had to revert almost everything to 3.66 level. I found a huge bug in my recent attempt at "dynamic dimension weighting" that wasn't working as expected. Turns out that correcting that bug costs me at least 30 ranking points... talk about PerformanceEnhancingBugs?! -- ABC

Two examples from Dookious (both before the full rewrite):

-- Voidious


Robo Home | Changes | Preferences | AllPages
Edit text of this page | View other revisions
Last edited May 18, 2007 23:21 EST by Voidious (diff)
Search: