<commit_before># Create users
test_user = User.create(first_name: 'testing', last_name: 'tester', email: '<EMAIL>', password: 'password')

# Create sections
accessory = Section.create(name: "Accessory")
top = Section.create(name: "Top")
bottom = Section.create(name: "Bottom")
footwear = Section.create(name: "Footwear")

# Create items
hat = Item.create(user: test_user, section: accessory, image: open('http://i.imgur.com/l4xkojL.jpg'))
shirt = Item.create(user: test_user, section: top, image: open('http://i.imgur.com/g5uUVcf.jpg'))
shorts = Item.create(user: test_user, section: bottom, image: open('http://i.imgur.com/DLOk5Ox.jpg'))
shoes = Item.create(user: test_user, section: footwear, image: open('http://i.imgur.com/QdDnukb.jpg'))
watch = Item.create(user: test_user, section: accessory, image: open('http://i.imgur.com/F5JJz4A.jpg'))
dress = Item.create(user: test_user, section: top, image: open('http://i.imgur.com/phSBuTI.jpg'))
leggings = Item.create(user: test_user, section: bottom, image: open('http://i.imgur.com/kbIaSZe.jpg'))
heels = Item.create(user: test_user, section: footwear, image: open('http://i.imgur.com/n1QSuJI.jpg'))

# Create outfits
outfit_one = Outfit.create(user: test_user)
outfit_two = Outfit.create(user: test_user)

# Add items to outfits
OutfitsItem.create(outfit: outfit_one, item: hat)
OutfitsItem.create(outfit: outfit_one, item: shirt)
OutfitsItem.create(outfit: outfit_one, item: shorts)
OutfitsItem.create(outfit: outfit_one, item: shoes)

OutfitsItem.create(outfit: outfit_two, item: watch)
OutfitsItem.create(outfit: outfit_two, item: dress)
OutfitsItem.create(outfit: outfit_two, item: leggings)
OutfitsItem.create(outfit: outfit_two, item: heels)

# Create tags
fancy = Tag.create(user: test_user, name: "Fancy")
comfy = Tag.create(user: test_user, name: "Comfy")
work = Tag.create(user: test_user, name: "Work")

# Add tags to items
TagsItem.create(tag: fancy, item: heels)
TagsItem.create(tag: fancy, item: dress)
TagsItem.create(tag: fancy, item: watch)

TagsItem.create(tag: comfy, item: shirt)
TagsItem.create(tag: comfy, item: shorts)
TagsItem.create(tag: comfy, item: hat)
TagsItem.create(tag: comfy, item: shoes)

TagsItem.create(tag: work, item: dress)
TagsItem.create(tag: work, item: leggings)
TagsItem.create(tag: work, item: watch)
<commit_msg>Add photos to seed file<commit_after># Create user
bobby = User.create(first_name: 'bobby', last_name: 'gopher', email: '<EMAIL>', password: 'password')

# Create sections
accessory = Section.create(name: "Accessory")
top = Section.create(name: "Top")
bottom = Section.create(name: "Bottom")
footwear = Section.create(name: "Footwear")

# Create items
a = Item.create(user: bobby, section: accessory, image: open('http://i.imgur.com/Sc5Emjg.jpg'))
e = Item.create(user: bobby, section: accessory, image: open('http://i.imgur.com/XbZLZ3Q.jpg'))
i = Item.create(user: bobby, section: accessory, image: open('http://i.imgur.com/TzpzUeT.jpg'))
Item.create(user: bobby, section: accessory, image: open('http://i.imgur.com/tm00eQu.jpg'))
Item.create(user: bobby, section: accessory, image: open('http://i.imgur.com/22BxOoP.jpg'))
Item.create(user: bobby, section: accessory, image: open('http://i.imgur.com/dQvKetx.jpg'))
Item.create(user: bobby, section: accessory, image: open('http://i.imgur.com/yBhAfK7.jpg'))
Item.create(user: bobby, section: accessory, image: open('http://i.imgur.com/Dza6E40.jpg'))
Item.create(user: bobby, section: accessory, image: open('http://i.imgur.com/0gEhTwo.jpg?1'))
Item.create(user: bobby, section: accessory, image: open('http://i.imgur.com/OVGVHGG.jpg'))
Item.create(user: bobby, section: accessory, image: open('http://i.imgur.com/7y488Y6.jpg'))
Item.create(user: bobby, section: accessory, image: open('http://i.imgur.com/okCyybc.jpg'))
Item.create(user: bobby, section: accessory, image: open('http://i.imgur.com/DQIxJ9m.jpg'))
Item.create(user: bobby, section: accessory, image: open('http://i.imgur.com/GI0Yzs5.jpg'))
Item.create(user: bobby, section: accessory, image: open('http://i.imgur.com/zwKHtf1.jpg'))
Item.create(user: bobby, section: accessory, image: open('http://i.imgur.com/sa3Z4Gj.jpg'))
Item.create(user: bobby, section: accessory, image: open('http://i.imgur.com/3H48uyC.jpg'))
Item.create(user: bobby, section: accessory, image: open('http://i.imgur.com/kFN8VOj.jpg'))

b = Item.create(user: bobby, section: top, image: open('http://i.imgur.com/vNr8nYQ.jpg'))
f = Item.create(user: bobby, section: top, image: open('http://i.imgur.com/Oiel6NA.jpg'))
j = Item.create(user: bobby, section: top, image: open('http://i.imgur.com/6czOgTo.jpg'))
Item.create(user: bobby, section: top, image: open('http://i.imgur.com/eNGWJVR.jpg'))
Item.create(user: bobby, section: top, image: open('http://i.imgur.com/xpJmh1y.jpg'))
Item.create(user: bobby, section: top, image: open('http://i.imgur.com/d8Qidp9.jpg'))
Item.create(user: bobby, section: top, image: open('http://i.imgur.com/ciNtBFp.jpg'))
Item.create(user: bobby, section: top, image: open('http://i.imgur.com/78FuS4f.jpg'))
Item.create(user: bobby, section: top, image: open('http://i.imgur.com/R8tODtj.jpg'))
Item.create(user: bobby, section: top, image: open('http://i.imgur.com/DA77U6y.jpg'))
Item.create(user: bobby, section: top, image: open('http://i.imgur.com/TOj2m2V.jpg'))
Item.create(user: bobby, section: top, image: open('http://i.imgur.com/hmHrTy7.jpg'))
Item.create(user: bobby, section: top, image: open('http://i.imgur.com/ubCWRMn.jpg'))
Item.create(user: bobby, section: top, image: open('http://i.imgur.com/gRbDoPn.jpg'))
Item.create(user: bobby, section: top, image: open('http://i.imgur.com/J7iRKLy.jpg'))
Item.create(user: bobby, section: top, image: open('http://i.imgur.com/bbtB8x5.jpg'))
Item.create(user: bobby, section: top, image: open('http://i.imgur.com/OcThnj7.jpg'))
Item.create(user: bobby, section: top, image: open('http://i.imgur.com/kwTYoqt.jpg'))
Item.create(user: bobby, section: top, image: open('http://i.imgur.com/eNM0YzN.jpg'))
Item.create(user: bobby, section: top, image: open('http://i.imgur.com/wYxC6F0.jpg'))
Item.create(user: bobby, section: top, image: open('http://i.imgur.com/YC7vltk.jpg'))

c = Item.create(user: bobby, section: bottom, image: open('http://i.imgur.com/r8Stusr.jpg'))
g = Item.create(user: bobby, section: bottom, image: open('http://i.imgur.com/SXn0pnV.jpg'))
k = Item.create(user: bobby, section: bottom, image: open('http://i.imgur.com/VwBL9J5.jpg'))
Item.create(user: bobby, section: bottom, image: open('http://i.imgur.com/YkavJh3.jpg?1'))
Item.create(user: bobby, section: bottom, image: open('http://i.imgur.com/AoV2tv0.jpg'))
Item.create(user: bobby, section: bottom, image: open('http://i.imgur.com/KIqLrK9.jpg'))
Item.create(user: bobby, section: bottom, image: open('http://i.imgur.com/ays9ULE.jpg'))
Item.create(user: bobby, section: bottom, image: open('http://i.imgur.com/rn7GtuV.jpg'))
Item.create(user: bobby, section: bottom, image: open('http://i.imgur.com/VMin4ks.jpg'))
Item.create(user: bobby, section: bottom, image: open('http://i.imgur.com/21mR9Xy.jpg'))

d = Item.create(user: bobby, section: footwear, image: open('http://i.imgur.com/fwKDKbN.jpg'))
h = Item.create(user: bobby, section: footwear, image: open('http://i.imgur.com/OdgXVoj.jpg'))
l = Item.create(user: bobby, section: footwear, image: open('http://i.imgur.com/5ZXXIyh.jpg'))
Item.create(user: bobby, section: footwear, image: open('http://i.imgur.com/uVQqLOV.jpg'))
Item.create(user: bobby, section: footwear, image: open('http://i.imgur.com/Nut5tUl.jpg'))
Item.create(user: bobby, section: footwear, image: open('http://i.imgur.com/1mJSbi6.jpg'))
Item.create(user: bobby, section: footwear, image: open('http://i.imgur.com/pFfpoSB.jpg'))
Item.create(user: bobby, section: footwear, image: open('http://i.imgur.com/taycIys.jpg'))
Item.create(user: bobby, section: footwear, image: open('http://i.imgur.com/doYera3.jpg?1'))
Item.create(user: bobby, section: footwear, image: open('http://i.imgur.com/FWk2Vpu.jpg'))

# Create outfits
outfit_one = Outfit.create(user: bobby)
outfit_two = Outfit.create(user: bobby)
outfit_three = Outfit.create(user: bobby)

# Add items to outfits
OutfitsItem.create(outfit: outfit_one, item: a)
OutfitsItem.create(outfit: outfit_one, item: b)
OutfitsItem.create(outfit: outfit_one, item: c)
OutfitsItem.create(outfit: outfit_one, item: d)

OutfitsItem.create(outfit: outfit_two, item: e)
OutfitsItem.create(outfit: outfit_two, item: f)
OutfitsItem.create(outfit: outfit_two, item: g)
OutfitsItem.create(outfit: outfit_two, item: h)

OutfitsItem.create(outfit: outfit_three, item: i)
OutfitsItem.create(outfit: outfit_three, item: j)
OutfitsItem.create(outfit: outfit_three, item: k)
OutfitsItem.create(outfit: outfit_three, item: l)

# Create tags
fancy = Tag.create(user: bobby, name: "Fancy")
comfy = Tag.create(user: bobby, name: "Comfy")
work = Tag.create(user: bobby, name: "Work")

# Add tags to items
TagsItem.create(tag: fancy, item: i)
TagsItem.create(tag: fancy, item: j)
TagsItem.create(tag: fancy, item: l)

TagsItem.create(tag: comfy, item: a)
TagsItem.create(tag: comfy, item: b)
TagsItem.create(tag: comfy, item: c)
TagsItem.create(tag: comfy, item: k)
TagsItem.create(tag: comfy, item: e)
TagsItem.create(tag: comfy, item: h)

TagsItem.create(tag: work, item: d)
TagsItem.create(tag: work, item: f)
TagsItem.create(tag: work, item: g)

{'fraction_non_alphanumeric': 0.186650978714301, 'fraction_numerical': 0.008450101615146005, 'mean_word_length': 6.045968349660889, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2424372', 'n_tokens_mistral': 3600, 'n_tokens_neox': 3525, 'n_words': 719}