<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)

# Rooms have correspondant id in facts.lp !!
Room.create(:id => 1, :name => "0.02", :capacity => 32)
Room.create(:id => 2, :name => "0.03", :capacity => 32)
Room.create(:id => 3, :name => "0.04", :capacity => 32)
Room.create(:id => 4, :name => "1.02", :capacity => 32)
Room.create(:id => 5, :name => "1.03", :capacity => 32)
Room.create(:id => 6, :name => "2.01", :capacity => 16)
Room.create(:id => 7, :name => "2.14", :capacity => 12)
h01 = Room.create(:id => 8, :name => "H01",  :capacity =>100)

#Weekdays have correspondant predicates in encoding with corresponding ids!
monday = Weekday.create(:id => 0, :name => "Montag")
Weekday.create(:id => 1, :name => "Dienstag" )
Weekday.create(:id => 2, :name => "Mittwoch" )
Weekday.create(:id => 3, :name => "Donnerstag" )
Weekday.create(:id => 4, :name => "Freitag" )

#Timeframes have correspondant predicates in encoding with corresponding ids!
eight_o_clock = Timeframe.create(:id => 0, :interval => "08:00 - 10:00 ")
Timeframe.create(:id => 1, :interval => "10:00 - 12:00" )
Timeframe.create(:id => 2, :interval => "12:00 - 14:00" )
Timeframe.create(:id => 3, :interval => "14:00 - 16:00" )
Timeframe.create(:id => 4, :interval => "16:00 - 18:00" )
Timeframe.create(:id => 5, :interval => "18:00 - 20:00" )
Timeframe.create(:id => 6, :interval => "20:00 - 22:00" )

schaub         =  Teacher.create(:id => 0,  :first_name => "Torsten",   :surname =>"Schaub")
romero         =  Teacher.create(:id => 1,  :first_name => "Javier",    :surname =>"Romero")<commit_msg>removed timeframe 20:00 - 22:00<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)

# Rooms have correspondant id in facts.lp !!
Room.create(:id => 1, :name => "0.02", :capacity => 32)
Room.create(:id => 2, :name => "0.03", :capacity => 32)
Room.create(:id => 3, :name => "0.04", :capacity => 32)
Room.create(:id => 4, :name => "1.02", :capacity => 32)
Room.create(:id => 5, :name => "1.03", :capacity => 32)
Room.create(:id => 6, :name => "2.01", :capacity => 16)
Room.create(:id => 7, :name => "2.14", :capacity => 12)
h01 = Room.create(:id => 8, :name => "H01",  :capacity =>100)

#Weekdays have correspondant predicates in encoding with corresponding ids!
monday = Weekday.create(:id => 0, :name => "Montag")
Weekday.create(:id => 1, :name => "Dienstag" )
Weekday.create(:id => 2, :name => "Mittwoch" )
Weekday.create(:id => 3, :name => "Donnerstag" )
Weekday.create(:id => 4, :name => "Freitag" )

#Timeframes have correspondant predicates in encoding with corresponding ids!
eight_o_clock = Timeframe.create(:id => 0, :interval => "08:00 - 10:00 ")
Timeframe.create(:id => 1, :interval => "10:00 - 12:00" )
Timeframe.create(:id => 2, :interval => "12:00 - 14:00" )
Timeframe.create(:id => 3, :interval => "14:00 - 16:00" )
Timeframe.create(:id => 4, :interval => "16:00 - 18:00" )
Timeframe.create(:id => 5, :interval => "18:00 - 20:00" )

schaub         =  Teacher.create(:id => 0,  :first_name => "Torsten",   :surname =>"Schaub")
romero         =  Teacher.create(:id => 1,  :first_name => "Javier",    :surname =>"Romero")
{'fraction_non_alphanumeric': 0.20797413793103448, 'fraction_numerical': 0.06438577586206896, 'mean_word_length': 4.327116212338594, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 109, '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': '310831', 'n_tokens_mistral': 1493, 'n_tokens_neox': 1323, 'n_words': 377}