<commit_before>type: map
mapping:
  =:
    type: map
    required: true
    name: Service
    mapping:
      "image":
        name: Image
        desc: >
          Tag or partial image ID. Can be local or remote - Compose will attempt to pull if it doesn't exist locally.
        required: false
      "build":
        desc: >
          Path to a directory containing a Dockerfile. This directory is also the build context that is sent to the
          Docker daemon.

          Compose will build and tag it with a generated name, and use that image thereafter.
        required: false
      "command":
        desc: >
          Override the default command.
        required: false
      "links":
        desc: >
          Link to containers in another service. Either specify both the service name and the link alias
          (SERVICE:ALIAS), or just the service name (which will also be used for the alias).
        type: seq
        sequence:
          - type: str
            name: Link
        required: false
      "external_links":
        name: ExternalLink
        desc: >
          Link to containers started outside this docker-compose.yml or even outside of Compose, especially for
          containers that provide shared or common services. external_links follow semantics similar to links when
          specifying both the container name and the link alias (CONTAINER:ALIAS).
        type: seq
        sequence:
          - type: str
        required: false
      "ports":
        desc: >
          Expose ports. Either specify both ports (HOST:CONTAINER), or just the container port (a random host port will
          be chosen).
        type: seq
        sequence:
          - type: text
            name: Port
        required: false
      "expose":
        desc: >
          Expose ports without publishing them to the host machine - they'll only be accessible to linked services. Only
          the internal port can be specified.
        type: seq
        sequence:
          - type: text
            name: Expose
        required: false
      "volumes":
        desc: >
          Mount paths as volumes, optionally specifying a path on the host machine (HOST:CONTAINER), or an access mode
          (HOST:CONTAINER:ro).
        type: seq
        sequence:
          - type: str
        required: false
      "volumes_from":
        desc: >
          Mount all of the volumes from another service or container.
        type: seq
        sequence:
          - type: str
        required: false
      "environment":
        name: Environment
        desc: >
          Add environment variables. You can use an array.

          Environment variables with only a key are resolved to their values on the machine Compose is running on, which
          can be helpful for secret or host-specific values.
        type: seq
        sequence:
          - type: str
        required: false
      "env_file":
        desc: >
          Add environment variables from a file. Can be a single value or a list.

          If you have specified a Compose file with docker-compose -f FILE, paths in env_file are relative to the
          directory that file is in.

          Environment variables specified in environment override these values.
        type: any
        required: false
      "extends":
        desc: >
          Extend another service, in the current file or another, optionally overriding configuration.
        type: map
        mapping:
          "file":
            required: true
          "service":
            required: true
        required: false
      "labels":
        desc: >
          Add metadata to containers using Docker labels.
        type: seq
        sequence:
          - type: str
        required: false
      "net":
        name: Net
        desc: >
          Networking mode. Use the same values as the docker client --net parameter.
        required: false
      "dns":
        name: DNS
        desc: >
          Custom DNS servers. Can be a single value or a list.
        type: any
        required: false
      "cap_add":
        desc: >
          Add container capabilities. See man 7 capabilities for a full list.
        type: seq
        sequence:
          - type: str
        required: false
      "cap_drop":
        desc: >
          Drop container capabilities. See man 7 capabilities for a full list.
        type: seq
        sequence:
          - type: str
        required: false
      "dns_search":
        name: DNSSearch
        desc: >
          Custom DNS search domains. Can be a single value or a list.
        type: any<commit_msg>Add key pid with help text into the schema.<commit_after>type: map
mapping:
  =:
    type: map
    required: true
    name: Service
    mapping:
      "image":
        name: Image
        desc: >
          Tag or partial image ID. Can be local or remote - Compose will attempt to pull if it doesn't exist locally.
        required: false
      "build":
        desc: >
          Path to a directory containing a Dockerfile. This directory is also the build context that is sent to the
          Docker daemon.

          Compose will build and tag it with a generated name, and use that image thereafter.
        required: false
      "command":
        desc: >
          Override the default command.
        required: false
      "links":
        desc: >
          Link to containers in another service. Either specify both the service name and the link alias
          (SERVICE:ALIAS), or just the service name (which will also be used for the alias).
        type: seq
        sequence:
          - type: str
            name: Link
        required: false
      "external_links":
        name: ExternalLink
        desc: >
          Link to containers started outside this docker-compose.yml or even outside of Compose, especially for
          containers that provide shared or common services. external_links follow semantics similar to links when
          specifying both the container name and the link alias (CONTAINER:ALIAS).
        type: seq
        sequence:
          - type: str
        required: false
      "ports":
        desc: >
          Expose ports. Either specify both ports (HOST:CONTAINER), or just the container port (a random host port will
          be chosen).
        type: seq
        sequence:
          - type: text
            name: Port
        required: false
      "expose":
        desc: >
          Expose ports without publishing them to the host machine - they'll only be accessible to linked services. Only
          the internal port can be specified.
        type: seq
        sequence:
          - type: text
            name: Expose
        required: false
      "volumes":
        desc: >
          Mount paths as volumes, optionally specifying a path on the host machine (HOST:CONTAINER), or an access mode
          (HOST:CONTAINER:ro).
        type: seq
        sequence:
          - type: str
        required: false
      "volumes_from":
        desc: >
          Mount all of the volumes from another service or container.
        type: seq
        sequence:
          - type: str
        required: false
      "environment":
        name: Environment
        desc: >
          Add environment variables. You can use an array.

          Environment variables with only a key are resolved to their values on the machine Compose is running on, which
          can be helpful for secret or host-specific values.
        type: seq
        sequence:
          - type: str
        required: false
      "env_file":
        desc: >
          Add environment variables from a file. Can be a single value or a list.

          If you have specified a Compose file with docker-compose -f FILE, paths in env_file are relative to the
          directory that file is in.

          Environment variables specified in environment override these values.
        type: any
        required: false
      "extends":
        desc: >
          Extend another service, in the current file or another, optionally overriding configuration.
        type: map
        mapping:
          "file":
            required: true
          "service":
            required: true
        required: false
      "labels":
        desc: >
          Add metadata to containers using Docker labels.
        type: seq
        sequence:
          - type: str
        required: false
      "net":
        name: Net
        desc: >
          Networking mode. Use the same values as the docker client --net parameter.
        required: false
      "pid":
        name: Pid
        desc: >
          Sets the PID mode to the host PID mode. This turns on sharing between container and the host operating system
          the PID address space. Containers launched with this flag will be able to access and manipulate other
          containers in the bare-metal machine's namespace and vise-versa.
        required: false
      "dns":
        name: DNS
        desc: >
          Custom DNS servers. Can be a single value or a list.
        type: any
        required: false
      "cap_add":
        desc: >
          Add container capabilities. See man 7 capabilities for a full list.
        type: seq
        sequence:
          - type: str
        required: false
      "cap_drop":
        desc: >
          Drop container capabilities. See man 7 capabilities for a full list.
        type: seq
        sequence:
          - type: str
        required: false
      "dns_search":
        name: DNSSearch
        desc: >
          Custom DNS search domains. Can be a single value or a list.
        type: any
{'fraction_non_alphanumeric': 0.05462097611630322, 'fraction_numerical': 0.0004153686396677051, 'mean_word_length': 1.6568275862068966, 'pattern_counts': {'":': 41, '<': 3, '<?xml version=': 0, '>': 40, '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': '6555062', 'n_tokens_mistral': 2338, 'n_tokens_neox': 2275, 'n_words': 1092}