      assert len(spangroup_multi) == 6
      assert spangroup_multi[0].text == "Greater"
      assert spangroup_multi[0].label_ == "City"
      assert spangroup_multi[1].text == "Greater"
      assert spangroup_multi[1].label_ == "Person"
      assert_almost_equal(0.3, spangroup_multi.attrs["scores"][1], 5)
      assert spangroup_multi[2].text == "London"
 
</s>
    assert_almost_equal(0.4, spangroup_multi.attrs["scores"][0], 5)
      assert len(spangroup_multi) == 6
      assert spangroup_multi[0].text == "Greater"
      assert spangroup_multi[0].label_ == "City"
    assert_almost_equal(0.4, spangroup_multi.attrs["scores"][0], 5)
      assert spangroup_multi[1].text == "Greater"
      assert spangroup_multi[1].label_ == "Person"
      assert_almost_equal(0.3, spangroup_multi.attrs["scores"][1], 5)
      assert spangroup_multi[2].text == "London"
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