<commit_before>require 'net/http'
require 'rubygems'
require 'rake/gempackagetask'
require 'test/unit'

task :default => [
        :prepare,
        :gem,
        :uninstall_gem, 
        :install_gem,
        :create_app,
        :go_to_homepage
]

task :prepare do
  rm_rf 'pkg'
end

task :uninstall_gem do
  begin
    `sudo gem uninstall racingonrails`
  rescue
    put('uninstall gem failed')<commit_msg>added dist<commit_after>require 'net/http'
require 'rubygems'
require 'rake/gempackagetask'
require 'test/unit'

task :dist => [
        :prepare,
        :gem,
        :uninstall_gem, 
        :install_gem,
        :create_app,
        :go_to_homepage
]

task :prepare do
  rm_rf 'pkg'
end

task :uninstall_gem do
  begin
    `sudo gem uninstall racingonrails`
  rescue
    put('uninstall gem failed')
{'fraction_non_alphanumeric': 0.09876543209876543, 'fraction_numerical': 0.0, 'mean_word_length': 2.8254716981132075, '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': '464914', 'n_tokens_mistral': 288, 'n_tokens_neox': 283, 'n_words': 68}