          else:
              assert spangroup[0].text == "Greater London"
              assert spangroup[0].label_ == "GreatCity"
      else:
          if allow_overlap:
              assert spangroup[0].text == "Greater"
              assert spangroup[0].label_ == "City"
 
</s> remove 
 </s> add             assert spangroup.attrs["scores"][1] == 0.9
            assert_almost_equal(0.9, spangroup.attrs["scores"][1], 5) </s> remove     assert len(spangroup) == nr_results
 </s> add 
            assert spangroup.attrs["scores"][0] == 0.9
          else:
              assert spangroup[0].text == "Greater London"
              assert spangroup[0].label_ == "GreatCity"
            assert spangroup.attrs["scores"][0] == 0.9
      else:
          if allow_overlap:
              assert spangroup[0].text == "Greater"
              assert spangroup[0].label_ == "City"
keep keep add keep keep keep keep
 Fix spancat-singlelabel score (#12469)

* debug argmax sort and add span scores

* add missing tests for spanscores 
spacy/tests/pipeline/test_spancat.py