Spaces:
Sleeping
Sleeping
Update annotation_questions.py
Browse files- annotation_questions.py +81 -50
annotation_questions.py
CHANGED
|
@@ -57,6 +57,27 @@ accuracy_contributor_labels = [
|
|
| 57 |
"Emotional expressiveness"
|
| 58 |
]
|
| 59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
consent_text = '''
|
| 61 |
## Consent Form
|
| 62 |
You will be asked to take part in a research study. Before you decide to take part in this study, it is important that you understand why the study is being done and what it involves. Please read the following information carefully.
|
|
@@ -133,74 +154,84 @@ fields0: List[Field] = [
|
|
| 133 |
]),
|
| 134 |
Field(type="container", title="##### Conversational Style", children=[
|
| 135 |
Field(name="conciseness", type="likert_radio",
|
| 136 |
-
title="Are the patient's responses concise?
|
| 137 |
# Field(name="symptom_desc1", type="text", title="If so, which symptoms?", mandatory=False),
|
| 138 |
Field(name="colloquial", type="likert_radio",
|
| 139 |
-
title="Does the patient use the colloquial speach?
|
| 140 |
other_params={"labels": degree_labels}, mandatory=True),
|
| 141 |
Field(name="detailedness", type="likert_radio",
|
| 142 |
-
title="Does the patient describe specific details to help the therapist understand the situation better?
|
| 143 |
other_params={"labels": degree_labels}, mandatory=True),
|
| 144 |
Field(name="self-awareness", type="likert_radio",
|
| 145 |
-
title="Does the patient show
|
| 146 |
other_params={"labels": degree_labels}, mandatory=True),
|
| 147 |
|
| 148 |
]),
|
| 149 |
Field(type="container", title="##### Behavioral & Pragmatic Properties", children=[
|
|
|
|
|
|
|
|
|
|
| 150 |
Field(name="openness", type="likert_radio",
|
| 151 |
-
title="
|
| 152 |
-
other_params={"labels": degree_labels}, mandatory=True),
|
| 153 |
-
Field(name="sarcasm", type="likert_radio",
|
| 154 |
-
title="Does the patient use sarcasm in their responses to the therapist? To what degree?",
|
| 155 |
-
other_params={"labels": degree_labels}, mandatory=True),
|
| 156 |
-
Field(name="agression", type="likert_radio",
|
| 157 |
-
title="Does the patient express verbal aggression (e.g., hostile tone, blaming, threatening language)? To what degree?",
|
| 158 |
other_params={"labels": degree_labels}, mandatory=True),
|
| 159 |
-
Field(name="
|
| 160 |
-
title="Does the patient
|
| 161 |
other_params={"labels": degree_labels}, mandatory=True),
|
| 162 |
-
Field(name="
|
| 163 |
-
title="Does the patient
|
| 164 |
other_params={"labels": degree_labels}, mandatory=True),
|
| 165 |
-
Field(name="aviodant", type="likert_radio",
|
| 166 |
-
|
|
|
|
|
|
|
|
|
|
| 167 |
other_params={"labels": degree_labels}, mandatory=True),
|
| 168 |
-
Field(name="
|
| 169 |
-
title="Does the patient show any signs of mistrust
|
| 170 |
other_params={"labels": degree_labels}, mandatory=True),
|
| 171 |
Field(name="solution-oriented", type="likert_radio",
|
| 172 |
-
title="Is the patient more focused on seeking out solutions rather than just sharing thoughts and feelings?
|
| 173 |
other_params={"labels": degree_labels}, mandatory=True),
|
| 174 |
-
Field(
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
Field(name="
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
Field(name="
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
|
| 203 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 204 |
]),
|
| 205 |
|
| 206 |
|
|
|
|
| 57 |
"Emotional expressiveness"
|
| 58 |
]
|
| 59 |
|
| 60 |
+
tone_behavior_labels = [
|
| 61 |
+
"",
|
| 62 |
+
"Sarcastic",
|
| 63 |
+
"Aggressive",
|
| 64 |
+
"Humorous/Comedic",
|
| 65 |
+
"Empathetic",
|
| 66 |
+
"Controlling",
|
| 67 |
+
"Defiant",
|
| 68 |
+
"Defensive",
|
| 69 |
+
"Self-critical",
|
| 70 |
+
"Accusatory",
|
| 71 |
+
"Insightful",
|
| 72 |
+
"Expressive",
|
| 73 |
+
"Hesitant",
|
| 74 |
+
"Depressive",
|
| 75 |
+
"Emotional",
|
| 76 |
+
"Excited",
|
| 77 |
+
"Sensitive",
|
| 78 |
+
"Other (please specify)"
|
| 79 |
+
]
|
| 80 |
+
|
| 81 |
consent_text = '''
|
| 82 |
## Consent Form
|
| 83 |
You will be asked to take part in a research study. Before you decide to take part in this study, it is important that you understand why the study is being done and what it involves. Please read the following information carefully.
|
|
|
|
| 154 |
]),
|
| 155 |
Field(type="container", title="##### Conversational Style", children=[
|
| 156 |
Field(name="conciseness", type="likert_radio",
|
| 157 |
+
title="Are the patient's responses concise?", other_params={"labels": degree_labels}, mandatory=True),
|
| 158 |
# Field(name="symptom_desc1", type="text", title="If so, which symptoms?", mandatory=False),
|
| 159 |
Field(name="colloquial", type="likert_radio",
|
| 160 |
+
title="Does the patient use the colloquial speach?",
|
| 161 |
other_params={"labels": degree_labels}, mandatory=True),
|
| 162 |
Field(name="detailedness", type="likert_radio",
|
| 163 |
+
title="Does the patient describe specific details to help the therapist understand the situation better?",
|
| 164 |
other_params={"labels": degree_labels}, mandatory=True),
|
| 165 |
Field(name="self-awareness", type="likert_radio",
|
| 166 |
+
title="Does the patient show self-awareness and expresses thoughts in an organized manner?",
|
| 167 |
other_params={"labels": degree_labels}, mandatory=True),
|
| 168 |
|
| 169 |
]),
|
| 170 |
Field(type="container", title="##### Behavioral & Pragmatic Properties", children=[
|
| 171 |
+
Field(type="markdown", title="", mandatory=False, other_params={"instruction_content": True,
|
| 172 |
+
"content": "**Level of Engagement**"
|
| 173 |
+
},),
|
| 174 |
Field(name="openness", type="likert_radio",
|
| 175 |
+
title="Is the patient **open** with the therapist with respect to their state or concerns?",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 176 |
other_params={"labels": degree_labels}, mandatory=True),
|
| 177 |
+
Field(name="engaged", type="likert_radio",
|
| 178 |
+
title="Does the patient appear **willing to engage** in the therapeutic process and work on their concerns?",
|
| 179 |
other_params={"labels": degree_labels}, mandatory=True),
|
| 180 |
+
Field(name="responsive", type="likert_radio",
|
| 181 |
+
title="Does the patient **directly address** the therapist’s questions, comments, or interventions in a relevant way?",
|
| 182 |
other_params={"labels": degree_labels}, mandatory=True),
|
| 183 |
+
#Field(name="aviodant", type="likert_radio",
|
| 184 |
+
# title="Does the patient avoid discussing certain topics, emotions, or questions?",
|
| 185 |
+
# other_params={"labels": degree_labels}, mandatory=True),
|
| 186 |
+
Field(name="distracted", type="likert_radio",
|
| 187 |
+
title="Does the patient seem **distracted**, lose track of the conversation, or struggle to stay focused?",
|
| 188 |
other_params={"labels": degree_labels}, mandatory=True),
|
| 189 |
+
Field(name="trust", type="likert_radio",
|
| 190 |
+
title="Does the patient show any signs of **mistrust** towards the therapist or seeking help?",
|
| 191 |
other_params={"labels": degree_labels}, mandatory=True),
|
| 192 |
Field(name="solution-oriented", type="likert_radio",
|
| 193 |
+
title="Is the patient more focused on **seeking out solutions** rather than just sharing thoughts and feelings?",
|
| 194 |
other_params={"labels": degree_labels}, mandatory=True),
|
| 195 |
+
Field(type="markdown", title="", mandatory=False, other_params={"instruction_content": True,
|
| 196 |
+
"content": "\n \n **Patient's Tone in the Interaction**"
|
| 197 |
+
},),
|
| 198 |
+
Field(name="tone_properties", type="multiselect",
|
| 199 |
+
title="How would you characterize the patient's tone throughout the interaction? *(Multiple selection possible)*",
|
| 200 |
+
other_params={'choices': tone_behavior_labels}, mandatory=True, following_mandatory_values=['Other (please specify)']),
|
| 201 |
+
Field(name="tone_properties_other", type="text", title="*If Other, please specify:*", mandatory=False),
|
| 202 |
+
#Field(name="sarcasm", type="likert_radio",
|
| 203 |
+
# title="Does the patient use sarcasm in their responses to the therapist?",
|
| 204 |
+
# other_params={"labels": degree_labels}, mandatory=True),
|
| 205 |
+
#Field(name="agression", type="likert_radio",
|
| 206 |
+
# title="Does the patient express verbal aggression (e.g., hostile tone, blaming, threatening language)?",
|
| 207 |
+
# other_params={"labels": degree_labels}, mandatory=True),
|
| 208 |
+
#Field(name="humor", type="likert_radio",
|
| 209 |
+
# title="Does the patient use humor, jokes, or lighthearted comments (not sarcasm) to communicate or cope?",
|
| 210 |
+
# other_params={"labels": degree_labels}, mandatory=True),
|
| 211 |
+
#Field(name="empathetic", type="likert_radio",
|
| 212 |
+
# title="Does the patient show understanding, concern, or emotional attunement—either toward the therapist or others mentioned in the session?",
|
| 213 |
+
# other_params={"labels": degree_labels}, mandatory=True),
|
| 214 |
+
#Field(name="controlling", type="likert_radio",
|
| 215 |
+
# title="Does the patient attempt to control the direction, pace, or content of the session (e.g., interrupting, redirecting, dismissing the therapist’s input)?",
|
| 216 |
+
# other_params={"labels": degree_labels}, mandatory=True),
|
| 217 |
+
#Field(name="defiant", type="likert_radio",
|
| 218 |
+
# title="Does the patient openly resist, challenge, or reject the therapist’s suggestions, interpretations, or authority?",
|
| 219 |
+
# other_params={"labels": degree_labels}, mandatory=True),
|
| 220 |
+
#Field(name="defensive", type="likert_radio",
|
| 221 |
+
# title="Does the patient react protectively or justify themselves when faced with feedback, interpretations, or questions about their behavior?",
|
| 222 |
+
# other_params={"labels": degree_labels}, mandatory=True),
|
| 223 |
+
#Field(name="self-critical", type="likert_radio",
|
| 224 |
+
# title="Does the patient make negative or harsh judgments about themselves (e.g., “I’m worthless,” “It’s all my fault”)?",
|
| 225 |
+
# other_params={"labels": degree_labels}, mandatory=True),
|
| 226 |
+
#Field(name="blaming", type="likert_radio",
|
| 227 |
+
# title="Does the patient attribute their problems or emotions to other people or external circumstances?",
|
| 228 |
+
# other_params={"labels": degree_labels}, mandatory=True),
|
| 229 |
+
#Field(name="insightful", type="likert_radio",
|
| 230 |
+
# title="Does the patient demonstrate awareness of their own patterns, motivations, or emotions?",
|
| 231 |
+
# other_params={"labels": degree_labels}, mandatory=True),
|
| 232 |
+
#Field(name="expressive", type="likert_radio",
|
| 233 |
+
# title="Does the patient openly convey emotions?",
|
| 234 |
+
# other_params={"labels": degree_labels}, mandatory=True),
|
| 235 |
]),
|
| 236 |
|
| 237 |
|