<commit_before># -*- coding: utf-8 -*-

# Copyright (c) Metakernel Development Team.
# Distributed under the terms of the Modified BSD License.


from metakernel import Magic
from IPython.display import HTML, Javascript

class DebugMagic(Magic):

    def cell_debug(self):
        """
        %%debug - step through the code expression by expression<commit_msg>workaround for %%debug: add a dummy parameter<commit_after># -*- coding: utf-8 -*-

# Copyright (c) Metakernel Development Team.
# Distributed under the terms of the Modified BSD License.


from metakernel import Magic
from IPython.display import HTML, Javascript

class DebugMagic(Magic):

    def cell_debug(self, dummy):
        """
        %%debug - step through the code expression by expression
{'fraction_non_alphanumeric': 0.08935611038107753, 'fraction_numerical': 0.002628120893561104, 'mean_word_length': 3.7037037037037037, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5878233', 'n_tokens_mistral': 215, 'n_tokens_neox': 195, 'n_words': 82}