code: def test_overflow(self):
      ntie, k = 2000, 5
      a = np.repeat(np.arange(k), ntie)
      n = a.size  # ntie * k
      out = tiecorrect(rankdata(a))
      assert_equal(
          out, 1.0 - k * (ntie**3 - ntie) / float(n**3 - n)
      )
  
file_path: catboost/contrib/python/scipy/py3/scipy/stats/tests/test_rank.py
imports: import numpy
  from numpy.testing import assert_equal, assert_array_equal
  from scipy.stats import rankdata, tiecorrect
  import pytest
label_desc: Use image node_id 5 for calling the TestTieCorrect obj's underlying member method code with example usage: obj.test_overflow() without return types