def get_daily_activity_proportions(
      self,
      player_name: str | None = None,
  ) -> ActivityFractionsType:
    """Return the daily activity fractions of player `player_name`."""
    with self._lock:
      if player_name is None:
        return copy.deepcopy(self._activities)
      else:
        return copy.deepcopy(self._activities[player_name])
Return the daily activity fractions of player `player_name`.
concordia/contrib/components/game_master/deprecated/daily_activities.py