<commit_before>namespace :server do

  desc 'Start development environment'
  task :start do
    Rake::Task['sunspot:solr:start'].invoke
    Rake::Task['sidekiq:start'].invoke
    Rake::Task['server:rails:start'].invoke
  end

  desc 'Stop development environment'
  task :stop do
    Rake::Task['sunspot:solr:stop'].invoke
    Rake::Task['sidekiq:stop'].invoke
    Rake::Task['server:rails:stop'].invoke
  end

  namespace :rails do
    SERVER_PID_FILE = Rails.root.join('tmp', 'pids', 'server.pid')

    desc 'Start rails server'
    task :start do
      system 'rails server &'
    end

    desc 'Stop rails server'
    task :stop do
      system "kill -INT $(cat #{SERVER_PID_FILE})"
    end
  end

end<commit_msg>redirect rails server output to /dev/null<commit_after>namespace :server do

  desc 'Start development environment'
  task :start do
    Rake::Task['sunspot:solr:start'].invoke
    Rake::Task['sidekiq:start'].invoke
    Rake::Task['server:rails:start'].invoke
  end

  desc 'Stop development environment'
  task :stop do
    Rake::Task['sunspot:solr:stop'].invoke
    Rake::Task['sidekiq:stop'].invoke
    Rake::Task['server:rails:stop'].invoke
  end

  namespace :rails do
    SERVER_PID_FILE = Rails.root.join('tmp', 'pids', 'server.pid')

    desc 'Start rails server'
    task :start do
      system 'rails server 2>&1 > /dev/null &'
    end

    desc 'Stop rails server'
    task :stop do
      system "kill -INT $(cat #{SERVER_PID_FILE})"
    end
  end

end
{'fraction_non_alphanumeric': 0.13301823092505063, 'fraction_numerical': 0.0013504388926401081, 'mean_word_length': 3.588235294117647, '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': '3267733', 'n_tokens_mistral': 509, 'n_tokens_neox': 476, 'n_words': 122}