code: def test_rule_metrics_without_annotated(
      mocked_client,
      log_dataset_without_annotations,
      rule,
      expected_metrics,
  ):
      delete_rule_silently(
          mocked_client, log_dataset_without_annotations, rule
      )
  
      mocked_client.post(
          f"/api/datasets/TextClassification/{log_dataset_without_annotations}/labeling/rules",
          json={"query": rule.query, "label": rule.label},
      )
  
      metrics = rule.metrics(log_dataset_without_annotations)
      assert expected_metrics == metrics
  
imports: import httpx
  import pytest
  from argilla import User
  from argilla.client.api import copy, delete, load
  from argilla.client.models import TextClassificationRecord
  from argilla.client.sdk.datasets.models import TaskType
  from argilla.client.sdk.text_classification.models import CreationTextClassificationRecord, TextClassificationBulkData
  from argilla.labeling.text_classification import Rule, add_rules, delete_rules, load_rules, update_rules
  from argilla.labeling.text_classification.rule import RuleNotAppliedError
  from argilla.server.errors import EntityNotFoundError
  from tests.integration.helpers import SecuredClient
  from tests.integration.utils import delete_ignoring_errors
label_desc: Use image node_id 15 for calling a global function with example usage: test_rule_metrics_without_annotated(mocked_client, log_dataset_without_annotations, rule, expected_metrics) without return types