code: def test_compute_score_trace(self) -> None:
      soo_problem = get_soo_surrogate()
      score_trace = compute_score_trace(
          np.arange(10),
          num_baseline_trials=5,
          problem=soo_problem,
      )
      self.assertTrue(np.isfinite(score_trace).all())
  
      moo_problem = get_moo_surrogate()
  
      score_trace = compute_score_trace(
          np.arange(10), num_baseline_trials=5, problem=moo_problem
      )
      self.assertTrue(np.isfinite(score_trace).all())
  
file_path: Ax/ax/benchmark/tests/test_surrogate_problems.py
imports: import numpy
  from ax.benchmark.benchmark import compute_score_trace
  from ax.core.runner import Runner
  from ax.utils.common.testutils import TestCase
  from ax.utils.testing.benchmark_stubs import get_moo_surrogate, get_soo_surrogate
label_desc: Use image node_id 2 for calling the TestSurrogateProblems obj's underlying member method code with example usage: obj.test_compute_score_trace() without return types