<commit_before>require 'yaml'

class Ziptz
  VERSION = '2.0.14'.freeze

  TZ_INFO = {
    '0' => {name: 'APO/FPO (time zone unknown)', offset: 0},
    '4' => {name: 'America/Puerto_Rico', offset: -4},
    '5' => {name: 'America/New_York', offset: -5},
    '6' => {name: 'America/Chicago', offset: -6},
    '7' => {name: 'America/Denver', offset: -7},
    '8' => {name: 'America/Los_Angeles', offset: -8},
    '9' => {name: 'America/Anchorage', offset: -9},
    '10' => {name: 'Pacific/Honolulu', offset: -10},
    '11' => {name: 'Pacific/Pago_Pago', offset: -11},
    '13' => {name: 'Pacific/Majuro', offset: 12},
    '14' => {name: 'Pacific/Guam', offset: 10},
    '15' => {name: 'Pacific/Palau', offset: 9},
    '16' => {name: 'Pacific/Pohnpei', offset: 11}
  }.freeze

  def time_zone_name(zip)
    hash = time_zone_info(zip)
    hash && hash[:name]
  end
<commit_msg>bump version to 2.0.15<commit_after>require 'yaml'

class Ziptz
  VERSION = '2.0.15'.freeze

  TZ_INFO = {
    '0' => {name: 'APO/FPO (time zone unknown)', offset: 0},
    '4' => {name: 'America/Puerto_Rico', offset: -4},
    '5' => {name: 'America/New_York', offset: -5},
    '6' => {name: 'America/Chicago', offset: -6},
    '7' => {name: 'America/Denver', offset: -7},
    '8' => {name: 'America/Los_Angeles', offset: -8},
    '9' => {name: 'America/Anchorage', offset: -9},
    '10' => {name: 'Pacific/Honolulu', offset: -10},
    '11' => {name: 'Pacific/Pago_Pago', offset: -11},
    '13' => {name: 'Pacific/Majuro', offset: 12},
    '14' => {name: 'Pacific/Guam', offset: 10},
    '15' => {name: 'Pacific/Palau', offset: 9},
    '16' => {name: 'Pacific/Pohnpei', offset: 11}
  }.freeze

  def time_zone_name(zip)
    hash = time_zone_info(zip)
    hash && hash[:name]
  end

{'fraction_non_alphanumeric': 0.23300970873786409, 'fraction_numerical': 0.04911479154768703, 'mean_word_length': 3.3366336633663365, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 29, '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': '1488240', 'n_tokens_mistral': 787, 'n_tokens_neox': 708, 'n_words': 169}