code: def test_automl_step_can_interrupt_on_fail_with_full_automl_scenario(
      tmpdir,
  ):
      # This is a large test
      dact = DACT(di=list(range(10)), eo=list(range(10, 20)))
      cx = CX(root=tmpdir)
      assertion_step = AssertFalseStep()
      automl = _create_automl_test_loop(tmpdir, assertion_step)
  
      with pytest.raises(AssertionError):
          automl.handle_fit(dact, cx)
  
imports: import copy
  from collections import defaultdict
  from dataclasses import dataclass, field
  from typing import Any, Dict, List, Set, Tuple, Type
  import numpy
  import pytest
  from neuraxle.base import CX, BaseStep, HandleOnlyMixin, Identity, MetaStep, NonFittableMixin, TrialStatus
  from neuraxle.data_container import DataContainer
  from neuraxle.data_container import PredsDACT, TrainDACT
  from neuraxle.distributed.streaming import ParallelQueuedFeatureUnion
  from neuraxle.hyperparams.distributions import DiscreteHyperparameterDistribution, PriorityChoice, RandInt, Uniform
  from neuraxle.hyperparams.space import FlatDict, HyperparameterSamples, HyperparameterSpace
  from neuraxle.metaopt.auto_ml import ControlledAutoML, DefaultLoop, Trainer
  from neuraxle.metaopt.callbacks import MetricCallback
  from neuraxle.metaopt.context import AutoMLContext
  from neuraxle.metaopt.data.aggregates import Round
  from neuraxle.metaopt.data.reporting import RoundReport
  from neuraxle.metaopt.data.vanilla import BaseDataclass, RoundDataclass, ScopedLocation
  from neuraxle.metaopt.optimizer import GridExplorationSampler
  from neuraxle.metaopt.repositories.db import SQLLiteHyperparamsRepository
  from neuraxle.metaopt.repositories.json import HyperparamsOnDiskRepository
  from neuraxle.metaopt.repositories.repo import HyperparamsRepository, VanillaHyperparamsRepository
  from neuraxle.metaopt.validation import ValidationSplitter
  from neuraxle.pipeline import Pipeline
  from neuraxle.steps.data import DataShuffler
  from neuraxle.steps.flow import TrainOnlyWrapper
  from neuraxle.steps.misc import AssertFalseStep, Sleep
  from neuraxle.steps.numpy import AddN
  from sklearn.metrics import median_absolute_error
label_desc: Use image node_id 2 for calling a global function with example usage: test_automl_step_can_interrupt_on_fail_with_full_automl_scenario(tmpdir) without return types