code: def test_simple_output(simple_confusion):
      assert EXPECTED_SIMPLE_OUTPUT == format_confusion(
          simple_confusion
      )
  
file_path: stanza/stanza/tests/common/test_confusion.py
imports: from collections import defaultdict
  import pytest
  from stanza.utils.confusion import format_confusion, confusion_to_f1, confusion_to_macro_f1, confusion_to_weighted_f1
label_desc: Use image node_id 3 for calling a global function with example usage: test_simple_output(simple_confusion) without return types