code: def test_entity_capitalness(mocked_client):
      dataset = "test_entity_capitalness"
      delete_ignoring_errors(dataset)
      log_some_data(dataset)
  
      results = entity_capitalness(dataset)
      assert results
      assert results.data == {"LOWER": 4}
      results.visualize()
  
      results = entity_capitalness(dataset, compute_for=Annotations)
      assert results
      assert results.data == {"LOWER": 4}
      results.visualize()
  
imports: import argilla
  import pytest
  from argilla.client.api import load, log
  from argilla.client.models import TokenClassificationRecord
  from argilla.metrics import entity_consistency
  from argilla.metrics.token_classification import Annotations, entity_capitalness, entity_density, entity_labels, f1, mention_length, token_capitalness, token_frequency, token_length, tokens_length, top_k_mentions
  from tests.integration.utils import delete_ignoring_errors
label_desc: Use image node_id 11 for calling a global function with example usage: test_entity_capitalness(mocked_client) without return types