<commit_before>set :application, 'cubecomp'
set :repo_url, '<EMAIL>:fw42/cubecomp.git'

set :linked_files, %w{config/database.yml .env}
set :linked_dirs, %w{log public/system tmp}

namespace :deploy do
  desc 'Restart application'
  task :restart do
    on roles(:app), in: :sequence, wait: 5 do
      execute "RBENV_RUBY_VERSION=#{fetch(:rbenv_ruby)} #{current_path}/bin/unicorn-init.sh upgrade"
    end
  end<commit_msg>link backups on deploy<commit_after>set :application, 'cubecomp'
set :repo_url, '<EMAIL>:fw42/cubecomp.git'

set :linked_files, %w{config/database.yml .env}
set :linked_dirs, %w{log public/system tmp db/backup}

namespace :deploy do
  desc 'Restart application'
  task :restart do
    on roles(:app), in: :sequence, wait: 5 do
      execute "RBENV_RUBY_VERSION=#{fetch(:rbenv_ruby)} #{current_path}/bin/unicorn-init.sh upgrade"
    end
  end
{'fraction_non_alphanumeric': 0.13557358053302435, 'fraction_numerical': 0.006952491309385863, 'mean_word_length': 5.084507042253521, 'pattern_counts': {'":': 0, '<': 5, '<?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': '7172578', 'n_tokens_mistral': 324, 'n_tokens_neox': 311, 'n_words': 77}