<commit_before>
SOCKET_YML = """
name: custom_socket_example
author:
  name: Info
  email: <EMAIL>
icon:
  name: icon-name
  color: ffee11
config:
  - name: custom_api_key
    description: an Api Key for third party service
description: Some custom integration
endpoints:
  custom_endpoint:
    script: custom_script

  custom_endpoint_1:
    POST:
      script: custom_script_1
    GET:
      script: custom_script_2

dependencies:
  scripts:
    custom_script:
      runtime_name: python_library_v5.0
      file: scripts/custom_script.py
    custom_script_1:
      runtime_name: python_library_v5.0
      file: scripts/custom_script_1.py
    custom_script_2:
      runtime_name: python_library_v5.0
      file: scripts/custom_script_2.py
"""

SCRIPTS = {
    'scripts/custom_script.py': """static_data = {
    'title': 'Hunger games',
    'author': '<NAME>',
    'publish_year': 2008,
}

set_response(HttpResponse(status_code=200, content=static_data, content_type='application/json'))<commit_msg>[CORE-1685] add class dependecy to the socket template definition;<commit_after>
SOCKET_YML = """
name: custom_socket_example
author:
  name: Info
  email: <EMAIL>
icon:
  name: icon-name
  color: ffee11
config:
  - name: custom_api_key
    description: an Api Key for third party service
description: Some custom integration
endpoints:
  custom_endpoint:
    script: custom_script

  custom_endpoint_1:
    POST:
      script: custom_script_1
    GET:
      script: custom_script_2

dependencies:
  scripts:
    custom_script:
      runtime_name: python_library_v5.0
      file: scripts/custom_script.py
    custom_script_1:
      runtime_name: python_library_v5.0
      file: scripts/custom_script_1.py
    custom_script_2:
      runtime_name: python_library_v5.0
      file: scripts/custom_script_2.py

  classes:
    country:
      schema:
        - name: name
          type: string
        - name: topLevelDomain
          type: string
        - name: capital
          type: string
        - name: alpha2Code
          type: string
        - name: alpha3Code
          type: string
"""

SCRIPTS = {
    'scripts/custom_script.py': """static_data = {
    'title': 'Hunger games',
    'author': '<NAME>',
    'publish_year': 2008,
}

set_response(HttpResponse(status_code=200, content=static_data, content_type='application/json'))
{'fraction_non_alphanumeric': 0.09164882226980728, 'fraction_numerical': 0.021413276231263382, 'mean_word_length': 3.216606498194946, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7246107', 'n_tokens_mistral': 777, 'n_tokens_neox': 757, 'n_words': 170}