<commit_before>require 'data_miner'

module BrighterPlanet
  module Flight
    module Data
      def self.included(base)
        base.data_miner do
          schema do
            string   'origin_airport_id'
            string   'destination_airport_id'
            integer  'trips'
            integer  'emplanements_per_trip'
            float    'distance_estimate'
            string   'distance_class_id'
            string   'aircraft_id'
            string   'aircraft_class_id'
            string   'propulsion_id'
            string   'fuel_type_id'
            string   'airline_id'
            string   'seat_class_id'
            integer  'seats_estimate'
            float    'load_factor'
            date     'date'
            integer  'year'
            time     'time_of_day'
          end
          
          process :run_data_miner_on_belongs_to_associations
        end
      end
    end
  end
end<commit_msg>Make order in data.rb match characteristics.rb<commit_after>require 'data_miner'

module BrighterPlanet
  module Flight
    module Data
      def self.included(base)
        base.data_miner do
          schema do
            float   'aviation_multiplier'
            float   'distance_estimate'
            string  'distance_class_name'
            string  'fuel_type_name'
            integer 'seats_estimate'
            float   'load_factor'
            integer 'trips'
            string  'seat_class_name'
            string  'country_iso_3166_code'
            date    'date'
            string  'origin_airport_id'
            string  'destination_airport_id'
            string  'aircraft_icao_code'
            string  'aircraft_class_brighter_planet_aircraft_class_code'
            string  'airline_iata_code'
            integer 'segments_per_trip'
            float   'dogleg_factor'
          end
          
          process :run_data_miner_on_belongs_to_associations
        end
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.04605936540429888, 'fraction_numerical': 0.0020470829068577278, 'mean_word_length': 1.6066666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?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': '464833', 'n_tokens_mistral': 572, 'n_tokens_neox': 564, 'n_words': 116}