<commit_before># floor belonging to a building
class Floor < ApplicationRecord
  has_many :places, as: :compartment
  belongs_to :shelter_building
end<commit_msg>add case_type to floor<commit_after># floor belonging to a building
class Floor < ApplicationRecord
  has_many :places, as: :compartment
  belongs_to :shelter_building
  belongs_to :case_type

  def case_type
    self.case_type || shelter_building.case_type
  end
end
{'fraction_non_alphanumeric': 0.05827505827505827, 'fraction_numerical': 0.0, 'mean_word_length': 5.615384615384615, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '1852752', 'n_tokens_mistral': 136, 'n_tokens_neox': 135, 'n_words': 41}