We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The Tournament class takes a noise parameter but this is not passed to the corresponding match generator.
Here we see that the last parameter is 0 (it should be .5, the noise):
>>> players = [s() for s in axl.demo_strategies] >>> edges = [(i, i + 1) for i in range(len(players) - 1)] >>> tournament = axl.SpatialTournament(players=players, turns=5, edges=edges, noise=.5) >>> params = tournament.match_generator.build_single_match_params() >>> params (5, Axelrod game: (R,P,S,T) = (3, 1, 0, 5), None, 0)
Here is the corresponding code for a Round Robin:
>>> players = [s() for s in axl.demo_strategies] >>> tournament = axl.Tournament(players=players, turns=5, noise=.5) >>> params = tournament.match_generator.build_single_match_params() >>> params (5, Axelrod game: (R,P,S,T) = (3, 1, 0, 5), None, 0.5)
It should be a straight forward fix (just adding a test and making sure the argument is passed properly to the generator).
@Nikoleta-v3 would you like to fix this (I'm happy to if you're busy)?
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The Tournament class takes a noise parameter but this is not passed to the corresponding match generator.
Here we see that the last parameter is 0 (it should be .5, the noise):
Here is the corresponding code for a Round Robin:
It should be a straight forward fix (just adding a test and making sure the argument is passed properly to the generator).
@Nikoleta-v3 would you like to fix this (I'm happy to if you're busy)?
The text was updated successfully, but these errors were encountered: