<commit_before>import configparser
import os


class Controller(object):
    """A controller class for getting and setting key/value pairs in the config file
    """

    section_default = 'BunqAPI'

    def __init__(self):
        """Create an instance of a config controller for getting and setting information
        """

        self.path = os.path.dirname(os.path.realpath(__file__)) + \
                    '/ignore/parameters.ini'
        self.parser = configparser.ConfigParser()
        self.parser.read(self.path)

    def get(self, name, section=section_default):
        """Returns a value with a given name from the configuration file."""
        try:
            return self.parser[section][name]
        except KeyError:
            return None

    def set(self, name, val, section=section_default):<commit_msg>Changed config/controller back to production config<commit_after>import configparser
import os


class Controller(object):
    """A controller class for getting and setting key/value pairs in the config file
    """

    section_default = 'BunqAPI'

    def __init__(self):
        """Create an instance of a config controller for getting and setting information
        """

        self.path = os.path.dirname(os.path.realpath(__file__)) + \
                    '/parameters.ini'
        self.parser = configparser.ConfigParser()
        self.parser.read(self.path)

    def get(self, name, section=section_default):
        """Returns a value with a given name from the configuration file."""
        try:
            return self.parser[section][name]
        except KeyError:
            return None

    def set(self, name, val, section=section_default):
{'fraction_non_alphanumeric': 0.0936573799644339, 'fraction_numerical': 0.0, 'mean_word_length': 2.6223175965665235, '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': '3352251', 'n_tokens_mistral': 438, 'n_tokens_neox': 423, 'n_words': 140}