          # Sort spans according to argmax probability
          if not allow_overlap:
              # Get the probabilities
              sort_idx = (argmax_scores.squeeze() * -1).argsort()
              predicted = predicted[sort_idx]
              indices = indices[sort_idx]
              keeps = keeps[sort_idx]
          seen = _Intervals()
 
</s> remove     assert len(spangroup) == nr_results
 </s> add  </s> remove 
 </s> add             assert spangroup.attrs["scores"][1] == 0.9
            assert_almost_equal(0.9, spangroup.attrs["scores"][1], 5)
            argmax_scores = argmax_scores[sort_idx]
          # Sort spans according to argmax probability
          if not allow_overlap:
              # Get the probabilities
              sort_idx = (argmax_scores.squeeze() * -1).argsort()
            argmax_scores = argmax_scores[sort_idx]
              predicted = predicted[sort_idx]
              indices = indices[sort_idx]
              keeps = keeps[sort_idx]
          seen = _Intervals()
keep 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/pipeline/spancat.py