Code VS Zombies - Optimization - Puzzle discussion

Is the code source for the game referee available somewhere?
I think I have an issue with floating points precision.

If you take a look at the following replay: Coding Games and Programming Challenges to Code Better you can see that, at turn 13, my AI says "13,457 178,300 1" meaning it found a move sequence achieving 178,300 points. It never finds anything better and thus executes the sequence until the end.

Despite this, it ends up scoring only 110k. This is quite difficult to debug and the “Horde” test case is the most obvious one.

This specific replay is using double but I’ve also tried with float and got the same kind of errors. (I’m using C++)

If anyone experienced the same kind of issue, I would be glad to know what I can do to try and fix it.

EDIT: I managed to solve my issue, it had nothing to do with floating-point precision, it was a typical human-made mistake!