<commit_before>node["deploy"].each do |application, deploy|
  if deploy[:application_type] != 'other' || deploy["environment_variables"]["APP_TYPE"] != 'docker'
    Chef::Log.debug("Skipping deploy::docker application #{application} as it is not deployed to this layer")
    next
  end

  deploy["containers"].each do |c|
    c.each do |app_name, app_config|
      Chef::Log.debug("Evaluating #{app_name}...")
      e = EnvHelper.new app_name, app_config, deploy, node

      image = app_config["image"]
      containers = app_config["containers"] || 1

      environment = e.merged_environment

      Chef::Log.debug("Deploying '#{application}/#{app_name}', from '#{image}'")

      execute "pulling #{image}" do
        Chef::Log.debug("Pulling '#{image}'...")
        command "docker pull #{image}:latest"
        not_if { e.manual? }
      end

      containers.times do |i|
        ruby_block "waiting" do
          block do
            sleep(app_config["startup_time"].to_i) if app_config["startup_time"] && i > 0
          end
          not_if { e.manual? }
        end<commit_msg>fixed problem with type of keys<commit_after>node["deploy"].each do |application, deploy|
  if deploy[:application_type] != 'other' || deploy["environment_variables"]["APP_TYPE"] != 'docker'
    Chef::Log.debug("Skipping deploy::docker application #{application} as it is not deployed to this layer")
    next
  end

  deploy["containers"].each do |c|
    c.each do |app_name, app_config|
      Chef::Log.debug("Evaluating #{app_name}...")
      e = EnvHelper.new app_name, app_config, deploy, node

      image = app_config["image"]
      containers = app_config["containers"] || 1

      environment = e.merged_environment

      Chef::Log.debug("Deploying '#{application}/#{app_name}', from '#{image}'")

      execute "pulling #{image}" do
        Chef::Log.debug("Pulling '#{image}'...")
        command "docker pull #{image}:latest"
        not_if { e.manual? }
      end

      containers.to_i.times do |i|
        ruby_block "waiting" do
          block do
            sleep(app_config["startup_time"].to_i) if app_config["startup_time"] && i > 0
          end
          not_if { e.manual? }
        end
{'fraction_non_alphanumeric': 0.1477944520236471, 'fraction_numerical': 0.0018190086402910413, 'mean_word_length': 2.9927404718693285, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '575459', 'n_tokens_mistral': 698, 'n_tokens_neox': 675, 'n_words': 162}