<commit_before>"""
File containing the BaseDataAnalyis class.
"""
import os
import numpy as np
from collections import OrderedDict
from matplotlib import pyplot as plt
import matplotlib as mpl
from pycqed.analysis import analysis_toolbox as a_tools
import json
import lmfit
import h5py
from pycqed.measurement.hdf5_data import read_dict_from_hdf5
from pycqed.analysis_v3 import helper_functions as help_func_mod
from pycqed.analysis_v3 import data_processing as dat_proc
from pycqed.analysis_v3 import fitting as fit_module
from pycqed.analysis_v3 import plotting as plot_module
import copy
import logging
log = logging.getLogger()
log.addHandler(logging.StreamHandler())


class BaseDataAnalysis(object):
    """<commit_msg>Renames BaseDataAnalysis class to PipeDataAnalysis.<commit_after>"""
File containing the BaseDataAnalyis class.
"""
import os
import numpy as np
from collections import OrderedDict
from matplotlib import pyplot as plt
import matplotlib as mpl
from pycqed.analysis import analysis_toolbox as a_tools
import json
import lmfit
import h5py
from pycqed.measurement.hdf5_data import read_dict_from_hdf5
from pycqed.analysis_v3 import helper_functions as help_func_mod
from pycqed.analysis_v3 import data_processing as dat_proc
from pycqed.analysis_v3 import fitting as fit_module
from pycqed.analysis_v3 import plotting as plot_module
import copy
import logging
log = logging.getLogger()
log.addHandler(logging.StreamHandler())


class PipeDataAnalysis(object):
    """
{'fraction_non_alphanumeric': 0.04502688172043011, 'fraction_numerical': 0.009408602150537635, 'mean_word_length': 6.675257731958763, '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': '3728623', 'n_tokens_mistral': 445, 'n_tokens_neox': 453, 'n_words': 154}