<commit_before>require 'faker'

5.times do |topic|
  title = Faker::Hacker.abbreviation
  Topic.create!(title: title)
end

puts '5 Topics created'

10.times do |number|
  body = Faker::Lorem.paragraph(2)
  Blog.create!(title: "Blog Post #{number + 1}", body: body, topic: Topic.last)
end

puts '10 Blog posts created with Topic associations'

5.times do |number|
  Skill.create(title: "Skill #{number + 1}", proficiency: 95)
end

puts '5 Skills created'<commit_msg>Removing block variable<commit_after>require 'faker'

5.times do
  title = Faker::Hacker.abbreviation
  Topic.create!(title: title)
end

puts '5 Topics created'

10.times do |number|
  body = Faker::Lorem.paragraph(2)
  Blog.create!(title: "Blog Post #{number + 1}", body: body, topic: Topic.last)
end

puts '10 Blog posts created with Topic associations'

5.times do |number|
  Skill.create(title: "Skill #{number + 1}", proficiency: 95)
end

puts '5 Skills created'
{'fraction_non_alphanumeric': 0.13304721030042918, 'fraction_numerical': 0.027896995708154508, 'mean_word_length': 4.83125, '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': '5959014', 'n_tokens_mistral': 351, 'n_tokens_neox': 330, 'n_words': 102}