<commit_before># This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
#   cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
#   Mayor.create(name: 'Emanuel', city: cities.first)

admin = User.create!(email:         "<EMAIL>",
             password:      "password",
             name:          "<NAME>",
             occupation:    "Developer",
             is_admin: true)

User.create!(email:         "<EMAIL>",
             password:      "<PASSWORD>",
             name:          "<NAME>",
             occupation:    "admin",
             is_admin: true)

Game.create!(title:          "Example Game",
            description:    "Example description of a game, which would include a short summary of what this is all about",
            status:         "released",
            link:           "http://example.com",
            platform:       "Xbox",
            votes:          0,
            user: admin)

Comment.create!(content:    "Example comment, which would reference a game somewhere",
            user_id:        1,
            game_id:        1)

Video.create!(
            title:          "Game",
            thumbnail:       "http://placehold.it/150x150",
            category:        "Trailer",
            embed:          "https://www.youtube.com/watch?v=9ZyQK6kUdWQ",
            game_id:        1)


99.times do |n|
  title  = Faker::App.name
  description = Faker::Lorem.sentence
  status = ["released", "beta"].sample
  platform = ["Xbox", "Playstation", "PC"].sample
  votes = rand(1..15)
  created_at = Faker::Time.between(7.days.ago, Time.now)

  email = Faker::Internet.email
  name = Faker::Name.name
  occupation = ["Developer", "Gamer", "Publisher"].sample

  user = User.create!(
    email:      email,
    password:   "<PASSWORD>",
    name:       name,
    occupation: occupation
  )

  Game.create!(title:       title,
             description:   description,
             status:        status,
             link:          "http://example.com",
             platform:      platform,
             votes:         votes,
             created_at:    created_at,<commit_msg>Update seed file to remove platform<commit_after># This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
#   cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
#   Mayor.create(name: 'Emanuel', city: cities.first)

admin = User.create!(email:         "<EMAIL>",
             password:      "password",
             name:          "<NAME>",
             occupation:    "Developer",
             is_admin: true)

User.create!(email:         "<EMAIL>",
             password:      "<PASSWORD>",
             name:          "<NAME>",
             occupation:    "admin",
             is_admin: true)

Game.create!(title:          "Example Game",
            description:    "Example description of a game, which would include a short summary of what this is all about",
            status:         "released",
            link:           "http://example.com",
            votes:          0,
            user: admin)

Comment.create!(content:    "Example comment, which would reference a game somewhere",
            user_id:        1,
            game_id:        1)

Video.create!(
            title:          "Game",
            thumbnail:       "http://placehold.it/150x150",
            category:        "Trailer",
            embed:          "https://www.youtube.com/watch?v=9ZyQK6kUdWQ",
            game_id:        1)


99.times do |n|
  title  = Faker::App.name
  description = Faker::Lorem.sentence
  status = ["released", "beta"].sample
  platform = ["Xbox", "Playstation", "PC"].sample
  votes = rand(1..15)
  created_at = Faker::Time.between(7.days.ago, Time.now)

  email = Faker::Internet.email
  name = Faker::Name.name
  occupation = ["Developer", "Gamer", "Publisher"].sample

  user = User.create!(
    email:      email,
    password:   "<PASSWORD>",
    name:       name,
    occupation: occupation
  )

  Game.create!(title:       title,
             description:   description,
             status:        status,
             link:          "http://example.com",
             votes:         votes,
             created_at:    created_at,
{'fraction_non_alphanumeric': 0.12262062859672422, 'fraction_numerical': 0.00796812749003984, 'mean_word_length': 1.7757985257985258, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '444334', 'n_tokens_mistral': 1282, 'n_tokens_neox': 1267, 'n_words': 346}