<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 rails db:seed command (or created alongside the database with db:setup).
#
# Examples:
#
#   movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
#   Character.create(name: 'Luke', movie: movies.first


Restaurant.create!(name: "The Matte Bakery", email:"<EMAIL>", password: "password")
Restaurant.create!(name: "Susie's diner", email:"<EMAIL>", password: "password")

Party.create!(restaurant_id: 1, name: "Smiths", size: 2, cell: "7738958335", in_queue: true, points_earned: 0)
Party.create!(restaurant_id: 1, name: "Maxwell", size: 4, cell: "7734562334", in_queue: true, points_earned: 1000)
Party.create!(restaurant_id: 1, name: "Johnson", size: 8, cell: "7739050234", in_queue: true, points_earned: 2000)
Party.create!(restaurant_id: 1, name: "Fonzi", size: 2, cell: "7736243333", in_queue: true, points_earned: 500)
#   Character.create(name: 'Luke', movie: movies.first)



api = Triviaapi.new
api.seed_db

Round.create!(quiz_id: 1, party_id: 1, secret_key: 123456)

Round.create!(quiz_id: 1, party_id: 2, secret_key: 123456)
<commit_msg>Create demo questions<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 rails db:seed command (or created alongside the database with db:setup).
#
# Examples:
#
#   movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
#   Character.create(name: 'Luke', movie: movies.first

Restaurant.create!(name: "DemoRestaurant", email:"<EMAIL>", password: "password")

Party.create!(restaurant_id: 1, name: "Smiths", size: 2, cell: "8883679203", in_queue: true, points_earned: 0)

Quiz.create!

Question.create!(question_text: "The color that is made by mixing red and blue.", answer: "purple", quiz_id: 1, value: 200)
Question.create!(question_text: "The animal that barks and has four legs.", answer: "dog", quiz_id: 1, value: 200)
Question.create!(question_text: "The brass instrument with the lowest range.", answer: "tuba", quiz_id: 1, value: 200)
Question.create!(question_text: "The capital of Illinois.", answer: "Springfield", quiz_id: 1, value: 200)
Question.create!(question_text: "The yellow condiment commonly found on hotdogs.", answer: "mustard", quiz_id: 1, value: 200)
{'fraction_non_alphanumeric': 0.14144736842105263, 'fraction_numerical': 0.04481907894736842, 'mean_word_length': 5.911931818181818, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '4754789', 'n_tokens_mistral': 903, 'n_tokens_neox': 783, 'n_words': 273}