<commit_before>require 'factory_girl'

Factory.define :user do |u|
  u.name 'Test User'
  u.email '<EMAIL>'
  u.password '<PASSWORD>'
end

Factory.define :signup do |s|
  s.email "<EMAIL>"
  s.contact "true"
end<commit_msg>Add a factory to generate our test github user.<commit_after>require 'factory_girl'

# NOTE: this file does not automatically reload in Rails server. Use load() or restart the server.

Factory.define :user do |u|
  u.name 'Test User'
  u.email '<EMAIL>'
  u.password '<PASSWORD>'
end

Factory.define :github_user, :class => User do |u|
  # This user doesnt have a username or email set up in their profile
  u.email '<EMAIL>'
  u.password '<PASSWORD>'
  u.name 'Circle Dummy user'
end

Factory.define :signup do |s|
  s.email "<EMAIL>"
  s.contact "true"
end
{'fraction_non_alphanumeric': 0.12419974391805377, 'fraction_numerical': 0.0, 'mean_word_length': 4.04516129032258, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 12, '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': '4466360', 'n_tokens_mistral': 272, 'n_tokens_neox': 267, 'n_words': 97}