Skip to content

Commit

Permalink
Merge pull request #724 from praekeltfoundation/add-endline-rerun-que…
Browse files Browse the repository at this point in the history
…stions

Add new endline survey questions
  • Loading branch information
erikh360 authored Dec 14, 2023
2 parents 9181a3a + 9d0b9a4 commit 770dbf9
Show file tree
Hide file tree
Showing 6 changed files with 237 additions and 29 deletions.
1 change: 1 addition & 0 deletions yal/endline_terms_and_conditions.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ async def state_monthly_household_income_endline(self):
Choice("R51201_R102 400", self._("R51 201 - R102 400")),
Choice("R102401_R204 800", self._("R102 401 - R204 800")),
Choice("R204801_or_more", self._("R204 801 or more")),
Choice("not_say", self._("Rather not say")),
Choice("skip_question", self._("Skip question")),
]

Expand Down
189 changes: 182 additions & 7 deletions yal/question_sets/endline/platform_review_endline.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,15 @@
"type": "list",
"text": "\n".join(
[
"*Did you know BWise is on Facebook and, if so, "
"have you ever visited?*",
"*Did you know BWise is on Facebook and, if so, have you ever "
"visited their page?*",
]
),
"options": [
("yes_weekly", "Yes, every week"),
("yes_monthly", "Yes, every month"),
("yes_no_much", "Yes, not that much"),
("yes_never_user", "Yes, never used it"),
("no", "No, didn't know that"),
("dont_understand", "I don't understand"),
("skip_question", "Skip question"),
Expand Down Expand Up @@ -107,8 +108,8 @@
"type": "list",
"text": "\n".join(
[
"*Since joining BWise, have you ever felt like you needed "
"to see a medical service about your mental or sexual health?*",
"*Since joining BWise, have you ever felt like you needed to "
"visit a health facility about your mental or sexual health?*",
]
),
"options": [
Expand All @@ -117,6 +118,105 @@
("dont_understand", "I don't understand"),
("skip_question", "Skip question"),
],
"next": {
"yes": "endline_12_q6a_platform_review",
"no": "endline_12_q6e_platform_review",
"dont_understand": "endline_12_q6e_platform_review",
"skip_question": "endline_12_q6e_platform_review",
},
},
"endline_12_q6a_platform_review": {
"type": "list",
"text": "\n".join(
[
"*How many times have you visited a clinic or other health "
"facility for your sexual health since joining BWise? (We "
"know it may be hard to remember, we'd appreciate your best "
"guess)*"
]
),
"options": [
("none", "None"),
("1", "1 time"),
("2", "2 times"),
("3", "3 times"),
("4", "4 times"),
("5", "5 times"),
("6", "6 times"),
("7", "7 times"),
("8_or_more", "8 or more"),
("skip_question", "Skip question"),
],
"next": {
"none": "endline_12_q6c_platform_review",
"1": "endline_12_q6d_platform_review",
"2": "endline_12_q6d_platform_review",
"3": "endline_12_q6d_platform_review",
"4": "endline_12_q6d_platform_review",
"5": "endline_12_q6d_platform_review",
"6": "endline_12_q6d_platform_review",
"7": "endline_12_q6d_platform_review",
"8_or_more": "endline_12_q6d_platform_review",
"skip_question": "endline_12_q6e_platform_review",
},
},
"endline_12_q6c_platform_review": {
"type": "list",
"text": "\n".join(
[
"*Was there a reason you didn’t go to the clinic or other "
"health facility?*"
]
),
"options": [
("where", "Didn't know where"),
("time", "Didn't have time"),
("money", "Didn't have money "),
("judgement", "Fear of judgement"),
("bad_service", "Fear of bad service"),
("elsewhere", "Got help elsewhere"),
("no_need", "No longer needed"),
("dont_understand", "I don't understand"),
("skip_question", "Skip question"),
],
"next": "endline_12_q6e_platform_review",
},
"endline_12_q6d_platform_review": {
"type": "list",
"text": "\n".join(
[
"*When you visited the clinic or other health facility, what "
"was the outcome? (If you had different experiences, please "
"pick the response that was true most of the time).*"
]
),
"options": [
("treated", "Helped, got treated"),
("no_result", "Helped, no result"),
("not_seen", "Visited, not seen"),
("dont_understand", "I don't understand "),
("skip_question", "Skip question"),
],
"next": "endline_12_q6e_platform_review",
},
"endline_12_q6e_platform_review": {
"type": "list",
"text": "\n".join(
[
"*Do you think that your time on BWise has changed how likely "
"you are to visit a clinic or health facility for your sexual "
"and mental health?*"
]
),
"options": [
("a_lot", "A lot more likely"),
("little_more", "Little more likely"),
("no_change", "No change"),
("little_less", "Little less likely"),
("lot_less", "A lot less likely"),
("dont_understand", "I don't understand"),
("skip_question", "Skip question"),
],
"next": "endline_12_q7_platform_review",
},
"endline_12_q7_platform_review": {
Expand Down Expand Up @@ -175,9 +275,8 @@
"type": "list",
"text": "\n".join(
[
"*Did you know you can request a callback from a "
"LoveLife counsellor "
"through the B-Wise WhatsApp chatbot?*"
"*Did you know you can request a callback from a LoveLife "
"counsellor through the BWise WhatsApp chatbot?*"
]
),
"options": [
Expand All @@ -188,8 +287,84 @@
("dont_understand", "I don't understand"),
("skip_question", "Skip question"),
],
"next": "endline_12_q10b_platform_review",
},
"endline_12_q10b_platform_review": {
"type": "list",
"text": "\n".join(
[
"*Other than using LoveLife, have you visited another mental "
"or sexual health counselor (since joining BWise) and if so, "
"how many times? (We know it may be hard to remember, we'd "
"appreciate your best guess)*"
]
),
"options": [
("none", "None"),
("1", "1 time"),
("2", "2 times"),
("3", "3 times"),
("4", "4 times"),
("5", "5 times"),
("6_or_more", "6 or more"),
("none_but_needed", "None but needed to"),
("dont_understand", "I don't understand"),
("skip_question", "Skip question"),
],
"next": {
"none": "endline_12_q10c_platform_review",
"1": "endline_12_q10c_platform_review",
"2": "endline_12_q10c_platform_review",
"3": "endline_12_q10c_platform_review",
"4": "endline_12_q10c_platform_review",
"5": "endline_12_q10c_platform_review",
"6_or_more": "endline_12_q10c_platform_review",
"none_but_needed": "endline_12_q10d_platform_review",
"dont_understand": "endline_12_q10c_platform_review",
"skip_question": "endline_12_q10c_platform_review",
},
},
"endline_12_q10c_platform_review": {
"type": "list",
"text": "\n".join(
[
"*Do you think that your time on BWise has changed how likely "
"you are to speak to a counsellor about your mental or sexual "
"health?*"
]
),
"options": [
("a_lot", "A lot more likely"),
("little_more", "Little more likely"),
("no_change", "No change"),
("little_less", "Little less likely"),
("lot_less", "A lot less likely"),
("dont_understand", "I don't understand"),
("skip_question", "Skip question"),
],
"next": None,
},
"endline_12_q10d_platform_review": {
"type": "list",
"text": "\n".join(
[
"*What was the main reason you didn't speak to a counsellor "
"about your mental or sexual health?*"
]
),
"options": [
("where", "Didn't know where"),
("time", "Didn't have time"),
("money", "Didn't have money "),
("judgement", "Fear of judgement"),
("bad_service", "Fear of bad service"),
("elsewhere", "Got help elsewhere"),
("no_need", "No longer needed"),
("dont_understand", "I don't understand"),
("skip_question", "Skip question"),
],
"next": "endline_12_q10c_platform_review",
},
},
},
}
25 changes: 25 additions & 0 deletions yal/question_sets/endline/self_esteem_endline.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,31 @@
"dont_understand": 0,
"skip_question": 0,
},
"next": "endline_2_q10_self_esteem",
},
"endline_2_q10_self_esteem": {
"type": "list",
"text": "\n".join(
[
"*At times I think I am no good at all.*",
]
),
"options": [
("strongly_agree", "Strongly agree"),
("agree", "Agree"),
("disagree", "Disagree"),
("strongly_disagree", "Strongly disagree"),
("dont_understand", "I don't understand"),
("skip_question", "Skip question"),
],
"scoring": {
"strongly_agree": 0,
"agree": 1,
"disagree": 2,
"strongly_disagree": 3,
"dont_understand": 0,
"skip_question": 0,
},
"next": None,
},
},
Expand Down
8 changes: 5 additions & 3 deletions yal/question_sets/endline/sexual_consent_endline.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,14 @@
"type": "list",
"text": "\n".join(
[
"*Which of these has most influenced your attitudes "
"about sexual relationships and interactions?*",
"*Which of these has most influenced your attitudes about "
"sexual relationships and interactions?*",
]
),
"options": [
("social_media", "Web / social media"),
("bwise_facebook", "B-Wise / facebook "),
("bwise_whatsapp", "BWise WhatsApp"),
("bwise_facebook", "BWise facebook page"),
("friends_partner", "Friends / partner"),
("school_university", "School / university"),
("health_facility", "Health facility"),
Expand All @@ -99,6 +100,7 @@
"next": {
"other": "endline_10_q3B_sexual_consent",
"social_media": None,
"bwise_whatsapp": None,
"bwise_facebook": None,
"friends_partner": None,
"school_university": None,
Expand Down
32 changes: 18 additions & 14 deletions yal/question_sets/endline/sexual_health_literacy_endline.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,13 +346,14 @@
"type": "list",
"text": "\n".join(
[
"*Which of these has most influenced your knowledge "
"about using condoms?*",
"*Which of these has most influenced your knowledge about "
"using condoms?*",
]
),
"options": [
("social_media", "Web / social media"),
("bwise_facebook", "B-Wise / facebook "),
("bwise_whatsapp", "BWise WhatsApp"),
("bwise_facebook", "BWise facebook page"),
("friends_partner", "Friends / partner"),
("school_university", "School / university"),
("health_facility", "Health facility"),
Expand All @@ -363,6 +364,7 @@
"next": {
"other": "endline_8_q13B_sexual_health_lit",
"social_media": "endline_8_q14_sexual_health_lit",
"bwise_whatsapp": "endline_8_q14_sexual_health_lit",
"bwise_facebook": "endline_8_q14_sexual_health_lit",
"friends_partner": "endline_8_q14_sexual_health_lit",
"school_university": "endline_8_q14_sexual_health_lit",
Expand Down Expand Up @@ -400,17 +402,17 @@
"type": "list",
"text": "\n".join(
[
"*Do you now plan to use condoms more consistently "
"than you did 5 months ago?*",
"*Do you now plan to use condoms more consistently than you "
"did 5 months ago?*",
]
),
"options": [
("yes_lot_more", "Yes, a lot more"),
("yes_little_more", "Yes, a little more"),
("no", "No"),
("no", "No change"),
("no_little_less", "No, a little less"),
("no_lot_less", "No, a lot less"),
("dont_understand", "I dont understand"),
("dont_understand", "I don`t understand"),
("skip_question", "Skip question"),
],
"next": "endline_8_q16_sexual_health_lit",
Expand All @@ -419,17 +421,17 @@
"type": "list",
"text": "\n".join(
[
"*Do you now plan to go for STI or HIV tests more "
"often than you did 5 months ago?*",
"*Do you now plan to go for STI or HIV tests more often than "
"you did 5 months ago?*",
]
),
"options": [
("yes_lot_more", "Yes, a lot more"),
("yes_little_more", "Yes, a little more"),
("no", "No"),
("no", "No change"),
("no_little_less", "No, a little less"),
("no_lot_less", "No, a lot less"),
("dont_understand", "I dont understand"),
("dont_understand", "I don`t understand"),
("skip_question", "Skip question"),
],
"next": "endline_8_q17_sexual_health_lit",
Expand All @@ -438,13 +440,14 @@
"type": "list",
"text": "\n".join(
[
"*Which of these has most influenced your plans to "
"use condoms or test for STIs/HIV?*",
"*Which of these has most influenced your plans to use "
"condoms or test for STIs/HIV?*",
]
),
"options": [
("social_media", "Web / social media"),
("bwise_facebook", "B-Wise / facebook "),
("bwise_whatsapp", "BWise WhatsApp"),
("bwise_facebook", "BWise facebook page"),
("friends_partner", "Friends / partner"),
("school_university", "School / university"),
("health_facility", "Health facility"),
Expand All @@ -455,6 +458,7 @@
"next": {
"other": "endline_8_q17B_sexual_health_lit",
"social_media": None,
"bwise_whatsapp": None,
"bwise_facebook": None,
"friends_partner": None,
"school_university": None,
Expand Down
Loading

0 comments on commit 770dbf9

Please sign in to comment.