-
Notifications
You must be signed in to change notification settings - Fork 271
SpitefulCC from [Mathieu2015] #1364
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
Conversation
Hi, thanks for the addition. One of the documentation tests is failing, you'll just need to bump the total number of strategies up by one:
|
Note to other reviewers: |
Hi, can you rebase this onto the latest master? That will fix the outstanding isort issues. If this repository (not your fork) is origin, just run the following commands while on your branch:
otherwise you'll need to add the root repository to your remotes.
and run the commands above with root in place of origin. Since we changed the how random seeding works in #1288, one of the existing tests fails:
The fix for that is to change line 641 of axelrod/tests/strategies/test_meta.py to |
Merge previous comits
…rategies and added coverage test in test_grudger.py
15edee6
to
0e50803
Compare
change line 641 of axelrod/tests/strategies/test_meta.py
there seems to be a problem with one of the doctests which shows the following: Failed example:
|
Ah, it's a bad test. @drvinceknight I recommend that we avoid these "change detector tests" for the Meta strategies in general, since it's a barrier to adding new strategies efficiently. Also I vote we go ahead and merge this PR, then open up a new one to fix this test and the the other one that tripped above. |
Sorry for only responding to this now! My bad. I've seen #1370 where you discuss this.
I'll go ahead and do that in the next hour or so :) |
This was failing on #1364 but the fix is trivial.
This was failing on #1364 but the fix is trivial.
* Added new SpitefulCC Player to grudger.py, updated the list of all strategies and added coverage test in test_grudger.py * changed 236 strategies to 237 in docs/index.rst * changed SpitefulCC classifier and added strategy description * changed description spitefulCC strategy * Fix doctest. This was failing on #1364 but the fix is trivial. * Correct expected actions for meta strategy. * Run black and isort. Co-authored-by: Laura Romero <romerocarrillol@outlook.com>
Added new SpitefulCC Player to grudger.py, updated the list of all strategies, and added coverage test in test_grudger.py.
I also run these files by black formatter as specified in the instructions.
Let me know if everything is in order