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

"""Storage Model.

This is Storage Model of Kagisys
"""

import os


class StorageModel():
    """StorageModel for Kagisys."""

    def __init__(self):
        """Set file name."""
        self.file_name = "kagisys.toggle"

        """Move directry"""
        path = "/home/pi/project/neo_kagisys/"
        os.chdir(path)

    def update_file(self, data):
        """Update file to set data."""
        file_ = open(self.file_name, 'w')
        file_.write(data)
        file_.close()<commit_msg>[fix] update from neo_kagisys to kagisys_logic in file path<commit_after># -*- coding: utf-8 -*-

"""Storage Model.

This is Storage Model of Kagisys
"""

import os


class StorageModel():
    """StorageModel for Kagisys."""

    def __init__(self):
        """Set file name."""
        self.file_name = "kagisys.toggle"

        """Move directry"""
        path = "/home/pi/project/kagisys_logic/"
        os.chdir(path)

    def update_file(self, data):
        """Update file to set data."""
        file_ = open(self.file_name, 'w')
        file_.write(data)
        file_.close()
{'fraction_non_alphanumeric': 0.15357142857142858, 'fraction_numerical': 0.0017857142857142857, 'mean_word_length': 2.407294832826748, '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': '5368349', 'n_tokens_mistral': 374, 'n_tokens_neox': 361, 'n_words': 93}