code: def test_without_perfect_agreement_and_weights(self):
      self.assertAlmostEqual(
          0.444,
          _adapted_cohen_kappa_score(
              np.array([0, 1, 1, 2, 1]), np.array([0, 1, 2, 2, 0])
          ),
          places=2,
      )
  
      self.assertAlmostEqual(
          0.666,
          _adapted_cohen_kappa_score(
              np.array([0, 1, 1, 2, 1]),
              np.array([0, 1, 2, 2, 0]),
              weights="quadratic",
          ),
          places=2,
      )
  
imports: import unittest
  import numpy
  from numpy.testing import assert_array_equal
  from small_text.stopping_criteria.kappa import KappaAverage, _adapted_cohen_kappa_score
label_desc: Use image node_id 4 for calling the TestAdaptedCohenKappScore obj's underlying member method code with example usage: obj.test_without_perfect_agreement_and_weights() without return types