<commit_before>if File.exists? Rails.root.join('config/puma.rb')
  namespace :puma do
    desc 'Start puma server'
    task :start => :stop do
      cmd 'puma -C config/puma.rb -e production'
      zfben_rails_rake_system 'mkdir tmp' unless File.exists? Rails.root.join('tmp')
      zfben_rails_rake_system cmd
    end

    desc 'Stop puma server'
    task :stop do
      if File.exists? Rails.root.join('tmp/puma.pid')
        zfben_rails_rake_system 'kill -QUIT `cat tmp/puma.pid`'
        sleep 1
        zfben_rails_rake_system 'rm tmp/puma.pid' if File.exists? Rails.root.join('tmp/puma.pid')
      end
    end

    desc 'Hot restart puma server'
    task :restart do
      if File.exists? Rails.root.join('tmp/puma.pid')
        zfben_rails_rake_system 'kill -USR2 `cat tmp/puma.pid`'
      end
    end
  end
end<commit_msg>fix puma<commit_after>if File.exists? Rails.root.join('config/puma.rb')
  namespace :puma do
    desc 'Start puma server'
    task :start => :stop do
      cmd = 'puma -C config/puma.rb -e production'
      zfben_rails_rake_system 'mkdir tmp' unless File.exists? Rails.root.join('tmp')
      zfben_rails_rake_system cmd
    end

    desc 'Stop puma server'
    task :stop do
      if File.exists? Rails.root.join('tmp/puma.pid')
        zfben_rails_rake_system 'kill -QUIT `cat tmp/puma.pid`'
        sleep 1
        zfben_rails_rake_system 'rm tmp/puma.pid' if File.exists? Rails.root.join('tmp/puma.pid')
      end
    end

    desc 'Hot restart puma server'
    task :restart do
      if File.exists? Rails.root.join('tmp/puma.pid')
        zfben_rails_rake_system 'kill -USR2 `cat tmp/puma.pid`'
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.1092335546167773, 'fraction_numerical': 0.0024140012070006035, 'mean_word_length': 2.6600441501103753, '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': '1672325', 'n_tokens_mistral': 624, 'n_tokens_neox': 595, 'n_words': 148}