<commit_before>#!/usr/bin/python
"""Process the output of the power allocator's PI controller in the current directory's trace.dat"""

import pandas as pd
from thermal import BaseThermal

class PIController(BaseThermal):
    def __init__(self, path=None):
        super(PIController, self).__init__(
            basepath=path,
            unique_word="thermal_power_allocator_pi",
        )<commit_msg>pi_controller: fix pylint complaints<commit_after>#!/usr/bin/python
"""Process the output of the power allocator's PI controller in the
current directory's trace.dat"""

from thermal import BaseThermal

class PIController(BaseThermal):
    """Process the power allocator PI controller data in a ftrace dump"""
    def __init__(self, path=None):
        super(PIController, self).__init__(
            basepath=path,
            unique_word="thermal_power_allocator_pi",
        )
{'fraction_non_alphanumeric': 0.09194097616345062, 'fraction_numerical': 0.0, 'mean_word_length': 3.8729281767955803, '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': '1161377', 'n_tokens_mistral': 253, 'n_tokens_neox': 245, 'n_words': 74}