<commit_before>Restaurant.create!([{"yelp_id"=>"monks-pub-chicago", "name"=>"<NAME>", "display_phone"=>"+1-312-357-6665", "address"=>"205 W Lake St The Loop Chicago, IL 60606", "zipcode"=>"60606", "cuisine"=>"Pubs", "latitude"=>41.8855132, "longitude"=>-87.6343115}, {"yelp_id"=>"cocello-chicago-2", "name"=>"Cocello", "display_phone"=>"+1-312-888-9195", "address"=>"354 W Hubbard St Near North Side Chicago, IL 60654", "zipcode"=>"60654", "cuisine"=>"Italian", "latitude"=>41.8901676, "longitude"=>-87.6378238}])
# sleep 2
Restaurant.create!([{"yelp_id"=>"gilt-bar-chicago", "name"=>"<NAME>", "display_phone"=>"+1-312-464-9544", "address"=>"230 W Kinzie St Near North Side Chicago, IL 60654", "zipcode"=>"60654", "cuisine"=>"American (New)", "latitude"=>41.8893236, "longitude"=>-87.6352298}, {"yelp_id"=>"the-publican-chicago", "name"=>"<NAME>", "display_phone"=>"+1-312-733-9555", "address"=>"837 W Fulton Market Near West Side Chicago, IL 60607", "zipcode"=>"60607", "cuisine"=>"Pubs", "latitude"=>41.8865907, "longitude"=>-87.6490866}, {"yelp_id"=>"watershed-chicago", "name"=>"Watershed", "display_phone"=>"+1-312-266-7677", "address"=>"601 N State St Near North Side Chicago, IL 60654", "zipcode"=>"60654", "cuisine"=>"Lounges", "latitude"=>41.892894, "longitude"=>-87.627736}])
# sleep 2
Restaurant.create!([{"yelp_id"=>"green-door-tavern-chicago", "name"=>"<NAME>", "display_phone"=>"+1-312-664-5496", "address"=>"678 N Orleans St Near North Side Chicago, IL 60654", "zipcode"=>"60654", "cuisine"=>"Pubs", "latitude"=>nil, "longitude"=>nil}, {"yelp_id"=>"mcdonalds-chicago-178", "name"=>"McDonald's", "display_phone"=>"+1-312-867-0455", "address"=>"600 N Clark St Near North Side Chicago, IL 60610", "zipcode"=>"60610", "cuisine"=>"Fast Food", "latitude"=>41.8929549, "longitude"=>-87.6314934}])
# sleep 2
Restaurant.create!([{"yelp_id"=>"ed-debevics-short-order-deluxe-chicago", "name"=>"<NAME>", "display_phone"=>"+1-312-664-1707", "address"=>"640 N Wells St Near North Side Chicago, IL 60654", "zipcode"=>"60654", "cuisine"=>"Diners", "latitude"=>41.893631, "longitude"=>-87.634507}, {"yelp_id"=>"three-dots-and-a-dash-chicago", "name"=>"Three Dots and a Dash", "display_phone"=>"+1-312-610-4220", "address"=>"435 N Clark St Back alley on Hubbard St Near North Side Chicago, IL 60654", "zipcode"=>"60654", "cuisine"=>"Bars", "latitude"=>41.95731, "longitude"=>-87.7566513}, { "yelp_id"=>"the-walnut-room-chicago", "name"=>"<NAME>", "display_phone"=>"+1-312-781-3139", "address"=>"Marshall Field's 111 N State St The Loop Chicago, IL 60602", "zipcode"=>"60602", "cuisine"=>"American (Traditional)", "latitude"=>41.8834728, "longitude"=>-87.6291268}])
# sleep 2
Restaurant.create!([{ "yelp_id"=>"cafe-ba-ba-reeba-chicago", "name"=>"<NAME>!", "display_phone"=>"+1-773-935-5000", "address"=>"2024 North Halsted Street Lincoln Park Chicago, IL 60614", "zipcode"=>"60614", "cuisine"=>"Spanish", "latitude"=>41.9189708, "longitude"=>-87.6488332}, { "yelp_id"=>"perennial-virant-chicago-3", "name"=>"<NAME>", "display_phone"=>"+1-312-981-7070", "address"=>"1800 N Lincoln Ave Lincoln Park Chicago, IL 60614", "zipcode"=>"60614", "cuisine"=>"American (New)", "latitude"=>41.9153662, "longitude"=>-87.634498}])
# sleep 2
Restaurant.create!([{ "yelp_id"=>"the-j-parker-chicago-2", "name"=>"<NAME>", "display_phone"=>"+1-312-254-4747", "address"=>"1816 N Clark 13th Fl Lincoln Park Chicago, IL 60614", "zipcode"=>"60614", "cuisine"=>"American (New)", "latitude"=>41.9203468, "longitude"=>-87.6433139}, { "yelp_id"=>"fountainhead-chicago", "name"=>"Fountainhead", "display_phone"=>"+1-773-697-8204", "address"=>"1970 W Montrose Ave North Center Chicago, IL 60640", "zipcode"=>"60640", "cuisine"=>"Pubs", "latitude"=>41.9614682, "longitude"=>-87.6786843}, { "yelp_id"=>"caro-mio-chicago", "name"=>"<NAME>", "display_phone"=>"+1-773-275-5000", "address"=>"1825 W Wilson Ave Ravenswood Chicago, IL 60640", "zipcode"=>"60640", "cuisine"=>"Italian", "longitude"=>-87.6756478}])
# sleep 2
Restaurant.create!([{ "yelp_id"=>"garcias-restaurant-chicago", "name"=>"Garcia's Restaurant", "display_phone"=>"+1-773-769-5600", "address"=>"4760 N Lincoln Ave Ravenswood Chicago, IL 60625", "zipcode"=>"60625", "cuisine"=>"Mexican", "latitude"=>41.9680505, "longitude"=>-87.688395}, { "yelp_id"=>"pleasant-house-bakery-chicago", "name"=>"Pleasant House Bakery", "display_phone"=>"+1-773-523-7437", "address"=>"964 W 31st St Bridgeport Chicago, IL 60608", "zipcode"=>"60608", "cuisine"=>"British", "latitude"=>41.8380794, "longitude"=>-87.6512529}])
# sleep 2
Restaurant.create!([{ "yelp_id"=>"bistro-campagne-chicago", "name"=>"<NAME>", "display_phone"=>"+1-773-271-6100", "address"=>"4518 N Lincoln Ave Ravenswood Chicago, IL 60625", "zipcode"=>"60625", "cuisine"=>"French", "latitude"=>41.9636449, "longitude"=>-87.685632}, { "yelp_id"=>"southport-grocery-and-cafe-chicago", "name"=>"Southport Grocery & Cafe", "display_phone"=>"+1-773-665-0100", "address"=>"3552 N Southport Ave Lakeview Chicago, IL 60657", "zipcode"=>"60657", "cuisine"=>"Breakfast & Brunch", "latitude"=>41.946743, "longitude"=>-87.664357}, { "yelp_id"=>"the-boiler-room-chicago-2", "name"=>"The Boiler Room", "display_phone"=>"+1-773-276-5625", "address"=>"2210 N California Ave Logan Square Chicago, IL 60647", "zipcode"=>"60647", "cuisine"=>"Pizza", "latitude"=>41.9220745, "longitude"=>-87.6976054}])

Restaurant.all.each do |restaurant|
  rand(2..4).times do |i|
    min_group_size = rand(2..4)
    max_group_size = rand(5..10)
    Promotion.create!(name: "Promo#{i}",
                       min_group_size: min_group_size,
                       max_group_size: max_group_size,<commit_msg>Update seeds.rb<commit_after>Restaurant.create!([{"yelp_id"=>"monks-pub-chicago", "name"=>"<NAME>", "display_phone"=>"+1-312-357-6665", "address"=>"205 W Lake St The Loop Chicago, IL 60606", "zipcode"=>"60606", "cuisine"=>"Pubs", "latitude"=>41.8855132, "longitude"=>-87.6343115}, {"yelp_id"=>"cocello-chicago-2", "name"=>"Cocello", "display_phone"=>"+1-312-888-9195", "address"=>"354 W Hubbard St Near North Side Chicago, IL 60654", "zipcode"=>"60654", "cuisine"=>"Italian", "latitude"=>41.8901676, "longitude"=>-87.6378238}])
sleep 2
Restaurant.create!([{"yelp_id"=>"gilt-bar-chicago", "name"=>"<NAME>", "display_phone"=>"+1-312-464-9544", "address"=>"230 W Kinzie St Near North Side Chicago, IL 60654", "zipcode"=>"60654", "cuisine"=>"American (New)", "latitude"=>41.8893236, "longitude"=>-87.6352298}, {"yelp_id"=>"the-publican-chicago", "name"=>"<NAME>", "display_phone"=>"+1-312-733-9555", "address"=>"837 W Fulton Market Near West Side Chicago, IL 60607", "zipcode"=>"60607", "cuisine"=>"Pubs", "latitude"=>41.8865907, "longitude"=>-87.6490866}, {"yelp_id"=>"watershed-chicago", "name"=>"Watershed", "display_phone"=>"+1-312-266-7677", "address"=>"601 N State St Near North Side Chicago, IL 60654", "zipcode"=>"60654", "cuisine"=>"Lounges", "latitude"=>41.892894, "longitude"=>-87.627736}])
sleep 2
Restaurant.create!([{"yelp_id"=>"green-door-tavern-chicago", "name"=>"<NAME>", "display_phone"=>"+1-312-664-5496", "address"=>"678 N Orleans St Near North Side Chicago, IL 60654", "zipcode"=>"60654", "cuisine"=>"Pubs", "latitude"=>nil, "longitude"=>nil}, {"yelp_id"=>"mcdonalds-chicago-178", "name"=>"McDonald's", "display_phone"=>"+1-312-867-0455", "address"=>"600 N Clark St Near North Side Chicago, IL 60610", "zipcode"=>"60610", "cuisine"=>"Fast Food", "latitude"=>41.8929549, "longitude"=>-87.6314934}])
sleep 2
Restaurant.create!([{"yelp_id"=>"ed-debevics-short-order-deluxe-chicago", "name"=>"<NAME>", "display_phone"=>"+1-312-664-1707", "address"=>"640 N Wells St Near North Side Chicago, IL 60654", "zipcode"=>"60654", "cuisine"=>"Diners", "latitude"=>41.893631, "longitude"=>-87.634507}, {"yelp_id"=>"three-dots-and-a-dash-chicago", "name"=>"Three Dots and a Dash", "display_phone"=>"+1-312-610-4220", "address"=>"435 N Clark St Back alley on Hubbard St Near North Side Chicago, IL 60654", "zipcode"=>"60654", "cuisine"=>"Bars", "latitude"=>41.95731, "longitude"=>-87.7566513}, { "yelp_id"=>"the-walnut-room-chicago", "name"=>"The <NAME>", "display_phone"=>"+1-312-781-3139", "address"=>"Marshall Field's 111 N State St The Loop Chicago, IL 60602", "zipcode"=>"60602", "cuisine"=>"American (Traditional)", "latitude"=>41.8834728, "longitude"=>-87.6291268}])
sleep 2
Restaurant.create!([{ "yelp_id"=>"cafe-ba-ba-reeba-chicago", "name"=>"<NAME>!", "display_phone"=>"+1-773-935-5000", "address"=>"2024 North Halsted Street Lincoln Park Chicago, IL 60614", "zipcode"=>"60614", "cuisine"=>"Spanish", "latitude"=>41.9189708, "longitude"=>-87.6488332}, { "yelp_id"=>"perennial-virant-chicago-3", "name"=>"<NAME>", "display_phone"=>"+1-312-981-7070", "address"=>"1800 N Lincoln Ave Lincoln Park Chicago, IL 60614", "zipcode"=>"60614", "cuisine"=>"American (New)", "latitude"=>41.9153662, "longitude"=>-87.634498}])
sleep 2
Restaurant.create!([{ "yelp_id"=>"the-j-parker-chicago-2", "name"=>"<NAME>", "display_phone"=>"+1-312-254-4747", "address"=>"1816 N Clark 13th Fl Lincoln Park Chicago, IL 60614", "zipcode"=>"60614", "cuisine"=>"American (New)", "latitude"=>41.9203468, "longitude"=>-87.6433139}, { "yelp_id"=>"fountainhead-chicago", "name"=>"Fountainhead", "display_phone"=>"+1-773-697-8204", "address"=>"1970 W Montrose Ave North Center Chicago, IL 60640", "zipcode"=>"60640", "cuisine"=>"Pubs", "latitude"=>41.9614682, "longitude"=>-87.6786843}, { "yelp_id"=>"caro-mio-chicago", "name"=>"<NAME>", "display_phone"=>"+1-773-275-5000", "address"=>"1825 W Wilson Ave Ravenswood Chicago, IL 60640", "zipcode"=>"60640", "cuisine"=>"Italian", "longitude"=>-87.6756478}])
sleep 2
Restaurant.create!([{ "yelp_id"=>"garcias-restaurant-chicago", "name"=>"<NAME>", "display_phone"=>"+1-773-769-5600", "address"=>"4760 N Lincoln Ave Ravenswood Chicago, IL 60625", "zipcode"=>"60625", "cuisine"=>"Mexican", "latitude"=>41.9680505, "longitude"=>-87.688395}, { "yelp_id"=>"pleasant-house-bakery-chicago", "name"=>"Pleasant House Bakery", "display_phone"=>"+1-773-523-7437", "address"=>"964 W 31st St Bridgeport Chicago, IL 60608", "zipcode"=>"60608", "cuisine"=>"British", "latitude"=>41.8380794, "longitude"=>-87.6512529}])
sleep 2
Restaurant.create!([{ "yelp_id"=>"bistro-campagne-chicago", "name"=>"<NAME>", "display_phone"=>"+1-773-271-6100", "address"=>"4518 N Lincoln Ave Ravenswood Chicago, IL 60625", "zipcode"=>"60625", "cuisine"=>"French", "latitude"=>41.9636449, "longitude"=>-87.685632}, { "yelp_id"=>"southport-grocery-and-cafe-chicago", "name"=>"Southport Grocery & Cafe", "display_phone"=>"+1-773-665-0100", "address"=>"3552 N Southport Ave Lakeview Chicago, IL 60657", "zipcode"=>"60657", "cuisine"=>"Breakfast & Brunch", "latitude"=>41.946743, "longitude"=>-87.664357}, { "yelp_id"=>"the-boiler-room-chicago-2", "name"=>"The Boiler Room", "display_phone"=>"+1-773-276-5625", "address"=>"2210 N California Ave Logan Square Chicago, IL 60647", "zipcode"=>"60647", "cuisine"=>"Pizza", "latitude"=>41.9220745, "longitude"=>-87.6976054}])

Restaurant.all.each do |restaurant|
  rand(2..4).times do |i|
    min_group_size = rand(2..4)
    max_group_size = rand(5..10)
    Promotion.create!(name: "Promo#{i}",
                       min_group_size: min_group_size,
                       max_group_size: max_group_size,
{'fraction_non_alphanumeric': 0.24922422200549693, 'fraction_numerical': 0.1482400922067559, 'mean_word_length': 7.717156105100464, 'pattern_counts': {'":': 0, '<': 26, '<?xml version=': 0, '>': 344, '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': '3650988', 'n_tokens_mistral': 5615, 'n_tokens_neox': 4509, 'n_words': 762}