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

Wrong matchup parsing in distribution script #67

Open
ghost opened this issue May 31, 2021 · 0 comments
Open

Wrong matchup parsing in distribution script #67

ghost opened this issue May 31, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented May 31, 2021

In function parse_results_file() in simulate_strategy_distribution.py loop generating matchup_dict is incrementing index by one while taking two entries from results.txt resulting in assignment of incorrect values to scores.

The issue is obvious when simulating current meta with lots of alwaysDefect. Theres no way a strategy can get score of ~3 when majority of strategies always defect.

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

No branches or pull requests

0 participants