code: def test_get_label_quality_scores(label_quality_scores):
      sentence_scores, token_info = label_quality_scores
      assert len(sentence_scores) == 3
      assert np.allclose(sentence_scores, [0.6, 0, 0.8])
      assert len(token_info) == 3
      assert np.allclose(token_info[0], [0.9, 0.6])
      sentence_scores_softmin, _ = get_label_quality_scores(
          labels,
          pred_probs,
          sentence_score_method="softmin",
          tokens=words,
      )
      assert len(sentence_scores_softmin) == 3
      assert np.allclose(
          sentence_scores_softmin, [0.600741787, 1.8005624e-7, 0.8]
      )
  
      with pytest.raises(AssertionError) as excinfo:
          get_label_quality_scores(
              labels,
              pred_probs,
              sentence_score_method="unsupported_method",
              tokens=words,
          )
      assert "Select from the following methods:" in str(excinfo.value)
  
imports: from cleanlab.internal.token_classification_utils import get_sentence, filter_sentence, process_token, mapping, merge_probs, color_sentence, _replace_sentence
  from cleanlab.token_classification.filter import find_label_issues
  from cleanlab.token_classification.rank import get_label_quality_scores, issues_from_scores, _softmin_sentence_score
  from cleanlab.token_classification.summary import display_issues, common_label_issues, filter_by_token
  import numpy
  import pandas
  import pytest
  import warnings
label_desc: Use image node_id 12 for calling a global function with example usage: test_get_label_quality_scores(label_quality_scores) without return types