James McCool commited on
Commit
fec28b8
·
1 Parent(s): 2615945

Refactor app.py: Update sharp_split values based on contest field strength. Adjusted thresholds for contest strength categories to improve accuracy in contest simulations and data handling.

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -385,15 +385,15 @@ with tab1:
385
  Contest_Size = st.number_input("Insert contest size", value=100, min_value=100, max_value=100000, step=50)
386
  strength_var1 = st.selectbox("How sharp is the field in the contest?", ('Very', 'Above Average', 'Average', 'Below Average', 'Not Very'))
387
  if strength_var1 == 'Not Very':
388
- sharp_split = 500000
389
  elif strength_var1 == 'Below Average':
390
- sharp_split = 400000
391
  elif strength_var1 == 'Average':
392
- sharp_split = 300000
393
  elif strength_var1 == 'Above Average':
394
- sharp_split = 200000
395
  elif strength_var1 == 'Very':
396
- sharp_split = 100000
397
 
398
 
399
  with col2:
 
385
  Contest_Size = st.number_input("Insert contest size", value=100, min_value=100, max_value=100000, step=50)
386
  strength_var1 = st.selectbox("How sharp is the field in the contest?", ('Very', 'Above Average', 'Average', 'Below Average', 'Not Very'))
387
  if strength_var1 == 'Not Very':
388
+ sharp_split = 5000000
389
  elif strength_var1 == 'Below Average':
390
+ sharp_split = 2500000
391
  elif strength_var1 == 'Average':
392
+ sharp_split = 100000
393
  elif strength_var1 == 'Above Average':
394
+ sharp_split = 50000
395
  elif strength_var1 == 'Very':
396
+ sharp_split = 10000
397
 
398
 
399
  with col2: