James McCool commited on
Commit
a513d03
·
1 Parent(s): 39c94db

Adjust VORP index calculations in Streamlit app to refine multipliers for RB, WR, and TE positions, enhancing accuracy in player ranking adjustments.

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +3 -3
src/streamlit_app.py CHANGED
@@ -301,9 +301,9 @@ def designate_base_position_reqs() -> dict:
301
  te_base = 1 * 12
302
 
303
  qb_rv_index = math.ceil(qb_base * 2)
304
- rb_rv_index = math.ceil((rb_base + ((12 * 1) * .75)) * 2)
305
- wr_rv_index = math.ceil((wr_base + ((12 * 1) * .75)) * 2)
306
- te_rv_index = math.ceil((te_base + ((12 * 1) * .5)) * 2)
307
 
308
  print(f"Need {qb_rv_index} for QB in {12} teams with type {league_settings['TYPE']}")
309
  print(f"Need {rb_rv_index} for RB in {12} teams with type {league_settings['TYPE']}")
 
301
  te_base = 1 * 12
302
 
303
  qb_rv_index = math.ceil(qb_base * 2)
304
+ rb_rv_index = math.ceil((rb_base + ((12 * 1) * .40)) * 2)
305
+ wr_rv_index = math.ceil((wr_base + ((12 * 1) * .55)) * 2)
306
+ te_rv_index = math.ceil((te_base + ((12 * 1) * .05)) * 2)
307
 
308
  print(f"Need {qb_rv_index} for QB in {12} teams with type {league_settings['TYPE']}")
309
  print(f"Need {rb_rv_index} for RB in {12} teams with type {league_settings['TYPE']}")