<commit_before># == Schema Information
#
# Table name: issues
#
#  id            :integer         not null, primary key
#  created_by_id :integer         not null
#  title         :string(255)     not null
#  description   :text            not null
#  created_at    :datetime        not null
#  updated_at    :datetime        not null
#  deleted_at    :datetime
#  location      :spatial({:srid=
#  photo_uid     :string(255)
#

FactoryGirl.define do
  factory :issue do
    title "There's something wrong"
    description "Whose leg do you have to hump to get a dry martini around here?"
    location "POINT(-122 47)"
    association :created_by, factory: :user

    factory :issue_with_json_loc do<commit_msg>Issues should use a sequence for the title so they are unique lists.<commit_after># == Schema Information
#
# Table name: issues
#
#  id            :integer         not null, primary key
#  created_by_id :integer         not null
#  title         :string(255)     not null
#  description   :text            not null
#  created_at    :datetime        not null
#  updated_at    :datetime        not null
#  deleted_at    :datetime
#  location      :spatial({:srid=
#  photo_uid     :string(255)
#

FactoryGirl.define do
  factory :issue do
    sequence(:title) {|n| "Issue #{n}" }
    description "Whose leg do you have to hump to get a dry martini around here?"
    location "POINT(-122 47)"
    association :created_by, factory: :user

    factory :issue_with_json_loc do
{'fraction_non_alphanumeric': 0.08232118758434548, 'fraction_numerical': 0.014844804318488529, 'mean_word_length': 2.5059101654846336, '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': '629060', 'n_tokens_mistral': 461, 'n_tokens_neox': 440, 'n_words': 155}