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

Implement "any_chip" argument #693

Open
nbarlowATI opened this issue Oct 4, 2024 · 0 comments
Open

Implement "any_chip" argument #693

nbarlowATI opened this issue Oct 4, 2024 · 0 comments
Labels
Hacktoberfest https://hacktoberfest.digitalocean.com/ help wanted Extra attention is needed

Comments

@nbarlowATI
Copy link
Member

As described in #692 , we sometimes have a situation where we know we want to play one of our chips, but it's not clear whether e.g. a triple_captain or a bench_boost would be more effective.
We can run with all chip gameweek arguments set to "0", but that will be a prohibitive number of possible combinations.
Instead, we can implement "--any_chip_week", and it will try all available chips for that gameweek.

The implementation would mostly be in airsenal/scripts/fill_transfersuggestion_table.py. The argument should be added to the argparse args. This main function also then creates a dict "chip_gameweeks", which is used in construct_chip_dict - I think that will be the key function to modify. Hopefully the resulting chip_gw_dict will be used both in the optimization itself and in the calculation of the number of expected outputs...

@nbarlowATI nbarlowATI added help wanted Extra attention is needed Hacktoberfest https://hacktoberfest.digitalocean.com/ labels Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest https://hacktoberfest.digitalocean.com/ help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant