<commit_before>"""Definitions for the `Likelihood` class."""
from collections import OrderedDict
from math import isnan

import numpy as np
from six import string_types

from mosfit.constants import ANG_CGS, C_CGS, LIKELIHOOD_FLOOR
from mosfit.modules.module import Module
from mosfit.utils import flux_density_unit


# Important: Only define one ``Module`` class per file.


class Likelihood(Module):
    """Calculate the maximum likelihood score for a model."""

    MIN_COV_TERM = 1.0e-30

    def process(self, **kwargs):<commit_msg>BUG: `Kernel` wasn't named correctly<commit_after>"""Definitions for the `Kernel` class."""
from collections import OrderedDict
from math import isnan

import numpy as np
from six import string_types

from mosfit.constants import ANG_CGS, C_CGS
from mosfit.modules.module import Module
from mosfit.utils import flux_density_unit


# Important: Only define one ``Module`` class per file.


class Kernel(Module):
    """Calculate the maximum likelihood score for a model."""

    MIN_COV_TERM = 1.0e-30

    def process(self, **kwargs):
{'fraction_non_alphanumeric': 0.08496732026143791, 'fraction_numerical': 0.007469654528478058, 'mean_word_length': 4.955555555555556, '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': '3081734', 'n_tokens_mistral': 329, 'n_tokens_neox': 310, 'n_words': 118}