Spaces:
Running
Running
Ashmi Banerjee
commited on
Commit
·
dd7da04
1
Parent(s):
2b2f0d1
added instructions
Browse files- views/intro_screen.py +1 -1
- views/questions_screen.py +31 -1
views/intro_screen.py
CHANGED
@@ -23,7 +23,7 @@ def welcome_screen():
|
|
23 |
st.markdown("""<style> .st-emotion-cache-1jicfl2 {width: 50%;} </style>""", unsafe_allow_html=True)
|
24 |
st.title("Welcome to the Feedback Survey")
|
25 |
|
26 |
-
username_input = st.text_input("Enter your first name and press TAB
|
27 |
validation_code_input = st.text_input("Enter the validation code to proceed and press ENTER:")
|
28 |
|
29 |
next_button = st.button("Next")
|
|
|
23 |
st.markdown("""<style> .st-emotion-cache-1jicfl2 {width: 50%;} </style>""", unsafe_allow_html=True)
|
24 |
st.title("Welcome to the Feedback Survey")
|
25 |
|
26 |
+
username_input = st.text_input("Enter your first name and press TAB. Usernames are case-sensitive.")
|
27 |
validation_code_input = st.text_input("Enter the validation code to proceed and press ENTER:")
|
28 |
|
29 |
next_button = st.button("Next")
|
views/questions_screen.py
CHANGED
@@ -223,7 +223,37 @@ def questions_screen(data):
|
|
223 |
st.progress(progress)
|
224 |
st.write(f"Question {current_index + 1} of {len(data)}")
|
225 |
# st.subheader(f"Config ID: {config['config_id']}")
|
226 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
227 |
# Context information
|
228 |
st.markdown("### Context Information")
|
229 |
with st.expander("Persona", expanded=True):
|
|
|
223 |
st.progress(progress)
|
224 |
st.write(f"Question {current_index + 1} of {len(data)}")
|
225 |
# st.subheader(f"Config ID: {config['config_id']}")
|
226 |
+
st.markdown("### Instructions")
|
227 |
+
with st.expander("Instructions", expanded=False):
|
228 |
+
st.markdown(
|
229 |
+
"""
|
230 |
+
|
231 |
+
"""
|
232 |
+
)
|
233 |
+
st.html('''<p style='font-size:large;'>You will be <mark>given a user profile and a travel-related query</mark>. Your task is to <mark>evaluate the generated queries (numbered 1-6)</mark> based on the following criteria:</p>
|
234 |
+
<p><strong><mark>Relevance</mark>:</strong> Evaluate how well the query aligns with the given cities, filters, and displayed context. Consider whether the query description matches the cities and context provided.
|
235 |
+
<br> Select one of the following options:
|
236 |
+
<ol style="padding-left:2rem;">
|
237 |
+
<li><b>Not Relevant</b> - The query has no connection to the cities, filters, or displayed context.</li>
|
238 |
+
<li><b>Somewhat Relevant</b> - The query is partially related but does not fully match the cities or context.</li>
|
239 |
+
<li><b>Relevant</b> - The query clearly aligns with the cities, filters, and displayed context.</li>
|
240 |
+
<li><b>Unclear</b> - The relevance of the query is difficult to determine based on the given information.</li>
|
241 |
+
</ol>
|
242 |
+
</p>
|
243 |
+
<p><strong><mark>Clarity Assessment</mark>:</strong> Evaluate how clear and understandable the query is. Consider whether it is grammatically correct and easy to interpret.
|
244 |
+
<br>Your options are:
|
245 |
+
<ol style="padding-left:2rem;">
|
246 |
+
<li><b>Not Clear</b> - The query is difficult to understand or contains significant grammatical errors.</li>
|
247 |
+
<li><b>Somewhat Clear</b> - The query is understandable but may have minor grammatical issues or slight ambiguity.</li>
|
248 |
+
<li><b>Very Clear</b> - The query is well-formed, grammatically correct, and easy to understand.</li>
|
249 |
+
</ol>
|
250 |
+
</p>
|
251 |
+
<p>
|
252 |
+
<strong><mark>Persona Alignment</mark>:</strong> How likely is the query to match the persona and reflect a question they would
|
253 |
+
ask about travel? <br>Your options are: <ol style='padding-left:2rem;'> <li><b>Not Aligned</b> - The user
|
254 |
+
is not likely at all to ask this query.</li> <li><b>Partially Aligned</b> - The user is quite likely to
|
255 |
+
ask this query.</li> <li><b>Aligned</b> - The user is very likely to ask this query. </li>
|
256 |
+
<li><b>Unclear</b> - It is unclear whether the user will ask this query.</li> </ol> </p>''')
|
257 |
# Context information
|
258 |
st.markdown("### Context Information")
|
259 |
with st.expander("Persona", expanded=True):
|