<commit_before>#!/usr/bin/env ruby
# encoding: utf-8

require 'rubygems'

begin
  require 'bundler'
  Bundler.require(:default)
rescue LoadError > e
  $stderr.puts "Could not load dependency: #{e.message}"
  exit(-2)
end

# Adding to load path also our location. 
$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + '/../lib'))

require 'scratch_all'

action = Scratch::ToAction.new(ARGV)
action.run
<commit_msg>New namespace<commit_after>#!/usr/bin/env ruby
# encoding: utf-8

require 'rubygems'

begin
  require 'bundler'
  Bundler.require(:default)
rescue LoadError > e
  $stderr.puts "Could not load dependency: #{e.message}"
  exit(-2)
end

# Adding to load path also our location. 
$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + '/../lib'))

require 'scratch_all'

action = Scratch::CLI::ToAction.new(ARGV)
action.run

{'fraction_non_alphanumeric': 0.14403778040141677, 'fraction_numerical': 0.004722550177095631, 'mean_word_length': 4.808219178082192, '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': '3571037', 'n_tokens_mistral': 313, 'n_tokens_neox': 308, 'n_words': 71}