Spaces:
Sleeping
Sleeping
Update annotation_questions.py
#6
by
Varvara-Gumirova
- opened
- annotation_questions.py +43 -22
annotation_questions.py
CHANGED
|
@@ -30,31 +30,49 @@ default_labels = agreement_labels
|
|
| 30 |
|
| 31 |
accuracy_contributor_labels = [
|
| 32 |
"",
|
| 33 |
-
|
| 34 |
-
"
|
| 35 |
-
"Specific
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
"Concise communication",
|
| 37 |
"Use of colloquial speech",
|
| 38 |
-
"Detailed storytelling",
|
| 39 |
-
"
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
"
|
| 43 |
-
"
|
| 44 |
-
"
|
| 45 |
-
"Topic avoidance",
|
| 46 |
-
"Hesitation/mistrust",
|
| 47 |
-
"Solution-focused (not just venting)",
|
| 48 |
-
"Use of humor (non-sarcastic)",
|
| 49 |
-
"Shows empathy",
|
| 50 |
"Appears distracted",
|
| 51 |
-
"
|
| 52 |
-
"
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
"
|
| 56 |
-
"
|
| 57 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
"Other (please specify)"
|
| 59 |
]
|
| 60 |
|
|
@@ -146,6 +164,9 @@ fields0: List[Field] = [
|
|
| 146 |
},),
|
| 147 |
|
| 148 |
Field(type="container", title="##### Presentation of Patient's Psychological State", children=[
|
|
|
|
|
|
|
|
|
|
| 149 |
Field(name="symptom", type="y_n_radio",
|
| 150 |
title="Does the patient explicitly mention **symptoms** related to their psychological state?", other_params={'labels': yes_no_other_labels}, mandatory=True),
|
| 151 |
Field(name="symptom_desc", type="text", title="If so, which symptoms?", mandatory=False),
|
|
|
|
| 30 |
|
| 31 |
accuracy_contributor_labels = [
|
| 32 |
"",
|
| 33 |
+
# From "Psychological State"
|
| 34 |
+
"Explicit mental illness mentioned (e.g., depression)",
|
| 35 |
+
"Specific symptoms described (e.g., insomnia, low mood)",
|
| 36 |
+
"Clear psychological stressors discussed",
|
| 37 |
+
"Specific triggering event described (e.g., job loss, argument)",
|
| 38 |
+
|
| 39 |
+
# From "Conversational Style"
|
| 40 |
"Concise communication",
|
| 41 |
"Use of colloquial speech",
|
| 42 |
+
"Detailed storytelling (specific examples provided)",
|
| 43 |
+
"High self-awareness and organized thinking",
|
| 44 |
+
|
| 45 |
+
# From "Engagement"
|
| 46 |
+
"Openness about personal state or concerns",
|
| 47 |
+
"Willingness to engage in therapy",
|
| 48 |
+
"Responsive to therapist’s questions/interventions",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
"Appears distracted",
|
| 50 |
+
"Shows mistrust toward therapist or process",
|
| 51 |
+
"Appears solution-focused",
|
| 52 |
+
|
| 53 |
+
# From Tone Behavior
|
| 54 |
+
"Appears accusatory",
|
| 55 |
+
"Appears aggressive",
|
| 56 |
+
"Appears anxious",
|
| 57 |
+
"Appears ashamed",
|
| 58 |
+
"Appears controlling",
|
| 59 |
+
"Appears defensive",
|
| 60 |
+
"Appears defiant",
|
| 61 |
+
"Appears depressive",
|
| 62 |
+
"Appears disappointed",
|
| 63 |
+
"Appears empathetic",
|
| 64 |
+
"Appears excited",
|
| 65 |
+
"Appears expressive",
|
| 66 |
+
"Appears guilty",
|
| 67 |
+
"Appears hesitant",
|
| 68 |
+
"Appears humorous/comedic",
|
| 69 |
+
"Appears hurt",
|
| 70 |
+
"Appears insightful",
|
| 71 |
+
"Appears jealous",
|
| 72 |
+
"Appears sarcastic",
|
| 73 |
+
"Appears self-critical",
|
| 74 |
+
"Appears sensitive",
|
| 75 |
+
"Appears suspicious",
|
| 76 |
"Other (please specify)"
|
| 77 |
]
|
| 78 |
|
|
|
|
| 164 |
},),
|
| 165 |
|
| 166 |
Field(type="container", title="##### Presentation of Patient's Psychological State", children=[
|
| 167 |
+
Field(name="diagnosis", type="y_n_radio",
|
| 168 |
+
title="Does the patient explicitly mention a specific **mental illness** (e.g., depression)?", other_params={'labels': yes_no_other_labels}, mandatory=True),
|
| 169 |
+
Field(name="diagnosis_desc", type="text", title="If so, which illness?", mandatory=False),
|
| 170 |
Field(name="symptom", type="y_n_radio",
|
| 171 |
title="Does the patient explicitly mention **symptoms** related to their psychological state?", other_params={'labels': yes_no_other_labels}, mandatory=True),
|
| 172 |
Field(name="symptom_desc", type="text", title="If so, which symptoms?", mandatory=False),
|