Spaces:
Running
Running
James McCool
commited on
Commit
·
2f68d5f
1
Parent(s):
a263223
Adjust custom QB value in Streamlit app to enhance position limiter functionality for Superflex format, ensuring accurate evaluations by halving the custom scoring value for QBs when more than one is allowed.
Browse files- src/streamlit_app.py +1 -0
src/streamlit_app.py
CHANGED
@@ -377,6 +377,7 @@ def assign_vorp_scoring(frame: pd.DataFrame, halfPpr_rv: dict, custom_rv: dict,
|
|
377 |
|
378 |
if league_settings['QB'] > 1:
|
379 |
pos_vorp_limiters['QB'] = 1
|
|
|
380 |
|
381 |
if league_settings['TE'] > 1:
|
382 |
pos_vorp_limiters['TE'] = 1
|
|
|
377 |
|
378 |
if league_settings['QB'] > 1:
|
379 |
pos_vorp_limiters['QB'] = 1
|
380 |
+
custom_rv['QB'] = custom_rv['QB'] / 2
|
381 |
|
382 |
if league_settings['TE'] > 1:
|
383 |
pos_vorp_limiters['TE'] = 1
|