<commit_before># Copyright 2007-2009 <NAME>
#
# This file is part of Reinteract and distributed under the terms
# of the BSD license. See the file COPYING in the Reinteract
# distribution for full details.
#
########################################################################

import traceback

from change_range import ChangeRange
from statement import Statement, WarningResult
from tokenized_statement import TokenizedStatement;

class Chunk(object):

    """
    A chunk is a series of consecutive lines in a Worksheet treated as a unit.
    The Chunk class is a base class for different types of chunks. It contains
    basic functionality for tracking a [start,end) range, and tracking what
    lines withinthe chunk have changed.
    """

    def __init__(self, start=-1, end=-1):
        self.start = start<commit_msg>chunks.py: removed some unused imports<commit_after># Copyright 2007-2009 <NAME>
#
# This file is part of Reinteract and distributed under the terms
# of the BSD license. See the file COPYING in the Reinteract
# distribution for full details.
#
########################################################################

from change_range import ChangeRange
from statement import Statement
from tokenized_statement import TokenizedStatement;

class Chunk(object):

    """
    A chunk is a series of consecutive lines in a Worksheet treated as a unit.
    The Chunk class is a base class for different types of chunks. It contains
    basic functionality for tracking a [start,end) range, and tracking what
    lines withinthe chunk have changed.
    """

    def __init__(self, start=-1, end=-1):
        self.start = start
{'fraction_non_alphanumeric': 0.13983050847457626, 'fraction_numerical': 0.012106537530266344, 'mean_word_length': 4.298076923076923, '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': '4705355', 'n_tokens_mistral': 418, 'n_tokens_neox': 394, 'n_words': 194}