code: def test_uuids():
      """
      Checks that all UUIDs across promptsource are unique. (Although collisions
      are unlikely, copying and pasting YAML files could lead to duplicates.
      """
      all_uuids = {}
  
      # Iterates over all datasets
      for dataset_name, subset_name in template_collection.keys:
          # Iterates over each template for current data (sub)set
          dataset_templates = template_collection.get_dataset(
              dataset_name, subset_name
          )
          for template_name in dataset_templates.all_template_names:
              template = dataset_templates[template_name]
  
              uuid = template.get_id()
  
              if uuid in all_uuids:
                  raise ValueError(
                      f"Template {template_name} for dataset {dataset_name}/{subset_name} "
                      f"has duplicate uuid {template.get_id()} as "
                      f"{all_uuids[uuid][0]}/{all_uuids[uuid][1]}."
                  )
  
              all_uuids[uuid] = (dataset_name, subset_name)
  
imports: import time
  from jinja2 import meta, TemplateError
  import pytest
  import promptsource.templates
  from promptsource.utils import get_dataset_builder
  from uuid import UUID
label_desc: Use image node_id 1 for calling a global function with example usage: test_uuids() without return types