<commit_before>from __future__ import absolute_import, unicode_literals, division, print_function

from . import model_base
from .dynamicdq import dynamic_mask

__all__ = ['LastFrameModel']


class LastFrameModel(model_base.DataModel):
    """
    A data model for Last frame correction reference files.
    """
    schema_url = "lastframe.schema.json"

    def __init__(self, init=None, data=None, dq=None, err=None,
                 dq_def=None, **kwargs):
        super(LastFrameModel, self).__init__(init=init, **kwargs)

        if data is not None:
            self.data = data

        if dq is not None:
            self.dq = dq

        if err is not None:
            self.err = err

        if dq_def is not None:
            self.dq_def = dq_def

        self.dq = dynamic_mask(self)

        x# Implicitly create arrays
        self.dq = self.dq
        self.err = self.err<commit_msg>Fixed a typo in lastframe model.<commit_after>from __future__ import absolute_import, unicode_literals, division, print_function

from . import model_base
from .dynamicdq import dynamic_mask

__all__ = ['LastFrameModel']


class LastFrameModel(model_base.DataModel):
    """
    A data model for Last frame correction reference files.
    """
    schema_url = "lastframe.schema.json"

    def __init__(self, init=None, data=None, dq=None, err=None,
                 dq_def=None, **kwargs):
        super(LastFrameModel, self).__init__(init=init, **kwargs)

        if data is not None:
            self.data = data

        if dq is not None:
            self.dq = dq

        if err is not None:
            self.err = err

        if dq_def is not None:
            self.dq_def = dq_def

        self.dq = dynamic_mask(self)

        # Implicitly create arrays
        self.dq = self.dq
        self.err = self.err
{'fraction_non_alphanumeric': 0.08654906284454245, 'fraction_numerical': 0.0, 'mean_word_length': 2.2820976491862566, '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': '5690236', 'n_tokens_mistral': 571, 'n_tokens_neox': 538, 'n_words': 159}