<commit_before>require 'capistrano/erb_sudo_upload/core'
module Capistrano
  module ErbSudoUpload
    def self.load_into(configuration)
      configuration.load do
        namespace :erb_sudo_upload do
          config_path = fetch(:erb_sudo_upload_config, "config/erb_sudo_upload.yml")
          YAML.load_file(config_path).each do |key, setting|
            role_map = {}
            setting.each do|filename, v|
              v['roles'].each{ |role_name|
                if role_map[role_name]<commit_msg>yaml open with ERB<commit_after>require 'capistrano/erb_sudo_upload/core'
module Capistrano
  module ErbSudoUpload
    def self.load_into(configuration)
      configuration.load do
        namespace :erb_sudo_upload do
          config_path = fetch(:erb_sudo_upload_config, "config/erb_sudo_upload.yml")
          YAML.load(ERB.new(File.read(config_path)).result(binding)).each do |key, setting|
            role_map = {}
            setting.each do|filename, v|
              v['roles'].each{ |role_name|
                if role_map[role_name]
{'fraction_non_alphanumeric': 0.094106463878327, 'fraction_numerical': 0.0, 'mean_word_length': 2.829090909090909, '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': '4109232', 'n_tokens_mistral': 341, 'n_tokens_neox': 326, 'n_words': 58}