<commit_before>require 'active_record/fixtures'

namespace :gremlin do
  namespace :data do
    desc "Load the generated gremlin data into the current environment's database (default: \"gremlin\")."
    task :import => [:environment, "db:migrate"] do
      Fixtures.reset_cache
      fixtures_folder = File.join(Rails.root, 'test', 'gremlin')
      fixtures = Dir[File.join(fixtures_folder, '*.yml')].map {|f| File.basename(f, '.yml') }
      Fixtures.create_fixtures(fixtures_folder, fixtures)
    end
  end
end<commit_msg>do not explicitly migrate<commit_after>require 'active_record/fixtures'

namespace :gremlin do
  namespace :data do
    desc "Load the generated gremlin data into the current environment's database (default: \"gremlin\")."
    task :import => :environment do
      Fixtures.reset_cache
      fixtures_folder = File.join(Rails.root, 'test', 'gremlin')
      fixtures = Dir[File.join(fixtures_folder, '*.yml')].map {|f| File.basename(f, '.yml') }
      Fixtures.create_fixtures(fixtures_folder, fixtures)
    end
  end
end
{'fraction_non_alphanumeric': 0.12452107279693486, 'fraction_numerical': 0.0, 'mean_word_length': 4.199004975124378, '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': '2964280', 'n_tokens_mistral': 343, 'n_tokens_neox': 326, 'n_words': 85}