Skip to content

Comments

Albrja/mic-6791/Treatment observer bugfix#67

Merged
albrja merged 3 commits intomainfrom
treatment-obs-investigation
Feb 3, 2026
Merged

Albrja/mic-6791/Treatment observer bugfix#67
albrja merged 3 commits intomainfrom
treatment-obs-investigation

Conversation

@albrja
Copy link
Collaborator

@albrja albrja commented Feb 3, 2026

TAlbrja/mic-6791/Treatment observer bugfix

Correctly count simulants who do not receive treatment

Changes and notes

-fix bug in how simulants who did not receive treatment are being counted in the treatment observer

Verification and Testing


def on_time_step(self, event: Event) -> None:
def on_time_step_cleanup(self, event: Event) -> None:
"""Set treatment duration for simulants in waiting_for_treatment state.
Copy link
Contributor

Choose a reason for hiding this comment

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

ugh, sneaky

@albrja albrja merged commit 1bc8c51 into main Feb 3, 2026
3 checks passed
@albrja albrja deleted the treatment-obs-investigation branch February 3, 2026 22:08
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.

2 participants