<commit_before><<~DOC
  Use reduce to get the sum of an array
DOC

a = [1, 2, 3]
a.reduce :+ # => 6
<commit_msg>Use reduce to compute factorials<commit_after># Use reduce to get the sum of an array
a = [1, 2, 3]
a.reduce :+ # => 6

# Use reduce to get the factorial of a number
(1..n).reduce(1, :*)

{'fraction_non_alphanumeric': 0.14381270903010032, 'fraction_numerical': 0.033444816053511704, 'mean_word_length': 3.4776119402985075, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3477276', 'n_tokens_mistral': 122, 'n_tokens_neox': 113, 'n_words': 47}