Skip to content

Commit

Permalink
DimaKudosh#430 fix for changes to FD Single Game (UTIL > AnyFLEX; MVP…
Browse files Browse the repository at this point in the history
… - 2X Points > MVP - 1.5X Points)
  • Loading branch information
EricHeidbreder committed Sep 15, 2024
1 parent 429db96 commit c6638dc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions pydfs_lineup_optimizer/lineup_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ class FanDuelCSVLineupExporter(CSVLineupExporter):
EXTRA_COLUMNS = ()
COLUMNS_MAPPING = {
'MVP': 'MVP - 2X Points',
'MVP - 1.5': 'MVP - 1.5X Points',
'STAR': 'STAR - 1.5X Points',
'PRO': 'PRO - 1.2X Points',
'CAPTAIN': 'Captain - 1.5x Pts',
Expand Down
10 changes: 5 additions & 5 deletions pydfs_lineup_optimizer/sites/fanduel/single_game/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ class FanDuelSingleGameFootballSettings(FanDuelSingleGameSettings):
sport = Sport.FOOTBALL
extra_rules = [FanduelSingleGameMaxQBRule]
positions = [
LineupPosition('MVP', ('MVP', )),
LineupPosition('UTIL', ('QB', 'WR', 'RB', 'TE', 'K')),
LineupPosition('UTIL', ('QB', 'WR', 'RB', 'TE', 'K')),
LineupPosition('UTIL', ('QB', 'WR', 'RB', 'TE', 'K')),
LineupPosition('UTIL', ('QB', 'WR', 'RB', 'TE', 'K')),
LineupPosition('MVP - 1.5', ('MVP', )),
LineupPosition('AnyFLEX', ('QB', 'WR', 'RB', 'TE', 'K')),
LineupPosition('AnyFLEX', ('QB', 'WR', 'RB', 'TE', 'K')),
LineupPosition('AnyFLEX', ('QB', 'WR', 'RB', 'TE', 'K')),
LineupPosition('AnyFLEX', ('QB', 'WR', 'RB', 'TE', 'K')),
]


Expand Down

0 comments on commit c6638dc

Please sign in to comment.