code: def test_trial_with_failed_split_should_only_average_successful_splits(
      self,
  ):
      self._given_success_trial_validation_split(
          self.trial, best_score=0.03
      )
      self._given_success_trial_validation_split(
          self.trial, best_score=0.01
      )
      self._given_failed_trial_split_that_continues_on_error(self.trial)
  
      validation_score = self.trial.get_avg_validation_score(
          SOME_OTHER_METRIC_NAME_MSE
      )
  
      assert validation_score == 0.02
  
imports: import copy
  import datetime
  import json
  from neuraxle.base import TrialStatus
  from neuraxle.hyperparams.space import HyperparameterSamples
  from neuraxle.logging.logging import LOGGING_DATETIME_STR_FORMAT
  from neuraxle.metaopt.context import AutoMLContext
  from neuraxle.metaopt.data.aggregates import MetricResults, Round, Trial, TrialSplit
  from neuraxle.metaopt.data.vanilla import ClientDataclass, MetricResultsDataclass, RoundDataclass, ScopedLocation, TrialDataclass, to_json
  from testing_neuraxle.metaopt.test_automl_dataclasses import SOME_FULL_SCOPED_LOCATION, SOME_ROOT_DATACLASS, SOME_TRIAL_DATACLASS
label_desc: Use image node_id 11 for calling the TestTrials obj's underlying member method code with example usage: obj.test_trial_with_failed_split_should_only_average_successful_splits() without return types