<commit_before>module DatasetAnalyzer
  ANALYZERS = [
    ElectricityConsumption,
    Lighting,
    Appliances,
    GasConsumption,
    Cooking,
    Cooling,
    WaterHeater,
    SpaceHeater,
    RoofSurfaceAvailableForPV,
    Transport,
    Buildings,
    Industry,
    EnergySector,
    NullAttributes,
    ToAtlasAttribute
  ].freeze

  # Overall analyze method. Analyzes a set of attributes to initializer
  # inputs and a set of values needed to create a dataset.
  #
  # Arguments:
  # - dataset       = Atlas::Dataset::Derived
  # - dataset_edits = Hash[<key> => Float]
  #
  def self.analyze(dataset, dataset_edits)<commit_msg>Adding agriculture to the analyzes<commit_after>module DatasetAnalyzer
  ANALYZERS = [
    ElectricityConsumption,
    Lighting,
    Appliances,
    GasConsumption,
    Cooking,
    Cooling,
    WaterHeater,
    SpaceHeater,
    RoofSurfaceAvailableForPV,
    Transport,
    Buildings,
    Industry,
    Agriculture,
    EnergySector,
    NullAttributes,
    ToAtlasAttribute
  ].freeze

  # Overall analyze method. Analyzes a set of attributes to initializer
  # inputs and a set of values needed to create a dataset.
  #
  # Arguments:
  # - dataset       = Atlas::Dataset::Derived
  # - dataset_edits = Hash[<key> => Float]
  #
  def self.analyze(dataset, dataset_edits)
{'fraction_non_alphanumeric': 0.07568807339449542, 'fraction_numerical': 0.0, 'mean_word_length': 3.090625, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '7127398', 'n_tokens_mistral': 418, 'n_tokens_neox': 412, 'n_words': 102}