<commit_before><commit_msg>solution added<commit_after>@fibonacci = [nil, 1, 1] # prevents 0th fibonacci

def fibonacci(number)
  return 1 if number == 1 or number == 2
  return @fibonacci[number] if @fibonacci[number]
  @fibonacci[number] = fibonacci(number-1) + fibonacci(number-2)
  @fibonacci[number]
end

fibonacci(100)

p @fibonacci
{'fraction_non_alphanumeric': 0.1242603550295858, 'fraction_numerical': 0.03254437869822485, 'mean_word_length': 5.918367346938775, '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': '1458158', 'n_tokens_mistral': 143, 'n_tokens_neox': 127, 'n_words': 30}