BenBrostoff / draftfast

A tool to automate and optimize DraftKings and FanDuel lineup construction.
277 stars 113 forks source link

Not possible to promote FLEX in roster / no visual / no option in CSV uploader #206

Open BenBrostoff opened 8 months ago

BenBrostoff commented 8 months ago

Currently, the CSV uploaders assume the FLEX by just taking the leftover player from eligibile flex positions for NFL:

https://github.com/BenBrostoff/draftfast/blob/master/draftfast/csv_parse/upload.py#L31-L32

There may be scenarios where you want the FLEX to be able to be picked, and also see FLEX in the visual output:

image

Notice in the above there's no pointer to what position is FLEX, as there are multiple options.

Because there are many ways to form a valid lineup with NFL FLEX but all of them result in the same point totals given the same players, I'm fine with the defaults. That said, if you want to pick a FLEX, you should be able to, and the CSV uploaders should respect it.