James McCool commited on
Commit
986a95b
·
1 Parent(s): ef40502

Update QB VORP index upper limit in Streamlit app from 36 to 48 to enhance player ranking accuracy across formats.

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -2
src/streamlit_app.py CHANGED
@@ -275,7 +275,7 @@ def designate_custom_position_reqs(league_settings: dict, flex_percentiles: dict
275
  wr_base = league_settings['WR'] * league_settings['TEAMS']
276
  te_base = league_settings['TE'] * league_settings['TEAMS']
277
 
278
- qb_rv_index = min(math.ceil((qb_base) * flex_multipliers['QB']), 36)
279
  rb_rv_index = min(math.ceil((rb_base + ((league_settings['TEAMS'] * league_settings['FLEX']) * flex_percentiles['RB'])) * flex_multipliers['RB']), 60)
280
  wr_rv_index = min(math.ceil((wr_base + ((league_settings['TEAMS'] * league_settings['FLEX']) * flex_percentiles['WR'])) * flex_multipliers['WR']), 90)
281
  te_rv_index = min(math.ceil((te_base + ((league_settings['TEAMS'] * league_settings['FLEX']) * flex_percentiles['TE'])) * flex_multipliers['TE']), 30)
@@ -300,7 +300,7 @@ def designate_base_position_reqs() -> dict:
300
  wr_base = 3 * 12
301
  te_base = 1 * 12
302
 
303
- qb_rv_index = min(math.ceil(qb_base * 2), 36)
304
  rb_rv_index = min(math.ceil((rb_base + ((12 * 1) * .40)) * 2), 60)
305
  wr_rv_index = min(math.ceil((wr_base + ((12 * 1) * .55)) * 2), 90)
306
  te_rv_index = min(math.ceil((te_base + ((12 * 1) * .05)) * 2), 30)
 
275
  wr_base = league_settings['WR'] * league_settings['TEAMS']
276
  te_base = league_settings['TE'] * league_settings['TEAMS']
277
 
278
+ qb_rv_index = min(math.ceil((qb_base) * flex_multipliers['QB']), 48)
279
  rb_rv_index = min(math.ceil((rb_base + ((league_settings['TEAMS'] * league_settings['FLEX']) * flex_percentiles['RB'])) * flex_multipliers['RB']), 60)
280
  wr_rv_index = min(math.ceil((wr_base + ((league_settings['TEAMS'] * league_settings['FLEX']) * flex_percentiles['WR'])) * flex_multipliers['WR']), 90)
281
  te_rv_index = min(math.ceil((te_base + ((league_settings['TEAMS'] * league_settings['FLEX']) * flex_percentiles['TE'])) * flex_multipliers['TE']), 30)
 
300
  wr_base = 3 * 12
301
  te_base = 1 * 12
302
 
303
+ qb_rv_index = min(math.ceil(qb_base * 2), 48)
304
  rb_rv_index = min(math.ceil((rb_base + ((12 * 1) * .40)) * 2), 60)
305
  wr_rv_index = min(math.ceil((wr_base + ((12 * 1) * .55)) * 2), 90)
306
  te_rv_index = min(math.ceil((te_base + ((12 * 1) * .05)) * 2), 30)