James McCool
commited on
Commit
·
66b96f5
1
Parent(s):
99b9aa9
Update stratification sample range slider in app.py to allow a range input from 0.0 to 100.0, enhancing user control over sample selection.
Browse files
app.py
CHANGED
@@ -1312,7 +1312,7 @@ with tab2:
|
|
1312 |
with st.form(key='Stratification'):
|
1313 |
sorting_choice = st.selectbox("Stat Choice", options=['median', 'Own', 'Weighted Own', 'Geomean', 'Lineup Edge', 'Finish_percentile', 'Diversity'], index=0)
|
1314 |
lineup_target = st.number_input("Lineups to produce", value=150, min_value=1, step=1)
|
1315 |
-
strat_sample = st.slider("Sample range", value=0.0, min_value=0.0, max_value=
|
1316 |
submitted_col, export_col = st.columns(2)
|
1317 |
st.info("Portfolio Button applies to your overall Portfolio, Export button applies to your Custom Export")
|
1318 |
with submitted_col:
|
|
|
1312 |
with st.form(key='Stratification'):
|
1313 |
sorting_choice = st.selectbox("Stat Choice", options=['median', 'Own', 'Weighted Own', 'Geomean', 'Lineup Edge', 'Finish_percentile', 'Diversity'], index=0)
|
1314 |
lineup_target = st.number_input("Lineups to produce", value=150, min_value=1, step=1)
|
1315 |
+
strat_sample = st.slider("Sample range", value=[0.0, 100.0], min_value=0.0, max_value=100.0, step=0.05)
|
1316 |
submitted_col, export_col = st.columns(2)
|
1317 |
st.info("Portfolio Button applies to your overall Portfolio, Export button applies to your Custom Export")
|
1318 |
with submitted_col:
|