code: def test_misaligned_entity_mentions_with_spaces_right():
      assert ServiceTokenClassificationRecord(
          text="\nvs 9.91 billion\n    Note\n REUTER\n",
          tokens=[
              "\n",
              "vs",
              "9.91",
              "billion",
              "\n    ",
              "Note",
              "\n ",
              "REUTER",
              "\n",
          ],
          annotation=TokenClassificationAnnotation(
              agent="heuristics",
              entities=[
                  EntitySpan(start=4, end=21, label="MONEY", score=1.0)
              ],
              score=None,
          ),
      )
  
imports: import pytest
  from argilla.server.apis.v0.models.token_classification import TokenClassificationAnnotation, TokenClassificationQuery, TokenClassificationRecord
  from argilla.server.commons.models import PredictionStatus
  from argilla.server.daos.backend.search.query_builder import EsQueryBuilder
  from argilla.server.services.tasks.token_classification.model import EntitySpan, ServiceTokenClassificationRecord
  from tests.pydantic_v1 import ValidationError
label_desc: Use image node_id 10 for calling a global function with example usage: test_misaligned_entity_mentions_with_spaces_right() without return types