code: def test_transition_choice_bin() -> None:
      choice = par.TransitionChoice([0, 1, 2, 3], ordered=False)
      for val in [1000, 1.10]:
          choice.set_standardized_data([val])
          # value should be mapped to the bin
          assert choice.get_standardized_data(
              reference=choice
          ) == pytest.approx(1.15035)
      values = set()
      for _ in range(20):
          choice.mutate()
          values.add(choice.get_standardized_data(reference=choice)[0])
      assert 1 < len(values) < 5, values
  
imports: import pickle
  import typing
  import pytest
  import numpy
  from nevergrad.common import errors
  from .None import parameter
label_desc: Use image node_id 21 for calling a global function with example usage: test_transition_choice_bin() without return types