From 06b13fecc885fa86ec422f2a6dc5834042cc16c9 Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Tue, 24 Oct 2023 14:57:52 +0200 Subject: [PATCH 1/3] endline additional questions --- .../endline/gender_attitude_endline.py | 4 +- .../endline/platform_review_endline.py | 9 ++--- .../endline/sexual_consent_endline.py | 5 +-- .../endline/sexual_health_literacy_endline.py | 39 ++++++++----------- yal/tests/surveys/test_endline.py | 4 +- 5 files changed, 26 insertions(+), 35 deletions(-) diff --git a/yal/question_sets/endline/gender_attitude_endline.py b/yal/question_sets/endline/gender_attitude_endline.py index 7c531849..ac0222e7 100644 --- a/yal/question_sets/endline/gender_attitude_endline.py +++ b/yal/question_sets/endline/gender_attitude_endline.py @@ -10,8 +10,8 @@ "type": "list", "text": "\n".join( [ - "**How do you feel about each of the following " - "statements?* *", + "*How do you feel about each of the following " + "statements?*", "", "There are times when a woman deserves to be beaten", ] diff --git a/yal/question_sets/endline/platform_review_endline.py b/yal/question_sets/endline/platform_review_endline.py index 68b1d912..62e1f7bd 100644 --- a/yal/question_sets/endline/platform_review_endline.py +++ b/yal/question_sets/endline/platform_review_endline.py @@ -89,9 +89,9 @@ "type": "list", "text": "\n".join( [ - "*Before joining B-Wise, how often did", - " you have discussions or interact with" - " content about sexual topics?*", + "*Before joining B-Wise, how often did " + "you have discussions or interact with " + "content about sexual topics?*", ] ), "options": [ @@ -108,8 +108,7 @@ "text": "\n".join( [ "*Since joining BWise, have you ever felt like you needed " - "to see a medical service about your mental " - "or sexual health?*", + "to see a medical service about your mental or sexual health?*", ] ), "options": [ diff --git a/yal/question_sets/endline/sexual_consent_endline.py b/yal/question_sets/endline/sexual_consent_endline.py index 56bdfda3..6d298374 100644 --- a/yal/question_sets/endline/sexual_consent_endline.py +++ b/yal/question_sets/endline/sexual_consent_endline.py @@ -83,9 +83,8 @@ "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": [ diff --git a/yal/question_sets/endline/sexual_health_literacy_endline.py b/yal/question_sets/endline/sexual_health_literacy_endline.py index 3027c7c8..eff26b69 100644 --- a/yal/question_sets/endline/sexual_health_literacy_endline.py +++ b/yal/question_sets/endline/sexual_health_literacy_endline.py @@ -326,10 +326,9 @@ "type": "list", "text": "\n".join( [ - "*Over the past 5 months, do you think", - " that your knowledge about the", - " importance of using condoms has", - "changed? *", + "*Over the past 5 months, do you think that your " + "knowledge about the importance of using condoms has " + "changed?*", ] ), "options": [ @@ -347,9 +346,8 @@ "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": [ @@ -377,8 +375,8 @@ "type": "text", "text": "\n".join( [ - "*Do you mind telling us what has most", - " influenced your knowledge of using" " condoms?*", + "*Do you mind telling us what has most influenced " + "your knowledge of usingcondoms?*", ] ), "next": "endline_8_q14_sexual_health_lit", @@ -387,8 +385,7 @@ "type": "list", "text": "\n".join( [ - "*Are you planning to have a child", - " within the next year?*", + "*Are you planning to have a child within the next year?*", ] ), "options": [ @@ -403,9 +400,8 @@ "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": [ @@ -423,9 +419,8 @@ "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": [ @@ -443,9 +438,8 @@ "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": [ @@ -473,9 +467,8 @@ "type": "text", "text": "\n".join( [ - "*Do you mind telling us what has", - " most influenced your plans to use", - " condoms or test for STIs/HIV? *", + "*Do you mind telling us what has most influenced " + "your plans to use condoms or test for STIs/HIV? *", ] ), "next": None, diff --git a/yal/tests/surveys/test_endline.py b/yal/tests/surveys/test_endline.py index 0acc019f..52f660d0 100644 --- a/yal/tests/surveys/test_endline.py +++ b/yal/tests/surveys/test_endline.py @@ -800,7 +800,7 @@ async def test_state_sexual_health_lit_assessment_endline_end(tester: AppTester) "◼️◽️◽️◽️", "-----", "", - "**How do you feel about each of the following statements?* *", + "*How do you feel about each of the following statements?*", "", "There are times when a woman deserves to be beaten", ] @@ -1220,7 +1220,7 @@ async def test_endline_flow(tester: AppTester, rapidpro_mock): "◼️◽️◽️◽️", "-----", "", - "**How do you feel about each of the following statements?* *", + "*How do you feel about each of the following statements?*", "", "There are times when a woman deserves to be beaten", ] From cc7c931322553f1cc99356d20b004f310b8bbd05 Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Tue, 24 Oct 2023 15:05:39 +0200 Subject: [PATCH 2/3] fix bold endline additional questions --- yal/question_sets/endline/gender_attitude_endline.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yal/question_sets/endline/gender_attitude_endline.py b/yal/question_sets/endline/gender_attitude_endline.py index ac0222e7..0d6cb5dd 100644 --- a/yal/question_sets/endline/gender_attitude_endline.py +++ b/yal/question_sets/endline/gender_attitude_endline.py @@ -10,8 +10,7 @@ "type": "list", "text": "\n".join( [ - "*How do you feel about each of the following " - "statements?*", + "*How do you feel about each of the following statements?*", "", "There are times when a woman deserves to be beaten", ] From e6bc0283a3c39f3a1123d0214edb60e22b79506f Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Tue, 24 Oct 2023 15:13:51 +0200 Subject: [PATCH 3/3] fix bold endline additional questions --- yal/question_sets/endline/sexual_health_literacy_endline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yal/question_sets/endline/sexual_health_literacy_endline.py b/yal/question_sets/endline/sexual_health_literacy_endline.py index eff26b69..7fb8a099 100644 --- a/yal/question_sets/endline/sexual_health_literacy_endline.py +++ b/yal/question_sets/endline/sexual_health_literacy_endline.py @@ -376,7 +376,7 @@ "text": "\n".join( [ "*Do you mind telling us what has most influenced " - "your knowledge of usingcondoms?*", + "your knowledge of using condoms?*", ] ), "next": "endline_8_q14_sexual_health_lit",