code: def test_fht_identity(n, bias, offset, optimal):
      rng = np.random.RandomState(3491349965)
  
      a = rng.standard_normal(n)
      dln = rng.uniform(-1, 1)
      mu = rng.uniform(-2, 2)
  
      if optimal:
          offset = fhtoffset(dln, mu, initial=offset, bias=bias)
  
      A = fht(a, dln, mu, offset=offset, bias=bias)
      a_ = ifht(A, dln, mu, offset=offset, bias=bias)
  
      assert_allclose(a, a_)
  
file_path: catboost/contrib/python/scipy/py3/scipy/fft/tests/test_fftlog.py
imports: import numpy
  from numpy.testing import assert_allclose
  import pytest
  from scipy.fft._fftlog import fht, ifht, fhtoffset
  from scipy.special import poch
label_desc: Use image node_id 2 for calling a global function with example usage: test_fht_identity(n, bias, offset, optimal) without return types