<commit_before>#-*- encoding: utf-8
import os
import json
from helpers import *

class Config:
    def __init__(self, parent):
        self.parent = parent
        self.filename = ".suplemon-config.json"
        self.fpath = os.path.expanduser("~")
        #self.fpath = os.path.dirname(os.path.realpath(__file__))
        self.defaults = {
            "app": {
                "remember_open_files": False,
                "debug": False,
            },
            "editor": {
                "auto_indent_newline": True,
                "cursor": "reverse", # reverse or underline
                "default_encoding": "utf-8",
                "max_history": 20,
                "tab_width": 4,
                "punctuation": " (){}[]'\"=+-/*.:,;_", # for jumping between words
            },
            "display": {
                "show_top_bar": True,
                "show_app_name": True,
                "show_clock": True,
                "show_file_list": True,
                "show_legend": False,
                "show_bottom_bar": True,
                "show_line_nums": True,
                "show_line_colors": True,
                "line_end_char": "",
                "show_highlighting": False,
                "show_last_key": True,
                "show_term_size": True
            },
        }

        self.config = dict(self.defaults)

    def log(self, s):
        self.parent.status(s)

    def err(self, s):
        self.parent.logger.log(s)

    def path(self):<commit_msg>Modified default values in config.<commit_after>#-*- encoding: utf-8
import os
import json
from helpers import *

class Config:
    def __init__(self, parent):
        self.parent = parent
        self.filename = ".suplemon-config.json"
        self.fpath = os.path.expanduser("~")
        #self.fpath = os.path.dirname(os.path.realpath(__file__))
        self.defaults = {
            "app": {
                "remember_open_files": False,
                "debug": False,
            },
            "editor": {
                "auto_indent_newline": True,
                "cursor": "reverse", # reverse or underline
                "default_encoding": "utf-8",
                "max_history": 20,
                "tab_width": 4,
                "punctuation": " (){}[]'\"=+-/*.:,;_", # for jumping between words
            },
            "display": {
                "show_top_bar": True,
                "show_app_name": True,
                "show_clock": True,
                "show_file_list": True,
                "show_legend": False,
                "show_bottom_bar": True,
                "show_line_nums": True,
                "show_line_colors": True,
                "line_end_char": "",
                "show_highlighting": False,
                "show_last_key": False,
                "show_term_size": False
            },
        }

        self.config = dict(self.defaults)

    def log(self, s):
        self.parent.status(s)

    def err(self, s):
        self.parent.logger.log(s)

    def path(self):
{'fraction_non_alphanumeric': 0.13181367690782952, 'fraction_numerical': 0.003303600925008259, 'mean_word_length': 1.4419354838709677, 'pattern_counts': {'":': 46, '<': 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': '7601633', 'n_tokens_mistral': 917, 'n_tokens_neox': 856, 'n_words': 171}