<commit_before>require 'task_support'
namespace :radiant do
  namespace :config do
    desc "Export Radiant::Config to Rails.root/config/radiant_config.yml. Specify a path with RADIANT_CONFIG_PATH - defaults to Rails.root/config/radiant_config.yml"
    task :export => :environment do
      config_path = ENV['RADIANT_CONFIG_PATH'] || "#{Rails.root}/config/radiant_config.yml"
      clear = ENV['CLEAR_CONFIG'] || nil
      TaskSupport.config_export(config_path, clear)
    end
    
    desc "Import Radiant::Config from Rails.root/config/radiant_config.yml. Specify a path with RADIANT_CONFIG_PATH - defaults to Rails.root/config/radiant_config.yml Set CLEAR_CONFIG=true to delete all existing settings before import"
    task :import => :environment do
      config_path = ENV['RADIANT_CONFIG_PATH'] || "#{Rails.root}/config/radiant_config.yml"
      clear = ENV['CLEAR_CONFIG'] || nil
      TaskSupport.config_import(config_path, clear)
    end
  end
end<commit_msg>remove errant argument for config exporting<commit_after>require 'task_support'
namespace :radiant do
  namespace :config do
    desc "Export Radiant::Config to Rails.root/config/radiant_config.yml. Specify a path with RADIANT_CONFIG_PATH - defaults to Rails.root/config/radiant_config.yml"
    task :export => :environment do
      config_path = ENV['RADIANT_CONFIG_PATH'] || "#{Rails.root}/config/radiant_config.yml"
      clear = ENV['CLEAR_CONFIG'] || nil
      TaskSupport.config_export(config_path)
    end
    
    desc "Import Radiant::Config from Rails.root/config/radiant_config.yml. Specify a path with RADIANT_CONFIG_PATH - defaults to Rails.root/config/radiant_config.yml Set CLEAR_CONFIG=true to delete all existing settings before import"
    task :import => :environment do
      config_path = ENV['RADIANT_CONFIG_PATH'] || "#{Rails.root}/config/radiant_config.yml"
      clear = ENV['CLEAR_CONFIG'] || nil
      TaskSupport.config_import(config_path, clear)
    end
  end
end
{'fraction_non_alphanumeric': 0.09943906170321265, 'fraction_numerical': 0.0, 'mean_word_length': 4.346049046321526, 'pattern_counts': {'":': 0, '<': 3, '<?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': '750324', 'n_tokens_mistral': 634, 'n_tokens_neox': 603, 'n_words': 145}