Skip to content

Fix to HSI Event Queue following introduction of clinic eligibility attribute#1866

Open
marghe-molaro wants to merge 1 commit into
masterfrom
molaro/fix-clinic-bug-in-HSI-event-queue
Open

Fix to HSI Event Queue following introduction of clinic eligibility attribute#1866
marghe-molaro wants to merge 1 commit into
masterfrom
molaro/fix-clinic-bug-in-HSI-event-queue

Conversation

@marghe-molaro

@marghe-molaro marghe-molaro commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

Clinics PR introduced error in order of attributes of HSIEventQueueItem, ordering events by clinic types first. This meant that _get_events_due_today erroneously exited the HSI_EVENT_QUEUE at the first not-due event for the first clinic type encountered, missing all events due on the day for other clinic types. This PR fixes this, and additionally ensures clinic type is logged when logging HSI events ran in mode 1.
Notice that this bug should not have impacted master's default configuration, where only one clinic type is considered.

…c eligibility attribute. Add clinic info when logging HSI Events in mode 1
@marghe-molaro

Copy link
Copy Markdown
Collaborator Author

@tamuri, failing tests are passing locally, is there a way to resubmit them?

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.

1 participant