Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MarioAIBenchmarkTest fail due to conversion to intS #3

Closed
GoogleCodeExporter opened this issue Mar 19, 2015 · 3 comments
Closed

MarioAIBenchmarkTest fail due to conversion to intS #3

GoogleCodeExporter opened this issue Mar 19, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

A lot of test fail here due to having incorrect values for their final weighted 
fitnesses.

They are:
testForwardJumpingAgentFitnessWithDefaultCreatures
testReceptiveField_1x2
testReceptiveField_3x1
testReceptiveField_1x1
testForwardAgentFitnessWithDefaultCreatures
testForwardAgentFitnessWithDefaultCreaturesVisual

The problem seems to be that the expected fitnesses are floats but that due to 
distance being stored as an int (recently?) the value returned by the 
EvaluationInfo object is always an int and thus off by a fraction each time.

The solution here is probably to just update the unit tests.

Original issue reported on code.google.com by melin...@gmail.com on 26 Oct 2010 at 7:44

@GoogleCodeExporter
Copy link
Author

Original comment by Nikolay....@gmail.com on 26 Oct 2010 at 2:05

@GoogleCodeExporter
Copy link
Author

Thanks you for pushing this issue up! The problem was right in  fractional 
fitness.

Original comment by Nikolay....@gmail.com on 26 Oct 2010 at 4:12

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision r608.

Original comment by Nikolay....@gmail.com on 26 Oct 2010 at 4:13

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant