<commit_before>#!/usr/bin/python3
# -*- coding: utf-8 -*-

"""
SDF math utilities.

author: <NAME>

"""

from fractions import gcd
from functools import reduce


def lcm(numbers):
    return reduce(lambda x, y: (x * y) // gcd(x, y), numbers, 1)<commit_msg>no using gcd from math instead of fractions since it has became depricated.<commit_after>#!/usr/bin/python3
# -*- coding: utf-8 -*-

"""
SDF math utilities.

author: <NAME>

"""

from math import gcd
from functools import reduce


def lcm(numbers):
    return reduce(lambda x, y: (x * y) // gcd(x, y), numbers, 1)
{'fraction_non_alphanumeric': 0.15641476274165203, 'fraction_numerical': 0.01054481546572935, 'mean_word_length': 3.596774193548387, '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': '4060171', 'n_tokens_mistral': 214, 'n_tokens_neox': 200, 'n_words': 67}