<commit_before>namespace :basic_engine do
   desc "Syncronize extra files for basic engine."
   task :sync do
     system "rsync -ruv --exclude '.*' vendor/plugins/basic_engine/public ."
   end
   
   desc "Installs dependent plugins for basic engine."
   task :install_dependencies do
     if File.exists?(File.join(RAILS_ROOT, '.svn'))
       svn_option = '-x' # for external use '-e'
       ['http://repo.pragprog.com/svn/Public/plugins/annotate_models',
        'https://ndlb.svn.sourceforge.net/svnroot/ndlb/portal/ror/plugins/authenticated_system/trunk',
        'http://ndlb.svn.sourceforge.net/svnroot/ndlb/portal/ror/plugins/complex_scripts/trunk',
        'http://dev.rubyonrails.org/svn/rails/plugins/in_place_editing'].each{ |plugin| system "script/plugin install #{svn_option} #{plugin}"}
       # git
       ['git://github.com/joshmh/globalize2.git',
        'git://github.com/rails/open_id_authentication.git',
        'git://github.com/technoweenie/restful-authentication.git'].each{ |plugin| system "script/plugin install #{plugin}"}
     else
       git_installers = { 'annotate_models' => 'git://github.com/ctran/annotate_models.git', 'authenticated_system' => 'git://github.com/thl/authenticated_system.git', 'complex_scripts' => 'git://github.com/thl/complex_scripts.git', 'globalize2' => 'git://github.com/joshmh/globalize2.git', 'open_id_authentication' => 'git://github.com/rails/open_id_authentication.git', 'restful-authentication'  => 'git://github.com/technoweenie/restful-authentication.git' }
       if File.exists?(File.join(RAILS_ROOT, '.git'))
         git_installers.each_with_index{ |url, path| "git submodule add #{url} vendor/plugins/#{path}" }
       else
         git_installers.each_with_index{ |url, path| "script/plugin install #{url}" }
       end
     end
   end

   desc "Copies necessary migrations and public files of dependencies."   
   task :deploy_dependencies do
     ['authenticated_system', 'basic_engine', 'complex_scripts'].each{|plugin|  system "rake #{plugin}:sync" }<commit_msg>updating git dependencies<commit_after>namespace :basic_engine do
   desc "Syncronize extra files for basic engine."
   task :sync do
     system "rsync -ruv --exclude '.*' vendor/plugins/basic_engine/public ."
   end
   
   desc "Installs dependent plugins for basic engine."
   task :install_dependencies do
     if File.exists?(File.join(RAILS_ROOT, '.svn'))
       svn_option = '-x' # for external use '-e'
       ['http://repo.pragprog.com/svn/Public/plugins/annotate_models',
        'https://ndlb.svn.sourceforge.net/svnroot/ndlb/portal/ror/plugins/authenticated_system/trunk',
        'http://ndlb.svn.sourceforge.net/svnroot/ndlb/portal/ror/plugins/complex_scripts/trunk',
        'http://dev.rubyonrails.org/svn/rails/plugins/in_place_editing'].each{ |plugin| system "script/plugin install #{svn_option} #{plugin}"}
       # git
       ['git://github.com/joshmh/globalize2.git',
        'git://github.com/rails/open_id_authentication.git',
        'git://github.com/technoweenie/restful-authentication.git'].each{ |plugin| system "script/plugin install #{plugin}"}
     else
       git_installers = { 'annotate_models' => 'git://github.com/ctran/annotate_models.git', 'authenticated_system' => 'git://github.com/thl/authenticated_system.git', 'complex_scripts' => 'git://github.com/thl/complex_scripts.git', 'globalize2' => 'git://github.com/joshmh/globalize2.git', 'open_id_authentication' => 'git://github.com/rails/open_id_authentication.git', 'restful-authentication'  => 'git://github.com/technoweenie/restful-authentication.git' }
       if File.exists?(File.join(RAILS_ROOT, '.git'))
         git_installers.each{ |path, url| system "git submodule add #{url} vendor/plugins/#{path}" }
       else
         git_installers.each{ |path, url| system "script/plugin install #{url}" }
       end
     end
   end

   desc "Copies necessary migrations and public files of dependencies."   
   task :deploy_dependencies do
     ['authenticated_system', 'basic_engine', 'complex_scripts'].each{|plugin|  system "rake #{plugin}:sync" }
{'fraction_non_alphanumeric': 0.1525257479156449, 'fraction_numerical': 0.0014713094654242277, 'mean_word_length': 3.7707602339181285, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 2, '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': '2204295', 'n_tokens_mistral': 1348, 'n_tokens_neox': 1317, 'n_words': 224}