code: def test_minmaxscaler(s, target, observed, expected_scale):
      target_scaled, scale = s(target, observed)
  
      assert np.allclose(
          expected_scale.asnumpy(), scale.asnumpy()
      ), "mismatch in the scale computation"
  
imports: import mxnet
  import numpy
  import pytest
  from gluonts.mx.block import scaler
label_desc: Use image node_id 3 for calling a global function with example usage: test_minmaxscaler(s, target, observed, expected_scale) without return types