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...
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. Thismain
function also then creates a dict "chip_gameweeks", which is used inconstruct_chip_dict
- I think that will be the key function to modify. Hopefully the resultingchip_gw_dict
will be used both in the optimization itself and in the calculation of the number of expected outputs...