code: def test_big_tie(self):
      for n in [10000, 100000, 1000000]:
          data = np.ones(n, dtype=int)
          r = rankdata(data)
          expected_rank = 0.5 * (n + 1)
          assert_array_equal(
              r, expected_rank * data, "test failed with n=%d" % 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 6 for calling the TestRankData obj's underlying member method code with example usage: obj.test_big_tie() without return types