RUFAS.routines.animal.types.preg_check_config module#

class RUFAS.routines.animal.types.preg_check_config.PregCheckConfig#

Bases: TypedDict

List of expected keys for preg check configuration dictionary, used in daily pregnancy check routine for HeiferII and Cow classes.

Attributes#

day (int): The number of days from the artificial insemination day when the pregnancy check should occur. loss_rate (float): The probability of pregnancy loss at this check. on_preg_loss (str): The event message to log if pregnancy loss occurs at this check. on_preg (str): The event message to log if the cow remains pregnant at this check. on_not_preg (str): The event message to log if the cow is not pregnant, due to a failed conception,

at the start of the first check.

day: int#
loss_rate: float#
on_preg_loss: str#
on_preg: str#
on_not_preg: str#