code: def test_pu_f1():
      s = [1, 1, 1, 0, 0, 0]
      p = [1, 1, 1, 0, 0, 0]
      assert abs(util.estimate_pu_f1(s, p) - 1) < 1e-4
  
imports: from cleanlab.internal import util
  import numpy
  import pytest
  from cleanlab.internal.label_quality_utils import get_normalized_entropy
  from cleanlab.internal.multilabel_utils import int2onehot, onehot2int
  from cleanlab.internal.util import num_unique_classes, format_labels, get_missing_classes
  from cleanlab.internal.validation import assert_valid_class_labels
label_desc: Use image node_id 5 for calling a global function with example usage: test_pu_f1() without return types