def delete_eval_case(
      self, app_name: str, eval_set_id: str, eval_case_id: str
  ):
    """Deletes the given EvalCase identified by app_name, eval_set_id and eval_case_id.

    Raises:
      NotFoundError: If the eval set or the eval case to delete is not found.
    """
    # Find the eval case that needs to be deleted.
    eval_case_to_remove = self.get_eval_case(
        app_name, eval_set_id, eval_case_id
    )

    if eval_case_to_remove:
      logger.info(
          "EvalCase`%s` was found in the eval set. It will be removed"
          " permanently.",
          eval_case_id,
      )
      eval_set = self.get_eval_set(app_name, eval_set_id)
      eval_set.eval_cases.remove(eval_case_to_remove)
      eval_set_file_path = self._get_eval_set_file_path(app_name, eval_set_id)
      self._write_eval_set(eval_set_file_path, eval_set)
    else:
      raise NotFoundError(
          f"Eval Set `{eval_set_id}` or Eval id `{eval_case_id}` not found.",
      )
Deletes the given EvalCase identified by app_name, eval_set_id and eval_case_id.

    Raises:
      NotFoundError: If the eval set or the eval case to delete is not found.
    
src/google/adk/evaluation/local_eval_sets_manager.py