<commit_before>resource "marathon_app" "app-create-example" {
  app_id = "/app-create-example"

  cmd = "env && python3 -m http.server 8080"

  constraints {
    constraint {
      attribute = "hostname"
      operation = "UNIQUE"
    }
    constraint {
      attribute = "hostname"
      operation = "UNIQUE"
      parameter = "test"
    }
  }

  container {
    docker {
      image = "python:3"
      network = "BRIDGE"
      parameters {
        hostname = "a.corp.org"
      }
      port_mappings {
        port_mapping {
          container_port = 8080
          host_port = 0
          protocol = "tcp"
        }
        port_mapping {
          container_port = 161
          host_port = 0
          protocol = "udp"
        }
      }
    }

    volumes {
      volume {
        container_path = "/etc/a"
        host_path = "/var/data/a"
        mode = "RO"
      }
      volume {
        container_path = "/etc/b"
        host_path = "/var/data/b"
        mode = "RW"
      }
    }<commit_msg>Update example with the new parameters structure<commit_after>resource "marathon_app" "app-create-example" {
  app_id = "/app-create-example"

  cmd = "env && python3 -m http.server 8080"

  constraints {
    constraint {
      attribute = "hostname"
      operation = "UNIQUE"
    }
    constraint {
      attribute = "hostname"
      operation = "UNIQUE"
      parameter = "test"
    }
  }

  container {
    docker {
      image = "python:3"
      network = "BRIDGE"
      parameters {
        parameters {
          key = "hostname"
          value = "a.corp.org"
        }
      }
      port_mappings {
        port_mapping {
          container_port = 8080
          host_port = 0
          protocol = "tcp"
        }
        port_mapping {
          container_port = 161
          host_port = 0
          protocol = "udp"
        }
      }
    }

    volumes {
      volume {
        container_path = "/etc/a"
        host_path = "/var/data/a"
        mode = "RO"
      }
      volume {
        container_path = "/etc/b"
        host_path = "/var/data/b"
        mode = "RW"
      }
    }
{'fraction_non_alphanumeric': 0.10819828408007626, 'fraction_numerical': 0.014299332697807437, 'mean_word_length': 1.4265895953757226, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5126394', 'n_tokens_mistral': 686, 'n_tokens_neox': 659, 'n_words': 135}