Spaces:
Runtime error
Runtime error
Added seoarate key for the question count as getting weird results in the counts
Browse files- pages/030_Test_Runner.py +2 -2
pages/030_Test_Runner.py
CHANGED
@@ -20,7 +20,7 @@ def display_custom_test():
|
|
20 |
selected_archs = st.multiselect(label="Architectures", options=[a.name for a in Architecture.architectures], key="custom_test_archs")
|
21 |
|
22 |
st.write("### Number of questions to ask:")
|
23 |
-
q_count = st.slider(label="Number of questions", min_value=1, max_value=TestGenerator.question_count(), step=1)
|
24 |
|
25 |
st.write("### Number of threads to use for testsing:")
|
26 |
thread_count = st.slider(label="Number of threads", min_value=1, max_value=64, step=1, value=16, key="custom_thread_slider")
|
@@ -69,7 +69,7 @@ def display_pricing_fact_test():
|
|
69 |
|
70 |
question_price_pairs = get_question_price_pairs()
|
71 |
st.write("### Number of questions to ask:")
|
72 |
-
q_count = st.slider(label="Number of questions", min_value=1, max_value=len(question_price_pairs), step=1)
|
73 |
|
74 |
st.write("### Number of threads to use for testsing:")
|
75 |
thread_count = st.slider(label="Number of threads", min_value=1, max_value=64, step=1, value=16, key="pricing_thread_slider")
|
|
|
20 |
selected_archs = st.multiselect(label="Architectures", options=[a.name for a in Architecture.architectures], key="custom_test_archs")
|
21 |
|
22 |
st.write("### Number of questions to ask:")
|
23 |
+
q_count = st.slider(label="Number of questions", min_value=1, max_value=TestGenerator.question_count(), step=1, key="custom_q_count")
|
24 |
|
25 |
st.write("### Number of threads to use for testsing:")
|
26 |
thread_count = st.slider(label="Number of threads", min_value=1, max_value=64, step=1, value=16, key="custom_thread_slider")
|
|
|
69 |
|
70 |
question_price_pairs = get_question_price_pairs()
|
71 |
st.write("### Number of questions to ask:")
|
72 |
+
q_count = st.slider(label="Number of questions", min_value=1, max_value=len(question_price_pairs), step=1, key="pricing_q_count")
|
73 |
|
74 |
st.write("### Number of threads to use for testsing:")
|
75 |
thread_count = st.slider(label="Number of threads", min_value=1, max_value=64, step=1, value=16, key="pricing_thread_slider")
|