James McCool commited on
Commit
41967a3
·
1 Parent(s): 4ec0f31

Update scoring type for TE Premium league settings in Streamlit app to 'ppr' for improved consistency in player evaluations.

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -2
src/streamlit_app.py CHANGED
@@ -339,7 +339,7 @@ def create_custom_rv(frame: pd.DataFrame, pos_reqs: dict, league_settings: dict)
339
  elif league_settings['TYPE'] == 'Superflex':
340
  rv_type = 'halfPpr'
341
  elif league_settings['TYPE'] == 'TE Premium':
342
- rv_type = 'halfPpr'
343
 
344
  rv_dict = {}
345
 
@@ -358,7 +358,7 @@ def assign_vorp_scoring(frame: pd.DataFrame, halfPpr_rv: dict, custom_rv: dict,
358
  elif league_settings['TYPE'] == 'Superflex':
359
  rv_type = 'halfPpr'
360
  elif league_settings['TYPE'] == 'TE Premium':
361
- rv_type = 'halfPpr'
362
 
363
  vorp_frame = pd.DataFrame()
364
  for positions in ['QB', 'RB', 'WR', 'TE']:
 
339
  elif league_settings['TYPE'] == 'Superflex':
340
  rv_type = 'halfPpr'
341
  elif league_settings['TYPE'] == 'TE Premium':
342
+ rv_type = 'ppr'
343
 
344
  rv_dict = {}
345
 
 
358
  elif league_settings['TYPE'] == 'Superflex':
359
  rv_type = 'halfPpr'
360
  elif league_settings['TYPE'] == 'TE Premium':
361
+ rv_type = 'ppr'
362
 
363
  vorp_frame = pd.DataFrame()
364
  for positions in ['QB', 'RB', 'WR', 'TE']: