code: def test_score_to_proba(self):
      manual_scores = np.array([[1, 2, 1], [1, 8, 1]])
      proba = score_to_proba(manual_scores)
      assert_allclose(
          proba, np.array([[0.25, 0.5, 0.25], [0.1, 0.8, 0.1]])
      )
  
imports: import os
  import sys
  import unittest
  from numpy.testing import assert_allclose
  from numpy.testing import assert_equal
  from numpy.testing import assert_raises
  from sklearn.metrics import precision_score
  from sklearn.utils import check_random_state
  import numpy
  from utils.utility import standardizer
  from utils.utility import get_label_n
  from utils.utility import precision_n_scores
  from utils.utility import argmaxn
  from utils.utility import invert_order
  from utils.utility import check_detector
  from utils.utility import score_to_label
  from utils.utility import list_diff
  from utils.utility import score_to_proba
label_desc: Use image node_id 7 for calling the TestMetrics obj's underlying member method code with example usage: obj.test_score_to_proba() without return types