code: def test_EmpiricalBayesThompsonSamplerValidation(self) -> None:
      generator = EmpiricalBayesThompsonSampler(min_weight=0.01)
      with self.assertRaises(ValueError):
          generator.fit(
              Xs=[
                  [[1, 1], [2, 2], [3, 3], [4, 4]],
                  [[1, 1], [2, 2], [4, 4]],
              ],
              # pyre-fixme[6]: For 2nd param expected `List[List[float]]` but got
              #  `List[List[int]]`.
              Ys=self.Ys,
              # pyre-fixme[6]: For 3rd param expected `List[List[float]]` but got
              #  `List[List[int]]`.
              Yvars=self.Yvars,
              # pyre-fixme[6]: For 4th param expected `List[List[Union[None, bool,
              #  float, int, str]]]` but got `List[List[int]]`.
              parameter_values=self.parameter_values,
              outcome_names=self.outcome_names,
          )
  
file_path: Ax/ax/models/tests/test_eb_thompson.py
imports: from unittest.mock import patch
  import numpy
  from ax.models.discrete.eb_thompson import EmpiricalBayesThompsonSampler
  from ax.utils.common.testutils import TestCase
label_desc: Use image node_id 5 for calling the EmpiricalBayesThompsonSamplerTest obj's underlying member method code with example usage: obj.test_EmpiricalBayesThompsonSamplerValidation() without return types