<commit_before>class LodgingClass < ActiveRecord::Base
  set_primary_key :name
  
  has_many :lodgings
  
  data_miner do
    tap "Brighter Planet's lodging class data", Earth.taps_server
  end
  
  # FIXME TODO need reall emission_factor
  falls_back_on :emission_factor => 1.0
end
<commit_msg>Real fallback emission factor for lodging_class<commit_after>class LodgingClass < ActiveRecord::Base
  set_primary_key :name
  
  has_many :lodgings
  
  data_miner do
    tap "Brighter Planet's lodging class data", Earth.taps_server
  end
  
  # based on science/emitters/lodging/lodging_classes.xls
  falls_back_on :emission_factor => 20.976.pounds.to(:kilograms)
end

{'fraction_non_alphanumeric': 0.06766917293233082, 'fraction_numerical': 0.010526315789473684, 'mean_word_length': 4.459016393442623, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6598301', 'n_tokens_mistral': 244, 'n_tokens_neox': 229, 'n_words': 55}