aigamedev/resistance — pull request #1 by idmillington (2012-08-15 11:30:04+00:00)
Title: Idm upstream bugfix

Just had a quick mess with the code and found these two little one-liners.

The first commit normalizes the encoding to utf-8, rather than utf8 (the former being the standard). Most tools accept either, but emacs barfs without the hyphen.

The second commit corrects a math error in calculating the final results. Hope both are simple changes.

If you have a glance at my fork I've also added statistical error to the results output, to get a sense of how volatile the results were. So I'm not optimizing under the level of statistical noise. That isn't in this pull request, however, but I'm happy to send you another one.