The class docstring for InfectionsWithFeedback writes the Rt adjustment as exp(-gamma * recent_infections), but compute_infections_from_rt_with_feedback implements and documents it as exp(gamma * recent_infections).
This changes the interpretation of infection_feedback_strength:
- negative gamma reduces effective Rt
- positive gamma increases effective Rt
The class docstring should match infection_functions.py and the implementation.
The class docstring for
InfectionsWithFeedbackwrites the Rt adjustment asexp(-gamma * recent_infections), butcompute_infections_from_rt_with_feedbackimplements and documents it asexp(gamma * recent_infections).This changes the interpretation of
infection_feedback_strength:The class docstring should match
infection_functions.pyand the implementation.