Skip to content

InfectionsWithFeedback docstring has incorrect feedback sign #854

Description

@cdc-mitzimorris

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.

Metadata

Metadata

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions