class_docstr: Class containing unit tests for nltk.metrics.agreement.Disagreement.
docstr: Simple test, based on
  https://github.com/foolswood/krippendorffs_alpha/raw/master/krippendorff.pdf.
docstr_tok: ["Simple","test",",","based","on","https",":","\/\/github.com\/foolswood\/krippendorffs_alpha\/raw\/master\/krippendorff.pdf","."]
code: def test_easy(self):
      """
      Simple test, based on
      https://github.com/foolswood/krippendorffs_alpha/raw/master/krippendorff.pdf.
      """
      data = [
          ("coder1", "dress1", "YES"),
          ("coder2", "dress1", "NO"),
          ("coder3", "dress1", "NO"),
          ("coder1", "dress2", "YES"),
          ("coder2", "dress2", "NO"),
          ("coder3", "dress3", "NO"),
      ]
      annotation_task = AnnotationTask(data)
      self.assertAlmostEqual(annotation_task.alpha(), -0.3333333)
  
file_path: nltk/nltk/test/unit/test_disagreement.py
imports: import unittest
  from nltk.metrics.agreement import AnnotationTask
label_desc: Use image node_id 1 for calling the TestDisagreement obj's underlying member method code with example usage: obj.test_easy() without return types