<commit_before># Leap Years

# I worked on this challenge [by myself, with: ].


# Your Solution Below<commit_msg>leap year<commit_after># Leap Years

# I worked on this challenge [by myself, with: ].


# Your Solution Below
def leap_year?(year)
   if (year % 4 == 0) && ((year % 100 == 0) && (year % 400 == 0))
      return true
   elsif (year % 4 == 0) && (year % 100 != 0)
      return true
    else
      false
    end
  end


{'fraction_non_alphanumeric': 0.13488372093023257, 'fraction_numerical': 0.037209302325581395, 'mean_word_length': 2.652542372881356, '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': '4885929', 'n_tokens_mistral': 164, 'n_tokens_neox': 145, 'n_words': 55}