emvecchi commited on
Commit
d365f88
1 Parent(s): 2902f01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -0
app.py CHANGED
@@ -169,6 +169,18 @@ intro_fields: List[Field] = [
169
  ]),
170
  ]
171
 
 
 
 
 
 
 
 
 
 
 
 
 
172
  end_fields: List[Field] = [
173
  Field(type="container", title="**Thank you for taking part in this study!**", children=[
174
  Field(name="email", type="textarea", title="Enter an email address where we can send you the voucher. **Without this, we cannot compensate you for your contribution to our research.**"),
@@ -556,6 +568,11 @@ elif st.session_state.current_index < len(st.session_state.data):
556
  with st.form("data_form"+str(st.session_state.current_index)):
557
  show_fields(fields)
558
 
 
 
 
 
 
559
  else:
560
  st.write(f"Thank you for taking part in this study! [Click here]({redirect_url}) to complete the study or copy and paste this code back to finish the study: {study_code}")
561
 
 
169
  ]),
170
  ]
171
 
172
+ concluding_fields: List[Field] = [
173
+ Field(type="container", title="**Concluding Questions**", children=[
174
+ Field(name="conc_general_ease", type="likert_radio", title="Determining when an instance would indeed benefit from moderator intervention was straightforward (easy to annotate)."),
175
+ Field(name="conc_guess_mod_prediction", type="likert_radio", title="I had a pretty clear idea of which instances were predicted to need moderation by your tool, and which weren't."),
176
+ Field(name="conc_visual_useful", type="likert_radio", title="The visualization of properties was helpful in making my assessments."),
177
+ Field(name="conc_overall_usefullness", type="likert_radio", title="Having a tool that accurately predicts and flags comments needing moderation will significantly aid in my tasks."),
178
+ Field(name="conc_decision_making", type="textaread", title="Would a tool with accurate predictions assist you in making more informed moderation decisions? How so?"),
179
+ Field(name="conc_bottleneck", type="textarea", title="What do you feel is the largest bottleneck (or obstacle) you face in online discussion moderation?"),
180
+ Field(name="conc_needs", type="textarea", title="Beyond the goals of this research and annotation task, what assisstance do you feel computational tools (like AI) could provide to your task?"),
181
+ ]),
182
+ ]
183
+
184
  end_fields: List[Field] = [
185
  Field(type="container", title="**Thank you for taking part in this study!**", children=[
186
  Field(name="email", type="textarea", title="Enter an email address where we can send you the voucher. **Without this, we cannot compensate you for your contribution to our research.**"),
 
568
  with st.form("data_form"+str(st.session_state.current_index)):
569
  show_fields(fields)
570
 
571
+ elif st.session_state.current_index == len(st.session_state.data):
572
+ add_annotation_guidelines()
573
+ with st.form("intro_form"):
574
+ show_fields(concluding_fields)
575
+
576
  else:
577
  st.write(f"Thank you for taking part in this study! [Click here]({redirect_url}) to complete the study or copy and paste this code back to finish the study: {study_code}")
578