<commit_before>namespace :heroku do

  desc 'Test task: heroku run rake heroku:test["hello world"]'
  task :test, [:str] do |t, args|
    puts format('heroku test task with args: %s', args)
  end

  # bundle exec rake heroku:reset_db['recruiters-on-rails']
  desc 'Reset database with seed data:'
  task :reset_db, [:app_name] do |t, args|
    run_command("pg:reset DATABASE_URL --confirm #{args.app_name}", args.app_name)<commit_msg>Updates comments in heroku rake file.<commit_after>namespace :heroku do

  # bundle exec rake heroku:test["hello world"]
  desc 'Test task'
  task :test, [:str] do |t, args|
    puts format('heroku test task with args: %s', args)
  end

  # bundle exec rake heroku:reset_db['recruiters-on-rails']
  # Note: run locally with Heroku toolbelt to reset DB on app
  desc 'Reset database with seed data'
  task :reset_db, [:app_name] do |t, args|
    run_command("pg:reset DATABASE_URL --confirm #{args.app_name}", args.app_name)
{'fraction_non_alphanumeric': 0.12539184952978055, 'fraction_numerical': 0.0, 'mean_word_length': 4.505747126436781, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2810144', 'n_tokens_mistral': 338, 'n_tokens_neox': 329, 'n_words': 109}