Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialise questionnaire forms one month in advance for ET #5420

Merged
merged 3 commits into from
May 20, 2024

Conversation

PriyangaPKini
Copy link
Contributor

Story card: sc-12507

Because

The screening forms appear only after a week in Ethiopia.
The ET reporting period for the 8th month is 7/21/2016 - 8/20/2016 in the ET calendar (in the Gregorian calendar, it's 30/03/2024 - 28/04/2024). They expect to see the 8th-month form by 8/20/2016. Since we initialise the current month form on the first of every month in the Gregorian Calendar, the form for the 8th month appears only on 8-23-2016 (01-05-2024 in the Gregorian Calendar). That's about a week after the start of the 8th month.

This addresses

So we have decided to initialise forms two months in advance once. After that, we would initialise the form every month in ET for the next month. Whereas in other countries, we will continue to initialise the previous month form every month.

@@ -4,7 +4,7 @@ namespace :questionnaires do
# Due to mismatch in Gregorian<>Ethiopian calendars,
# Dynamic forms initialization had a delay of 20+ days in Ethiopia.
# To avoid this delay, we initialize dynamic forms 1 month in advance in Ethiopia.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^ This comment needs to be updated to reflect the current situation.

From what I understand the main issue is:

  • The Ethiopian calendar is broken up differently than the Gregorian calendar and thus out of sync, thus we need to initialise responses in advance.
  • One month in advance is not sufficient, because Ethiopian months (ignoring Pagume) are 30 days, and Gregorian Months are usually 30 or 31 days, which creates a few days' delay between when the users expect the new form to initialise and when they actually initialise.
  • Thus, 2 months in advance safely covers up for all potential delays.

Is this right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One month in advance is not sufficient, because Ethiopian months (ignoring Pagume) are 30 days, and Gregorian Months are usually 30 or 31 days, which creates a few days' delay between when the users expect the new form to initialise and when they actually initialise.

Not exactly. The Ethiopian Calendar has 12 months of 30 days each, plus five or six additional days (sometimes known as the 13th month). More on ET time here.
Their reporting period for a month starts in a month and ends in another month. Whereas in Gregorian calendar, reporting period is starts and end in the same month.
The ET reporting period for the 8th month is 7/21/2016 - 8/20/2016. In ET we initialise current month form at the start of Gregorian calendar which is 8-23-2016. We will be initialising 8th month form on 8-23-2016 which is delayed by week. We thought we are be pre-initialising the forms in ET but in reality forms are created after the month with a weeks delay.

@PriyangaPKini PriyangaPKini merged commit 0b16a4f into master May 20, 2024
1 check passed
@PriyangaPKini PriyangaPKini deleted the ET-questionnaire-initialization branch May 20, 2024 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants