code: def test_responses_and_suggestions_per_user(
      feedback_dataset_guidelines: str,
      feedback_dataset_fields: List["AllowedFieldTypes"],
      feedback_dataset_questions: List["AllowedQuestionTypes"],
      feedback_dataset_records_with_paired_suggestions: List[
          FeedbackRecord
      ],
      question: str,
      status: str,
      num_responses: int,
  ):
      dataset = FeedbackDataset(
          guidelines=feedback_dataset_guidelines,
          fields=feedback_dataset_fields,
          questions=feedback_dataset_questions,
      )
      dataset.add_records(
          records=feedback_dataset_records_with_paired_suggestions
      )
  
      responses_and_suggestions_per_user = (
          get_responses_and_suggestions_per_user(
              dataset, question, filter_by={"response_status": status}
          )
      )
      num_users = 3
      if status != "submitted":
          assert len(responses_and_suggestions_per_user) == num_users
      else:
          assert len(responses_and_suggestions_per_user) == num_users
          assert isinstance(responses_and_suggestions_per_user, dict)
          assert all(
              [
                  set(user_data.keys()) == {"responses", "suggestions"}
                  for user_id, user_data in responses_and_suggestions_per_user.items()
              ]
          )
          user_data = responses_and_suggestions_per_user[
              list(responses_and_suggestions_per_user.keys())[0]
          ]
          assert (
              len(user_data["responses"])
              == len(user_data["suggestions"])
              == num_responses
          )
  
imports: from typing import TYPE_CHECKING, List, Optional, Union
  import pytest
  from argilla.client.feedback.dataset import FeedbackDataset
  from argilla.client.feedback.metrics.utils import get_responses_and_suggestions_per_user, get_unified_responses_and_suggestions
  from argilla.client.feedback.schemas import FeedbackRecord
label_desc: Use image node_id 1 for calling a global function with example usage: test_responses_and_suggestions_per_user(feedback_dataset_guidelines, feedback_dataset_fields, feedback_dataset_questions, feedback_dataset_records_with_paired_suggestions, question, status, num_responses) without return types