code: def test_instrumentation_set_standardized_data() -> None:
      tokens = [
          p.Choice(list(range(5))),
          p.Scalar(init=3).set_mutation(sigma=4),
      ]
      instru = p.Instrumentation(*tokens)
      values = (
          instru.spawn_child()
          .set_standardized_data([0, 200, 0, 0, 0, 2])
          .args
      )
      assert values == (1, 11)
      np.testing.assert_raises(
          ValueError,
          instru.spawn_child().set_standardized_data,
          [0, 0, 200, 0, 0, 0, 2, 3],
      )
  
file_path: nevergrad/nevergrad/parametrization/test_parameters_legacy.py
imports: import typing
  import numpy
  import pytest
  from .None import parameter
label_desc: Use image node_id 1 for calling a global function with example usage: test_instrumentation_set_standardized_data() without return types