def METHOD_NAME(self, opponent: Player) -> str:
    """
    Finds the my_state (the opponents last n moves +
    its previous proportion of playing C) as a hashable state
    """
    prob = "{:.1f}".format(opponent.cooperations)
    action_str = actions_to_str(opponent.history[-self.memory_length :])
    return action_str + prob