<commit_before># Capistrano multistage files
set :stage_dir,     "deployment/stages"

begin
    require "capistrano"
    require "capistrano/ext/multistage"
    require "colored"
    require "pty"
    require "expect"
rescue LoadError
  puts "You need to run: $ gem install capistrano-ext colored"
  exit
end

# Load local recipes
Dir[File.expand_path(File.dirname(__FILE__)) + '/lib/*.rb'].each { |recipe| load(recipe) }

# Infer Git repository from current repo
set :repository,        (`git config --get remote.origin.url`).strip!

# Infer branch (unless overridden via -S) from current repo
matches =               `git branch`.match(/\* (\S+)\s/m)
set :branch,            (matches ? matches[1] : "master") unless exists?(:branch)

# Sudo shouldn't be required
set :use_sudo,          false
<commit_msg>Cap branch matching shouldn't match `(no branch)`<commit_after># Capistrano multistage files
set :stage_dir,     "deployment/stages"

begin
    require "capistrano"
    require "capistrano/ext/multistage"
    require "colored"
    require "pty"
    require "expect"
rescue LoadError
  puts "You need to run: $ gem install capistrano-ext colored"
  exit
end

# Load local recipes
Dir[File.expand_path(File.dirname(__FILE__)) + '/lib/*.rb'].each { |recipe| load(recipe) }

# Infer Git repository from current repo
set :repository,        (`git config --get remote.origin.url`).strip!

# Infer branch (unless overridden via -S) from current repo
matches =               `git branch`.match(/\* ([^(\s]+)\s/m)
set :branch,            (matches ? matches[1] : "master") unless exists?(:branch)

# Sudo shouldn't be required
set :use_sudo,          false

{'fraction_non_alphanumeric': 0.12515114873035066, 'fraction_numerical': 0.0012091898428053204, 'mean_word_length': 3.4133333333333336, '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': '6470212', 'n_tokens_mistral': 532, 'n_tokens_neox': 521, 'n_words': 160}