def step(state) -> int:
        ''' Predict the action given the current state.
            Defender Novice strategy:
                Case during make call:
                    Always choose PassAction.
                Case during play card:
                    Choose a random action.

        Args:
            state (numpy.array): an numpy array that represents the current state

        Returns:
            action_id (int): the action_id predicted
        '''
        legal_action_ids = state['raw_legal_actions']
        if ActionEvent.pass_action_id in legal_action_ids:
            selected_action_id = ActionEvent.pass_action_id
        else:
            selected_action_id = np.random.choice(legal_action_ids)
        return selected_action_id
 Predict the action given the current state.
            Defender Novice strategy:
                Case during make call:
                    Always choose PassAction.
                Case during play card:
                    Choose a random action.

        Args:
            state (numpy.array): an numpy array that represents the current state

        Returns:
            action_id (int): the action_id predicted
        
rlcard/models/bridge_rule_models.py