James McCool commited on
Commit
4744b18
·
1 Parent(s): baf6e4b

Enhance ownership calculations in app.py for 'Small' contest size by adding references to 'Small_Field_Own' and 'small_CPT_Own'. This update improves accuracy in player ownership projections, ensuring consistency across contest sizes.

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -407,6 +407,8 @@ with tab1:
407
  contest_var1 = st.selectbox("What contest size are you simulating?", ('Small', 'Medium', 'Large', 'Custom'))
408
  if contest_var1 == 'Small':
409
  Contest_Size = 1000
 
 
410
  elif contest_var1 == 'Medium':
411
  Contest_Size = 5000
412
  elif contest_var1 == 'Large':
 
407
  contest_var1 = st.selectbox("What contest size are you simulating?", ('Small', 'Medium', 'Large', 'Custom'))
408
  if contest_var1 == 'Small':
409
  Contest_Size = 1000
410
+ raw_baselines['Own'] = raw_baselines['Small_Field_Own']
411
+ raw_baselines['CPT_Own'] = raw_baselines['small_CPT_Own']
412
  elif contest_var1 == 'Medium':
413
  Contest_Size = 5000
414
  elif contest_var1 == 'Large':