<commit_before>require 'faker'



  user1 = User.create(username: Faker::Name.name, email: Faker::Internet.email, password_hash: 'password')
  user2 = User.create(username: Faker::Name.name, email: Faker::Internet.email, password_hash: 'password')

  # first user asks question
  user1.questions.create(title: "#{user1.username} Question Title", body: "#{user1.username} Question Body")

  # second user answers that question
  user2.answers.create(body: "#{user2.username} Answer Body", question: Question.last

users = User.all<commit_msg>Modify seed file.<commit_after>require 'faker'



  user1 = User.create(username: Faker::Name.name, email: Faker::Internet.email, password_hash: 'password')
  user2 = User.create(username: Faker::Name.name, email: Faker::Internet.email, password_hash: 'password')

  # user asks question
  user1.questions.create(title: "#{user1.username} Question Title", body: "#{user1.username} Question Body")
  user2.questions.create(title: "#{user2.username} Question Title", body: "#{user2.username} Question Body")
  # second user answers that question
  user2.answers.create(body: "#{user2.username} Answer Body", question: Question.first)
  user1.answers.create(body: "#{user1.username} Answer Body", question: Question.last)


users = User.all
{'fraction_non_alphanumeric': 0.14475743348982786, 'fraction_numerical': 0.01486697965571205, 'mean_word_length': 5.9135135135135135, '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': '3360777', 'n_tokens_mistral': 411, 'n_tokens_neox': 390, 'n_words': 96}