code: def test_missing_unequal_tag_inference():
      """Test that ClustererPipeline infers missing/unequal tags correctly."""
      c = TimeSeriesDBSCAN(FlatDist.create_test_instance())
      c1 = (
          ExponentTransformer()
          * PaddingTransformer()
          * ExponentTransformer()
          * c
      )
      c2 = ExponentTransformer() * ExponentTransformer() * c
      c3 = Imputer() * ExponentTransformer() * c
      c4 = ExponentTransformer() * Imputer() * c
  
      assert c1.get_tag("capability:unequal_length")
      assert not c2.get_tag("capability:unequal_length")
      assert c3.get_tag("capability:missing_values")
      assert not c4.get_tag("capability:missing_values")
  
file_path: sktime/sktime/clustering/compose/tests/test_pipeline.py
imports: from sklearn.preprocessing import StandardScaler
  from sktime.clustering.compose import ClustererPipeline
  from sktime.clustering.dbscan import TimeSeriesDBSCAN
  from sktime.dists_kernels import FlatDist
  from sktime.transformations.panel.padder import PaddingTransformer
  from sktime.transformations.series.exponent import ExponentTransformer
  from sktime.transformations.series.impute import Imputer
  from sktime.utils._testing.estimator_checks import _assert_array_almost_equal
  from sktime.utils._testing.panel import _make_panel_X
label_desc: Use image node_id 3 for calling a global function with example usage: test_missing_unequal_tag_inference() without return types