<commit_before>#private String code;
#private Float latitude;
#private Float longitude;
class GeocoderResponse < Struct.new(:code, :latitude, :longitude)
  include HashedInitializer
  def self.from_json(json)
    arr = []
    json.each do |geocode|
      arr << self.new(geocode)
    end
    arr
  end
end
<commit_msg>Geocoder change logic and write spec for that<commit_after>#private String code;
#private Float latitude;
#private Float longitude;
class GeocoderResponse < Struct.new(:code, :latitude, :longitude)
  def self.from_array(array)
     array.collect do |geocode|
      self.new(geocode)
    end
  end
end

{'fraction_non_alphanumeric': 0.09531502423263329, 'fraction_numerical': 0.0, 'mean_word_length': 4.2100840336134455, 'pattern_counts': {'":': 0, '<': 7, '<?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': '4107969', 'n_tokens_mistral': 205, 'n_tokens_neox': 200, 'n_words': 58}